backmeup / backmeup-prototype

BackMeUp v1 Standalone Backend
Other
3 stars 0 forks source link

indexer/core sometimes throws following exception #99

Closed ghost closed 11 years ago

ghost commented 11 years ago

I just browsed the log file on dev01 and I found following NPE:

Nov 23, 2012 4:53:26 PM org.apache.http.impl.client.DefaultRequestDirector handleResponse
WARNING: Authentication error: Unable to respond to any of these challenges: {}
STATUS: An exception occured during execution of the method upload
12/11/23 16:54:27 INFO elasticsearch.plugins: [Super-Nova] loaded [], sites []
12/11/23 16:57:15 INFO elasticsearch.plugins: [Thunderbolt] loaded [], sites []
12/11/23 16:57:25 INFO elasticsearch.plugins: [Stark, Arno] loaded [], sites []
java.lang.NullPointerException
        at org.backmeup.plugin.api.actions.indexing.IndexUtils.convertToFileInfo(IndexUtils.java:84)
        at org.backmeup.logic.impl.BusinessLogicImpl.getProtocolDetails(BusinessLogicImpl.java:908)
        at org.backmeup.logic.impl.BusinessLogicImpl$Proxy$_$$_WeldClientProxy.getProtocolDetails(BusinessLogicImpl$Proxy$_$$_WeldClientProxy.java)
        at org.backmeup.rest.BackupJobs.getProtocolDetails(BackupJobs.java:118)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)
        at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
        at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
        at org.jboss.resteasy.plugins.server.tjws.TJWSServletDispatcher.service(TJWSServletDispatcher.java:40)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2326)
        at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2280)
        at Acme.Serve.Serve$ServeConnection.run(Serve.java:2052)
        at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1402)
        at java.lang.Thread.run(Thread.java:679)

Additionally I've created a copy of embedded.log named embedded_npe.log.