Feedback 5.0.3480.beta2

Post your Server Bug Report

Feedback 5.0.3480.beta2

Unread postby ph0wlteer » 08 May 2013, 16:52

Hi,

first of all thanks a lot for your hard work in this project.

I encountered a problem when I click on "now playing", this is the error message:

Code: Select all
 Error
Madsonic encountered an internal error. You can report this error in the Madsonic Forum. Please include the information below.

Exception   java.lang.NullPointerException
Message   null
Java version   Oracle Corporation 1.7.0_13
Operating system   Windows Server 2008 R2 6.1
Server   jetty-6.1.x
Memory   Used 72 of 165 MB
Stack trace   java.lang.NullPointerException
   at net.sourceforge.subsonic.service.SecurityService.getMusicFolderForFile(SecurityService.java:356)
   at net.sourceforge.subsonic.service.SecurityService.isInMusicFolder(SecurityService.java:351)
   at net.sourceforge.subsonic.service.SecurityService.isReadAllowed(SecurityService.java:303)
   at net.sourceforge.subsonic.service.MediaFileService.getMediaFile(MediaFileService.java:117)
   at net.sourceforge.subsonic.service.MediaFileService.getMediaFile(MediaFileService.java:98)
   at net.sourceforge.subsonic.controller.NowPlayingController.handleRequestInternal(NowPlayingController.java:54)
   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:124)
   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:174)
   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.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:227)
   at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:626)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)


Cheers

ph0wlteer
User avatar
ph0wlteer
 
Posts: 8
Joined: 11 Jan 2013, 11:46
Location: Kassel, Germany
Has thanked: 4 times
Been thanked: 2 times

Re: Feedback 5.0.3480.beta2

Unread postby Madevil » 08 May 2013, 17:51

ph0wlteer wrote:Hi,

first of all thanks a lot for your hard work in this project.

I encountered a problem when I click on "now playing", this is the error message:

Code: Select all
 Error
Madsonic encountered an internal error. You can report this error in the Madsonic Forum. Please include the information below.

Exception   java.lang.NullPointerException
Message   null
Java version   Oracle Corporation 1.7.0_13
Operating system   Windows Server 2008 R2 6.1
Server   jetty-6.1.x
Memory   Used 72 of 165 MB
Stack trace   java.lang.NullPointerException
   at net.sourceforge.subsonic.service.SecurityService.getMusicFolderForFile(SecurityService.java:356)
   at net.sourceforge.subsonic.service.SecurityService.isInMusicFolder(SecurityService.java:351)
   at net.sourceforge.subsonic.service.SecurityService.isReadAllowed(SecurityService.java:303)
   at net.sourceforge.subsonic.service.MediaFileService.getMediaFile(MediaFileService.java:117)
   at net.sourceforge.subsonic.service.MediaFileService.getMediaFile(MediaFileService.java:98)
   at net.sourceforge.subsonic.controller.NowPlayingController.handleRequestInternal(NowPlayingController.java:54)
   at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
   at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        ...
   at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:227)
   at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:626)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)


Cheers

ph0wlteer


Thanks that you like Madsonic 8-)

I had the same problem when I was intense playing around with access rights, so got maybe false entries in the history table.

if it was only a test installation, you can easily click on the Cleanup tab page under settings, and run the following steps:

*) Reset Access Control
*) Scan media folders now
*) Clean-up database
*) Cleanup History

Restart Server, this should help!

best regards
User avatar
Madevil
Administrator
Administrator
 
Posts: 941
Joined: 07 Dec 2012, 03:58
Has thanked: 1338 times
Been thanked: 964 times

Re: Feedback 5.0.3480.beta2

Unread postby ph0wlteer » 13 May 2013, 11:53

Hi Madevil,

Thanks for your response.
The matter has resolved itself after deleting the browser cache and running a database-cleanup. :D

But I have another Question: I have an own Domain under which Madsonic is running and when I want to share a playlist it gives me a link like "http://myserver.subsonic.org/share/xyz" instead of "https://www.myserver.de/share/xyz". Is there a way to modify this in a config file, so I don't have to change the URL? Or is there a feature in process of planning?

Best regards,

ph0wlteer
User avatar
ph0wlteer
 
Posts: 8
Joined: 11 Jan 2013, 11:46
Location: Kassel, Germany
Has thanked: 4 times
Been thanked: 2 times

Re: Feedback 5.0.3480.beta2

Unread postby Madevil » 13 May 2013, 12:56

ph0wlteer wrote:Hi Madevil,

Thanks for your response.
The matter has resolved itself after deleting the browser cache and running a database-cleanup. :D

But I have another Question: I have an own Domain under which Madsonic is running and when I want to share a playlist it gives me a link like "http://myserver.subsonic.org/share/xyz" instead of "https://www.myserver.de/share/xyz". Is there a way to modify this in a config file, so I don't have to change the URL? Or is there a feature in process of planning?

Best regards,
ph0wlteer


Hi there,

This should allready work ...

1. check settings under -> settings -> general settings -> disable Premium Services

Image

2. check settings under -> settings -> network -> Domain URL

Image

3. Save Settings


best regards
User avatar
Madevil
Administrator
Administrator
 
Posts: 941
Joined: 07 Dec 2012, 03:58
Has thanked: 1338 times
Been thanked: 964 times

Re: Feedback 5.0.3480.beta2

Unread postby ph0wlteer » 13 May 2013, 13:03

Hi!

Thank you very much for your answer, now it works like a charme. :D

This advice should be in the FAQ-section.

Best regards,

ph0wlteer
User avatar
ph0wlteer
 
Posts: 8
Joined: 11 Jan 2013, 11:46
Location: Kassel, Germany
Has thanked: 4 times
Been thanked: 2 times


Return to Bug Reports 5.x

Who is online

Users browsing this forum: No registered users and 1 guest

cron