Page 1 of 1

Bug Report

PostPosted: Wed Jun 13, 2012 7:25 pm
by yarbo
Tried to manage my shared media, and got the following error:

Code: Select all
Exception   java.lang.NullPointerException
Message   null
Java version   Sun Microsystems Inc. 1.6.0_20
Operating system   Linux 2.6.35-32-generic-pae
Server   jetty-6.1.x
Memory   Used 102 of 145 MB
Stack trace   java.lang.NullPointerException
   at net.sourceforge.subsonic.controller.ShareSettingsController.getShareInfos(ShareSettingsController.java:110)
   at net.sourceforge.subsonic.controller.ShareSettingsController.handleRequestInternal(ShareSettingsController.java:63)
   at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
   at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
   at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
   at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
   at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:43)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:54)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
   at org.mortbay.jetty.Server.handle(Server.java:313)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
   at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
   at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

Re: Bug Report

PostPosted: Fri Jun 22, 2012 8:11 pm
by ajkessel
Same issue here.

Re: Bug Report

PostPosted: Sat Jun 23, 2012 12:05 am
by BKKKPewsey
And the SS version is? :?

Re: Bug Report

PostPosted: Sat Jun 23, 2012 3:02 am
by yarbo
Oh. Thought it would have been in the error report. I am using 4.7 beta 2

Re: Bug Report

PostPosted: Sat Jun 23, 2012 11:43 am
by ajkessel
Same here, latest Beta.

Re: Bug Report

PostPosted: Sat Jun 23, 2012 12:08 pm
by BKKKPewsey
ajkessel is your java version the same? or at least 1.6.xx rather then 1.7.xx
Might help Sindre to track it down (although I think he's got his hands rather full at the moment :roll: )

:mrgreen:

Re: Bug Report

PostPosted: Sat Jun 23, 2012 12:16 pm
by ajkessel
1.6.0_26

Re: Bug Report

PostPosted: Sat Jun 23, 2012 6:53 pm
by yarbo
Should I update Java? Also worth noting that I am running this on Ubuntu.

Re: Bug Report

PostPosted: Sat Jun 23, 2012 10:32 pm
by ajkessel
Upgraded to 1.7.0_05. Same result.

Re: Bug Report

PostPosted: Sat Jun 23, 2012 10:40 pm
by GJ51
There is a programming error that has been identified and will be corrected in the next release. If you uninstall EVERYTHING and start with a clean install of the latest Java and then install 4.7b2 it should work, it lease it has for me on both a standard Windows install and a WAR install on Tomcat.

Others have reproted that if you delete the "work" directory or the Jetty cache, depending on you installation type, it also fixes the problem.

Either way, all should be healed soon.

Re: Bug Report

PostPosted: Sun Jun 24, 2012 6:58 pm
by ajkessel
Which directory would I delete on a Linux install? I don't see work/cache?

Re: Bug Report

PostPosted: Sun Jun 24, 2012 7:06 pm
by BKKKPewsey
ajkessel wrote:Which directory would I delete on a Linux install? I don't see work/cache?

subsonic\jetty\xxxx\jsp\org\delete whats here
:mrgreen:

Re: Bug Report

PostPosted: Sun Jun 24, 2012 7:26 pm
by ajkessel
I just tried that (under 'org' was 'apache'); no luck. Same error after deleting and restarting subsonic.

Re: Bug Report

PostPosted: Sat Sep 08, 2012 2:59 pm
by scharnhorst
Hello

Same issue on my side even with 4.7Beta 3.