Uploaded image for project: 'Zanata'
  1. ZNTA-906

NullPointerException in getLocaleAliasesByIteration

    Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: unspecified
    • Resolution: Cannot Reproduce
    • Affects Version/s: server-3.8.2
    • Fix Version/s: platform-4.0.0
    • Component/s: Logic
    • Labels:
    • Environment:
      translate.engineering
    • Sprint:
      16.09, 16.10
    • Story Points:
      2

      Description

      From production logs.
      It seems somehow a NullPointerException is occurring in LocaleServiceImpl.getLocaleAliasesByIteration(LocaleServiceImpl.java:97), potentially in the getProject function.

      Log session start time Tue Feb 09 04:25:27 UTC 2016
      Time: 2016-02-10T00:30:26Z
      req.remoteHost: 127.0.0.1
      req.userAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36
      req.requestURI: /iteration/view.seam
      req.queryString: cid=4278
      req.requestURL: http://translate.engineering.redhat.com/iteration/view.seam
      req.xForwardedFor: 10.64.1.198
      time: 72367416
      thread: http-localhost/127.0.0.1:8080-3
      message: ERROR, org.jboss.seam.exception.Exceptions, handled and logged exception

      javax.servlet.ServletException
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
           at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
           at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
           at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
           at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           at org.zanata.security.UsernameLoggingFilter.doFilter(UsernameLoggingFilter.java:56)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
           at org.zanata.seam.interceptor.MonitoringWrapper.doFilter(MonitoringWrapper.java:67)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
           at org.zanata.servlet.MDCInsertingServletFilter.doFilter(MDCInsertingServletFilter.java:91)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
           at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
           at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
           at org.jboss.security.negotiation.NegotiationAuthenticator$WrapperValve.invoke(NegotiationAuthenticator.java:490)
           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:420)
           at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)
           at java.lang.Thread.run(Thread.java:745)
          Caused by: java.lang.NullPointerException
           at org.zanata.service.impl.LocaleServiceImpl.getLocaleAliasesByIteration(LocaleServiceImpl.java:97)
           at org.zanata.action.VersionHome.getLocaleAliases(VersionHome.java:642)
           at org.zanata.action.VersionHome.init(VersionHome.java:210)
           at sun.reflect.GeneratedMethodAccessor3465.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
           at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
           at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
           at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
           at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
           at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
           at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:79)
           at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
           at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:56)
           at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
           at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:97)
           at org.jboss.seam.util.Work.workInTransaction(Work.java:61)
           at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:91)
           at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
           at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
           at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
           at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
           at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:196)
           at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:114)
           at org.zanata.action.VersionHome_$$_javassist_seam_112.init(VersionHome_$$_javassist_seam_112.java)
           at sun.reflect.GeneratedMethodAccessor1432.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
           at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)
           at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:280)
           at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
           at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
           at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
           at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
           at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
           at com.sun.faces.facelets.tag.jsf.core.DeclarativeSystemEventListener.processEvent(EventHandler.java:128)
           at javax.faces.component.UIComponent$ComponentSystemEventListenerAdapter.processEvent(UIComponent.java:2526)
           at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106)
           at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2166)
           at com.sun.faces.application.ApplicationImpl.invokeComponentListenersFor(ApplicationImpl.java:2111)
           at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:289)
           at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:247)
           at org.jboss.seam.jsf.SeamApplication.publishEvent(SeamApplication.java:456)
           at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
           at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
           ... 37 more
      

        Attachments

          Activity

            People

            • Assignee:
              armaganersoz armaganersoz
              Reporter:
              djansen Damian Jansen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: