Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-1591

Sporadic NullPointerException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      I am sporadically getting the following NullPointerException when I start a new webflow or after the first step of a given webflow.

      java.lang.NullPointerException
      	at org.springframework.expression.spel.ast.SpelNodeImpl.<init>(SpelNodeImpl.java:50)
      	at org.springframework.expression.spel.ast.Indexer.<init>(Indexer.java:71)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.maybeEatIndexer(InternalSpelExpressionParser.java:549)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.maybeEatNonDottedNode(InternalSpelExpressionParser.java:313)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.maybeEatNode(InternalSpelExpressionParser.java:300)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.eatPrimaryExpression(InternalSpelExpressionParser.java:284)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.eatUnaryExpression(InternalSpelExpressionParser.java:275)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.eatPowerIncDecExpression(InternalSpelExpressionParser.java:236)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.eatProductExpression(InternalSpelExpressionParser.java:217)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.eatSumExpression(InternalSpelExpressionParser.java:201)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.eatRelationalExpression(InternalSpelExpressionParser.java:163)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.eatLogicalAndExpression(InternalSpelExpressionParser.java:151)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.eatLogicalOrExpression(InternalSpelExpressionParser.java:139)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.eatExpression(InternalSpelExpressionParser.java:103)
      	at org.springframework.expression.spel.standard.InternalSpelExpressionParser.doParseExpression(InternalSpelExpressionParser.java:84)
      	at org.springframework.expression.spel.standard.SpelExpressionParser.doParseExpression(SpelExpressionParser.java:56)
      	at org.springframework.expression.spel.standard.SpelExpressionParser.doParseExpression(SpelExpressionParser.java:32)
      	at org.springframework.expression.common.TemplateAwareExpressionParser.parseExpression(TemplateAwareExpressionParser.java:66)
      	at org.springframework.binding.expression.spel.SpringELExpressionParser.parseSpelExpression(SpringELExpressionParser.java:81)
      	at org.springframework.binding.expression.spel.SpringELExpressionParser.parseExpression(SpringELExpressionParser.java:75)
      	at org.springframework.webflow.mvc.view.AbstractMvcView.addEmptyValueMapping(AbstractMvcView.java:479)
      	at org.springframework.webflow.mvc.view.AbstractMvcView.addDefaultMappings(AbstractMvcView.java:461)
      	at org.springframework.webflow.mvc.view.AbstractMvcView.bind(AbstractMvcView.java:380)
      	at org.springframework.webflow.mvc.view.AbstractMvcView.processUserEvent(AbstractMvcView.java:216)
      	at org.springframework.webflow.engine.ViewState.handleEvent(ViewState.java:226)
      	at org.springframework.webflow.engine.ViewState.resume(ViewState.java:196)
      	at org.springframework.webflow.engine.Flow.resume(Flow.java:545)
      	at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:258)
      	at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169)
      	at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)
      	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
      	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:920)
      	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:827)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:814)
      	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:801)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:915)
      	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
      	at com.dailyaccess.loggingmodule.filter.UserActivityLoggingFilter.doFilter(UserActivityLoggingFilter.java:70)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
      	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
      	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
      	at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
      

        Attachments

          Activity

            People

            Assignee:
            pwebb Phil Webb
            Reporter:
            martyjones Marty Jones
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: