-
Notifications
You must be signed in to change notification settings - Fork 66
Exception on first run... #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks I will investigate that. The error seems to come from the Shrinkwrap
sub component.
If you have the possibility to send me the 10 pom files, that would be
wonderful, I can send you my email if you need
Le mer. 26 juil. 2017 à 20:04, Steve Horne <notifications@github.com> a
écrit :
… Problem with first run...
I am getting an exception shown below. Any help would be appreciated.
connected to the server.
X
Hello ! This is the beta version of POM Explorer ...
Have fun !
The official repository is here : https://github.com/ltearno/pom-explorer
Creating your session
Session created and registered. It has been attached to your profile
Analyzing the default directory
X
analyze directory d:\sigdev\dst-utils
Analyzing directory 'd:\sigdev\dst-utils'...
possible options: verbose, nofetch, offline, profiles
analyzing 'd:\sigdev\dst-utils'
Pom Analysis ready!
adding directory 'd:\sigdev\dst-utils'
found 10 pom files
loading pom files
loaded 10 projects
completing loaded projects
Error when interpreting command 'analyze directory d:\sigdev\dst-utils'
Command class : AnalyzeCommand
Command method : directory
Argument : class: fr.lteconsulting.pomexplorer.commands.CommandOptions toString : ***@***.***
Argument : class: fr.lteconsulting.pomexplorer.Client toString : ***@***.***
Argument : class: fr.lteconsulting.pomexplorer.ApplicationSession toString : ***@***.***
Argument : class: fr.lteconsulting.pomexplorer.AppFactory$2 toString : ***@***.***
Argument : class: java.lang.String toString : d:\sigdev\dst-utils
org.jboss.shrinkwrap.resolver.api.Invokable$InvocationException: Unable to invoke ***@***.***) on object org.jboss.shrinkwrap.resolver.spi.loader.ServiceRegistry with parameters ***@***.***
org.jboss.shrinkwrap.resolver.api.Invokable.invokeMethod(Invokable.java:108)
org.jboss.shrinkwrap.resolver.api.ResolverSystemFactory.createFromUserView(ResolverSystemFactory.java:91)
org.jboss.shrinkwrap.resolver.api.ResolverSystemFactory.createFromUserView(ResolverSystemFactory.java:53)
org.jboss.shrinkwrap.resolver.api.Resolvers.use(Resolvers.java:68)
org.jboss.shrinkwrap.resolver.api.maven.Maven.resolver(Maven.java:36)
fr.lteconsulting.pomexplorer.MavenResolver.init(MavenResolver.java:51)
fr.lteconsulting.pomexplorer.Session.mavenResolver(Session.java:51)
fr.lteconsulting.pomexplorer.DefaultPomFileLoader.loadPomFileForGav(DefaultPomFileLoader.java:26)
fr.lteconsulting.pomexplorer.PomAnalysis.loadAndCheckProject(PomAnalysis.java:373)
fr.lteconsulting.pomexplorer.PomAnalysis.processProjectForCompleteness(PomAnalysis.java:334)
fr.lteconsulting.pomexplorer.PomAnalysis.completeLoadedProjects(PomAnalysis.java:228)
fr.lteconsulting.pomexplorer.PomAnalysis.runFullRecursiveAnalysis(PomAnalysis.java:71)
fr.lteconsulting.pomexplorer.commands.AnalyzeCommand.directory(AnalyzeCommand.java:29)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
fr.lteconsulting.pomexplorer.commands.Commands.takeCommand(Commands.java:251)
fr.lteconsulting.pomexplorer.AppFactory$1.onWebsocketMessage(AppFactory.java:169)
fr.lteconsulting.pomexplorer.webserver.WebServer$2$1.lambda$onFullTextMessage$0(WebServer.java:145)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#37>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALqXU3SGdf-Gs-0fgpuN56AbVHg7FM5ks5sR3-YgaJpZM4OkR9J>
.
|
I just investigated a bit more your stack trace. The problem comes from ShrinkWrap which is a 3rd party lib I use to link to the Maven system. The library seems to have difficulties to initialize. This might be due to it not finding your maven configuration file. Can you please type the following line before entering the
I suspect that ShrinkWrap does not find your configuration but not 100% sure. Meanwhile I have added some more logging when an exception occurs. So could you please pull the latest changes from the master branch, compile it again and run it again, and send me the stack trace (it should this time include root cause exceptions). Thanks |
Thanks for your quick response! I pulled from master and rebuilt the application. The stack trace is similar, it is shown below. Another point to mention is that I am behind a corporate proxy server. I have a local proxy that does authentication (cntlm), so I am running the server like this:
|
An update to my issue- it has been solved by adding a
|
That's fantastic! I thought I'd had a hard time reproducing the bug :)
How did you find out?
Le mer. 2 août 2017 à 16:13, Steve Horne <notifications@github.com> a
écrit :
… An update to my issue- it has been solved by adding a
settings-security.xml file alongside the maven settings.xml as follows:
<settingsSecurity>
</settingsSecurity>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALqXWdcdh0GZHIHJ56FEQKLCZJM-QTcks5sUIQKgaJpZM4OkR9J>
.
|
Since I saw |
Clever. I will look around the documented purpose of this file. If
possible, add a message in pom explorer for other users.
Le mer. 2 août 2017 à 17:06, Steve Horne <notifications@github.com> a
écrit :
… Since I saw Unable to get security configuration from
C:\Users\shorne2\.m2\settings-security.xml. in the stack trace, I thought
I would give it a try. Seems that settings-security.xml is required, even
if you don't need it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALqXW1AFg2nKjFhzPm0Tfaiqli9Qqfwks5sUJCFgaJpZM4OkR9J>
.
|
Problem with first run...
I am getting an exception shown below. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: