-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Jenkins 1.536, git client plugin 1.4.3, git plugin1.5.0; git and gitweb 1.8.1.4; openSUSE Linux 12.3 x86_64
After updating Jenkins and its plugins to the current versions, choosing "Save" in a project configuration fails with the attached StackTrace.
The main reason seems that the URL for the gitweb browser is not accepted anymore. If you just look at the last 30 lines of the stack trace:
Caused by: java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.git.browser.GitRepositoryBrowser from
{"stapler-class":"hudson.plugins.git.browser.GitWeb","url":"http://workstation.internal.domain/git/?p=Project.git"} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:589)
at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:400)
at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:684)
... 100 more
Caused by: java.lang.IllegalArgumentException: java.net.MalformedURLException
at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:462)
at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:392)
at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:363)
at hudson.plugins.git.browser.GitWeb$GitWebDescriptor.newInstance(GitWeb.java:88)
at hudson.plugins.git.browser.GitWeb$GitWebDescriptor.newInstance(GitWeb.java:80)
at hudson.model.Descriptor$1.instantiate(Descriptor.java:1046)
at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:665)
at org.kohsuke.stapler.RequestImpl.access$100(RequestImpl.java:81)
at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:587)
... 102 more
Caused by: java.net.MalformedURLException
at java.net.URL.<init>(URL.java:619)
at java.net.URL.<init>(URL.java:482)
at java.net.URL.<init>(URL.java:431)
at hudson.plugins.git.browser.GitWeb.<init>(GitWeb.java:28)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:447)
... 110 more
Caused by: java.lang.NullPointerException
It worked before and if I understand the gitweb stuff correctly, there is no other way to address a repository.
Please have a look and advice.
Thank you very much!
– Matthias
- duplicates
-
JENKINS-20123 Save ANY job configuration causes Git Plugin to throw NPE
- Closed
- is related to
-
JENKINS-20123 Save ANY job configuration causes Git Plugin to throw NPE
- Closed