Page 1 of 1

All of the folders disappeared

PostPosted: Sat Aug 18, 2012 5:37 pm
by joecrimm
Hello all,

I woke up this morning and plugged in my external hard drive which I use for all of my SubSonic music and nothing is being displayed on Subsonic or the app. I tried to unplug it and re-pluig it in which did not work, I also re-installed the latest version of subsonic which did not work. In my computer you can see the harddrive and all of the files but on localhost nothing is being pulled up.

Anyone having the same issue or know a solution?

Thanks,
Joe

Re: All of the folders disappeared

PostPosted: Sat Aug 18, 2012 5:46 pm
by BKKKPewsey
Check the path to the usb drive - your OS may have assigned the drive a different drive letter.

:mrgreen:

Re: All of the folders disappeared

PostPosted: Sat Aug 18, 2012 5:52 pm
by joecrimm
the drive is mapped as H on both SubSonic and my PC...I tried a different folder from my desktop which appeared, but the Harddrive just doesn't want to pop up, frustrating.

Re: All of the folders disappeared

PostPosted: Sat Aug 18, 2012 6:00 pm
by joecrimm
I also just tried to add folders from a different external harddrive and nothing worked. I have a feeling this is all happening because of the external drives. Anyone have any ideas, I am pretty lost for an answer.

Thank you!
Joe

Re: All of the folders disappeared

PostPosted: Sat Aug 18, 2012 6:06 pm
by GJ51
joecrimm wrote:the drive is mapped as H on both SubSonic and my PC...I tried a different folder from my desktop which appeared, but the Harddrive just doesn't want to pop up, frustrating.



Mapped drives will not work with Subsonic. You have to use either a local drive or a network share.

If you use a network share then you must also edit the Subsonic service account with the correct logon account that has permission to access the share.

Re: All of the folders disappeared

PostPosted: Sat Aug 18, 2012 7:08 pm
by joecrimm
it is a local drive just an external hard drive....in SubSonic it was set to H:\ and in mycomputer the drive is listed as H:\

Re: All of the folders disappeared

PostPosted: Sat Aug 18, 2012 7:13 pm
by GJ51
What OS and SS installation type?

Re: All of the folders disappeared

PostPosted: Sat Aug 18, 2012 7:20 pm
by joecrimm
I am using Windwos 7 with SS 4.7.beta3 (build 3081)...this morning when it wasn't working I installed the latest version from the Site.

Re: All of the folders disappeared

PostPosted: Sat Aug 18, 2012 7:35 pm
by joecrimm
joecrimm wrote:I am using Windwos 7 with SS 4.7.beta3 (build 3081)...this morning when it wasn't working I installed the latest version from the Site.


Also when I just tried to add a new folder I got this error.......

Subsonic encountered an internal error. You can report this error in the Subsonic Forum. Please include the information below.

Exception java.lang.NullPointerException
Message null
Java version Oracle Corporation 1.7.0_04
Operating system Windows 7 6.1
Server jetty-6.1.x
Memory Used 42 of 132 MB
Stack trace java.lang.NullPointerException
at net.sourceforge.subsonic.dao.MusicFolderDao.updateMusicFolder(MusicFolderDao.java:81)
at net.sourceforge.subsonic.service.SettingsService.updateMusicFolder(SettingsService.java:1044)
at net.sourceforge.subsonic.controller.MusicFolderSettingsController.onSubmit(MusicFolderSettingsController.java:92)
at org.springframework.web.servlet.mvc.SimpleFormController.onSubmit(SimpleFormController.java:409)
at org.springframework.web.servlet.mvc.SimpleFormController.onSubmit(SimpleFormController.java:381)
at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)
at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:265)
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.doPost(FrameworkServlet.java:511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
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.content(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
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)

I do not know why it has been acting up like this yesterday everything worked fine.

Thanks again!

Joe

Re: All of the folders disappeared

PostPosted: Sun Aug 19, 2012 5:57 am
by GJ51
Sometimes there are Java problems or database issues that cause this kind of error. Some of the more technical guys might be able to figure it all out and tell you what to do to fix it, but if I was in your situation, I'd just uninstall Java and Subsonic through control panel - programs and features, delete C:\Subsonic, then install the latest version of Java then reinstall Subsonic.

It may sound like a big deal, but it'll probably be a lot faster than troubleshooting and trying all kinds of fixes that may or may not work.

The whole process only takes about 10 mins if you have a reasonable internet connection.

Re: All of the folders disappeared

PostPosted: Sun Aug 19, 2012 6:11 am
by hakko
A NullPointerException indicates a fault by the programmer, not a Java error. Some kind of situation occurs (probably something rare about your music collection, environment etc) that Sindre didn't expect and doesn't handle gracefully. Send him this log and he should be able to fix it.

Deleting C:/Subsonic will remove all your preferences and user accounts so be careful if you run that road.