[Issue 4760] New - Synchronizing Netbeans to Hudson fails

8 messages Options
Embed this post
Permalink
grimlock81

[Issue 4760] New - Synchronizing Netbeans to Hudson fails

Reply Threaded More More options
Print post
Permalink
https://hudson.dev.java.net/issues/show_bug.cgi?id=4760
                 Issue #|4760
                 Summary|Synchronizing Netbeans to Hudson fails
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|release
             Assigned to|petehayes
             Reported by|grimlock81






------- Additional comments from [hidden email] Tue Nov  3 06:42:29 +0000 2009 -------
After upgrading to version 1.331, we can no longer use Netbeans to connect to
our Hudson instance. hudson.out.log contains this exception:

[Winstone 2009/11/03 17:39:08] - Untrapped Error in Servlet
javax.servlet.ServletException:
org.kohsuke.stapler.export.NotExportableException: class hudson.scm.NullSCM
doesn't have @ExportedBean
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:505)
        at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:144)
        at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:493)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409)
        at org.kohsuke.stapler.Stapler.service(Stapler.java:118)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
        at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
        at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
        at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
        at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
        at
org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:38)
        at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
        at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
        at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
        at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
        at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
        at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
        at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
        at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:35)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
        at
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
        at
hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
        at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
        at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
        at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
        at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
        at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
        at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.kohsuke.stapler.export.NotExportableException: class
hudson.scm.NullSCM doesn't have @ExportedBean
        at org.kohsuke.stapler.export.Model.<init>(Model.java:44)
        at org.kohsuke.stapler.export.ModelBuilder.get(ModelBuilder.java:25)
        at org.kohsuke.stapler.export.Property.writeValue(Property.java:173)
        at org.kohsuke.stapler.export.Property.writeValue(Property.java:98)
        at org.kohsuke.stapler.export.Property.writeTo(Property.java:82)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:142)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:139)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:139)
        at org.kohsuke.stapler.export.Property.writeValue(Property.java:180)
        at org.kohsuke.stapler.export.Property.writeValue(Property.java:143)
        at org.kohsuke.stapler.export.Property.writeValue(Property.java:98)
        at org.kohsuke.stapler.export.Property.writeTo(Property.java:82)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:142)
        at org.kohsuke.stapler.export.Model.writeTo(Model.java:133)
        at hudson.model.Api.doXml(Api.java:94)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


We are still able to connect to the Hudson instance via a browser.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

jglick-2

[Issue 4760] Synchronizing Netbeans to Hudson fails

Reply Threaded More More options
Print post
Permalink
https://hudson.dev.java.net/issues/show_bug.cgi?id=4760



User jglick changed the following:

                What    |Old value                 |New value
================================================================================
                     URL|                          |https://hudson.dev.java.ne
                        |                          |t/servlets/ReadMsg?list=us
                        |                          |ers&msgNo=26802
--------------------------------------------------------------------------------
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Tue Nov  3 16:17:03 +0000 2009 -------
Ought to be fixed in 1.332, please confirm.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

scm_issue_link

[Issue 4760] Synchronizing Netbeans to Hudson fails

Reply Threaded More More options
Print post
Permalink
In reply to this post by grimlock81
https://hudson.dev.java.net/issues/show_bug.cgi?id=4760






------- Additional comments from [hidden email] Tue Nov  3 17:28:37 +0000 2009 -------
Code changed in hudson
User: : jglick
Path:
 trunk/hudson/main/core/src/main/java/hudson/scm/SCM.java
 trunk/hudson/main/test/src/test/java/hudson/model/ApiTest.java
http://fisheye4.cenqua.com/changelog/hudson/?cs=23458
Log:
[HUDSON-4760] Forward-porting 23427 to trunk (hotfix for SCM not being @ExportedBean).


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

jglick-2

[Issue 4760] Synchronizing Netbeans to Hudson fails

Reply Threaded More More options
Print post
Permalink
In reply to this post by grimlock81
https://hudson.dev.java.net/issues/show_bug.cgi?id=4760



User jglick changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|''                        |'kohsuke'
--------------------------------------------------------------------------------
                  Status|RESOLVED                  |REOPENED
--------------------------------------------------------------------------------
              Resolution|FIXED                     |
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Tue Nov  3 20:44:41 +0000 2009 -------
No, it's not... partly fixed but other issues remain.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

jglick-2

[Issue 4760] Synchronizing Netbeans to Hudson fails

Reply Threaded More More options
Print post
Permalink
In reply to this post by grimlock81
https://hudson.dev.java.net/issues/show_bug.cgi?id=4760



User jglick changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|REOPENED                  |STARTED
--------------------------------------------------------------------------------
                Priority|P3                        |P1
--------------------------------------------------------------------------------
              QA contact|petehayes                 |issues@hudson
--------------------------------------------------------------------------------
            Subcomponent|release                   |core
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Tue Nov  3 20:48:04 +0000 2009 -------
.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

scm_issue_link

[Issue 4760] Synchronizing Netbeans to Hudson fails

Reply Threaded More More options
Print post
Permalink
In reply to this post by grimlock81
https://hudson.dev.java.net/issues/show_bug.cgi?id=4760



User scm_issue_link changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|STARTED                   |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Tue Nov  3 20:48:21 +0000 2009 -------
Code changed in hudson
User: : jglick
Path:
 trunk/hudson/main/core/src/main/java/hudson/scm/RepositoryBrowser.java
 trunk/hudson/main/core/src/main/java/hudson/scm/SCM.java
 trunk/hudson/main/test/src/test/java/hudson/model/ApiTest.java
http://fisheye4.cenqua.com/changelog/hudson/?cs=23460
Log:
[FIXED HUDSON-4760] If you export a RepositoryBrowser, it needs to actually be exportable!
Otherwise get e.g.:
org.kohsuke.stapler.export.NotExportableException: class hudson.plugins.mercurial.browser.HgWeb doesn't have @ExportedBean
        at org.kohsuke.stapler.export.Model.<init>(Model.java:44)
        at org.kohsuke.stapler.export.ModelBuilder.get(ModelBuilder.java:25)
        at org.kohsuke.stapler.export.Property.writeValue(Property.java:173)
        at org.kohsuke.stapler.export.Property.writeValue(Property.java:98)
        at org.kohsuke.stapler.export.Property.writeTo(Property.java:82)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:142)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:139)
        at org.kohsuke.stapler.export.Property.writeValue(Property.java:180)
        at org.kohsuke.stapler.export.Property.writeValue(Property.java:98)
        at org.kohsuke.stapler.export.Property.writeTo(Property.java:82)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:142)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:139)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:139)
        at org.kohsuke.stapler.export.Model.writeTo(Model.java:133)
        at hudson.model.Api.doXml(Api.java:94)


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

scm_issue_link

[Issue 4760] Synchronizing Netbeans to Hudson fails

Reply Threaded More More options
Print post
Permalink
In reply to this post by grimlock81
https://hudson.dev.java.net/issues/show_bug.cgi?id=4760






------- Additional comments from [hidden email] Tue Nov  3 20:51:28 +0000 2009 -------
Code changed in hudson
User: : jglick
Path:
 trunk/www/changelog.html
http://fisheye4.cenqua.com/changelog/hudson/?cs=23461
Log:
[HUDSON-4760] Noting.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

jglick-2

[Issue 4760] Synchronizing Netbeans to Hudson fails

Reply Threaded More More options
Print post
Permalink
In reply to this post by grimlock81
https://hudson.dev.java.net/issues/show_bug.cgi?id=4760






------- Additional comments from [hidden email] Sat Nov  7 17:49:24 +0000 2009 -------
*** Issue 4793 has been marked as a duplicate of this issue. ***

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]