java.lang.RuntimeException: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void org.mule.galaxy.web.rpc.RegistryService.saveLifecycle(org.mule.galaxy.web.rpc.WLifecycle) throws org.mule.galaxy.web.client.RPCException,org.mule.galaxy.web.rpc.ItemExistsException' threw an unexpected exception: java.lang.NullPointerException

MuleSoft JIRA | Todd Wells | 9 years ago
  1. 0

    Attempting to add a custom lifecycle results in a Null Pointer Exception Steps to reproduce: Go to the Administration tab, select Add lifecycle. Enter a Lifecycle name "my life" Add Phase "one" Add phase "two" Make one the Initial phase Click Save An error occurs. The log shows: INFO | jvm 1 | 2008/04/24 09:51:14 | WARN 2008-04-24 09:51:14,775 [btpool0-8] org.gwtwidgets.server.spring.GWTRPCServiceExporter: java.lang.reflect.InvocationTargetException INFO | jvm 1 | 2008/04/24 09:51:14 | 2008-04-24 09:51:14.799:/galaxy:WARN: Exception while dispatching incoming RPC call INFO | jvm 1 | 2008/04/24 09:51:14 | java.lang.RuntimeException: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void org.mule.galaxy.web.rpc.RegistryService.saveLifecycle(org.mule.galaxy.web.rpc.WLifecycle) throws org.mule.galaxy.web.client.RPCException,org.mule.galaxy.web.rpc.ItemExistsException' threw an unexpected exception: java.lang.NullPointerException INFO | jvm 1 | 2008/04/24 09:51:14 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:150) INFO | jvm 1 | 2008/04/24 09:51:14 | at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:168) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441) INFO | jvm 1 | 2008/04/24 09:51:14 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) INFO | jvm 1 | 2008/04/24 09:51:14 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) INFO | jvm 1 | 2008/04/24 09:51:14 | Caused by: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void org.mule.galaxy.web.rpc.RegistryService.saveLifecycle(org.mule.galaxy.web.rpc.WLifecycle) throws org.mule.galaxy.web.client.RPCException,org.mule.galaxy.web.rpc.ItemExistsException' threw an unexpected exception: java.lang.NullPointerException INFO | jvm 1 | 2008/04/24 09:51:14 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:361) INFO | jvm 1 | 2008/04/24 09:51:14 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:320) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:143) INFO | jvm 1 | 2008/04/24 09:51:14 | ... 55 more INFO | jvm 1 | 2008/04/24 09:51:14 | Caused by: java.lang.NullPointerException INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.getChild(LifecycleManagerImpl.java:458) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.persist(LifecycleManagerImpl.java:398) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.persist(LifecycleManagerImpl.java:51) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.jcr.onm.AbstractDao.doSave(AbstractDao.java:239) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.jcr.onm.AbstractDao$2.doInJcr(AbstractDao.java:67) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:76) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:108) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.jcr.onm.AbstractDao.save(AbstractDao.java:64) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.save(LifecycleManagerImpl.java:51) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl$$FastClassByCGLIB$$1d877b5a.invoke(<generated>) INFO | jvm 1 | 2008/04/24 09:51:14 | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl$$EnhancerByCGLIB$$fc233b20.save(<generated>) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.web.server.RegistryServiceImpl.saveLifecycle(RegistryServiceImpl.java:1231) INFO | jvm 1 | 2008/04/24 09:51:14 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2008/04/24 09:51:14 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO | jvm 1 | 2008/04/24 09:51:14 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2008/04/24 09:51:14 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:127) INFO | jvm 1 | 2008/04/24 09:51:14 | ... 55 more I'm not sure what I did differently the first time I attempted this, but in that case I permanently screwed up the lifecycles dialog -- I would get an error every time I attempted to visit the dialog. The only way to recover was to delete my galaxy-data directory entirely.

    MuleSoft JIRA | 9 years ago | Todd Wells
    java.lang.RuntimeException: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void org.mule.galaxy.web.rpc.RegistryService.saveLifecycle(org.mule.galaxy.web.rpc.WLifecycle) throws org.mule.galaxy.web.client.RPCException,org.mule.galaxy.web.rpc.ItemExistsException' threw an unexpected exception: java.lang.NullPointerException
  2. 0

    Attempting to add a custom lifecycle results in a Null Pointer Exception Steps to reproduce: Go to the Administration tab, select Add lifecycle. Enter a Lifecycle name "my life" Add Phase "one" Add phase "two" Make one the Initial phase Click Save An error occurs. The log shows: INFO | jvm 1 | 2008/04/24 09:51:14 | WARN 2008-04-24 09:51:14,775 [btpool0-8] org.gwtwidgets.server.spring.GWTRPCServiceExporter: java.lang.reflect.InvocationTargetException INFO | jvm 1 | 2008/04/24 09:51:14 | 2008-04-24 09:51:14.799:/galaxy:WARN: Exception while dispatching incoming RPC call INFO | jvm 1 | 2008/04/24 09:51:14 | java.lang.RuntimeException: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void org.mule.galaxy.web.rpc.RegistryService.saveLifecycle(org.mule.galaxy.web.rpc.WLifecycle) throws org.mule.galaxy.web.client.RPCException,org.mule.galaxy.web.rpc.ItemExistsException' threw an unexpected exception: java.lang.NullPointerException INFO | jvm 1 | 2008/04/24 09:51:14 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:150) INFO | jvm 1 | 2008/04/24 09:51:14 | at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:168) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441) INFO | jvm 1 | 2008/04/24 09:51:14 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) INFO | jvm 1 | 2008/04/24 09:51:14 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) INFO | jvm 1 | 2008/04/24 09:51:14 | Caused by: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void org.mule.galaxy.web.rpc.RegistryService.saveLifecycle(org.mule.galaxy.web.rpc.WLifecycle) throws org.mule.galaxy.web.client.RPCException,org.mule.galaxy.web.rpc.ItemExistsException' threw an unexpected exception: java.lang.NullPointerException INFO | jvm 1 | 2008/04/24 09:51:14 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:361) INFO | jvm 1 | 2008/04/24 09:51:14 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:320) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:143) INFO | jvm 1 | 2008/04/24 09:51:14 | ... 55 more INFO | jvm 1 | 2008/04/24 09:51:14 | Caused by: java.lang.NullPointerException INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.getChild(LifecycleManagerImpl.java:458) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.persist(LifecycleManagerImpl.java:398) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.persist(LifecycleManagerImpl.java:51) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.jcr.onm.AbstractDao.doSave(AbstractDao.java:239) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.jcr.onm.AbstractDao$2.doInJcr(AbstractDao.java:67) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:76) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:108) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.jcr.onm.AbstractDao.save(AbstractDao.java:64) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.save(LifecycleManagerImpl.java:51) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl$$FastClassByCGLIB$$1d877b5a.invoke(<generated>) INFO | jvm 1 | 2008/04/24 09:51:14 | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl$$EnhancerByCGLIB$$fc233b20.save(<generated>) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.mule.galaxy.web.server.RegistryServiceImpl.saveLifecycle(RegistryServiceImpl.java:1231) INFO | jvm 1 | 2008/04/24 09:51:14 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2008/04/24 09:51:14 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO | jvm 1 | 2008/04/24 09:51:14 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2008/04/24 09:51:14 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2008/04/24 09:51:14 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:127) INFO | jvm 1 | 2008/04/24 09:51:14 | ... 55 more I'm not sure what I did differently the first time I attempted this, but in that case I permanently screwed up the lifecycles dialog -- I would get an error every time I attempted to visit the dialog. The only way to recover was to delete my galaxy-data directory entirely.

    MuleSoft JIRA | 9 years ago | Todd Wells
    java.lang.RuntimeException: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void org.mule.galaxy.web.rpc.RegistryService.saveLifecycle(org.mule.galaxy.web.rpc.WLifecycle) throws org.mule.galaxy.web.client.RPCException,org.mule.galaxy.web.rpc.ItemExistsException' threw an unexpected exception: java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.getChild()
    2. org.mule.galaxy
      AbstractDao$2.doInJcr
      1. org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.getChild(LifecycleManagerImpl.java:458)
      2. org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.persist(LifecycleManagerImpl.java:398)
      3. org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.persist(LifecycleManagerImpl.java:51)
      4. org.mule.galaxy.impl.jcr.onm.AbstractDao.doSave(AbstractDao.java:239)
      5. org.mule.galaxy.impl.jcr.onm.AbstractDao$2.doInJcr(AbstractDao.java:67)
      5 frames
    3. org.springmodules.jcr
      JcrTemplate.execute
      1. org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:76)
      2. org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:108)
      2 frames
    4. org.mule.galaxy
      LifecycleManagerImpl$$FastClassByCGLIB$$1d877b5a.invoke
      1. org.mule.galaxy.impl.jcr.onm.AbstractDao.save(AbstractDao.java:64)
      2. org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl.save(LifecycleManagerImpl.java:51)
      3. org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl$$FastClassByCGLIB$$1d877b5a.invoke(<generated>)
      3 frames
    5. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      1 frame
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      2 frames
    7. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    8. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
      2 frames
    9. org.mule.galaxy
      RegistryServiceImpl.saveLifecycle
      1. org.mule.galaxy.impl.lifecycle.LifecycleManagerImpl$$EnhancerByCGLIB$$fc233b20.save(<generated>)
      2. org.mule.galaxy.web.server.RegistryServiceImpl.saveLifecycle(RegistryServiceImpl.java:1231)
      2 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    11. SL for GWT
      GWTRPCServiceExporter.processCall
      1. org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:127)
      1 frame
    12. Jetty Contrib :: jetty-gwt RemoteServiceServlet
      RemoteServiceServlet.doPost
      1. com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187)
      1 frame
    13. SL for GWT
      GWTRPCServiceExporter.handleRequest
      1. org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:168)
      1 frame
    14. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49)
      2. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
      3. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
      4. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
      5. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
      5 frames
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    16. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
      2 frames
    17. org.springmodules.jcr
      OpenSessionInViewFilter.doFilterInternal
      1. org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93)
      1 frame
    18. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
      1 frame
    19. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      1 frame
    20. Acegi Security Core
      FilterToBeanProxy.doFilter
      1. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
      2. org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
      3. org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
      4. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      5. org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
      6. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      7. org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341)
      8. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      9. org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      10. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      11. org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      12. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      13. org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
      14. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      15. org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
      16. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      17. org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      18. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      19. org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
      20. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      21. org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      22. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      23. org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
      24. org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
      24 frames
    21. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    22. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      1 frame