Announcement Announcement Module
Collapse
No announcement yet.
NPE in Spring Framework Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • NPE in Spring Framework

    Hello everybody,

    I get an error in Spring Framework and I would like to know if this one has already been reported. I precise that I don't know where the exception is raised.

    java.lang.NullPointerException
    at org.springframework.expression.spel.ast.PropertyOr FieldReference.getValueInternal(PropertyOrFieldRef erence.java:74)
    at org.springframework.expression.spel.ast.MethodRefe rence.getValueInternal(MethodReference.java:64)
    at org.springframework.expression.spel.ast.CompoundEx pression.getValueInternal(CompoundExpression.java: 57)
    at org.springframework.expression.spel.ast.SpelNodeIm pl.getTypedValue(SpelNodeImpl.java:102)
    at org.springframework.expression.spel.standard.SpelE xpression.getValue(SpelExpression.java:97)
    at org.springframework.binding.expression.spel.Spring ELExpression.getValue(SpringELExpression.java:84)
    at org.springframework.webflow.action.EvaluateAction. doExecute(EvaluateAction.java:75)
    at org.springframework.webflow.action.AbstractAction. execute(AbstractAction.java:188)
    at org.springframework.webflow.execution.AnnotatedAct ion.execute(AnnotatedAction.java:145)
    at org.springframework.webflow.execution.ActionExecut or.execute(ActionExecutor.java:51)
    at org.springframework.webflow.engine.ActionList.exec ute(ActionList.java:155)
    at org.springframework.webflow.engine.State.enter(Sta te.java:193)
    at org.springframework.webflow.engine.Transition.exec ute(Transition.java:227)
    at org.springframework.webflow.engine.impl.FlowExecut ionImpl.execute(FlowExecutionImpl.java:393)
    at org.springframework.webflow.engine.impl.RequestCon trolContextImpl.execute(RequestControlContextImpl. java:214)
    at org.springframework.webflow.engine.TransitionableS tate.handleEvent(TransitionableState.java:119)
    at org.springframework.webflow.engine.Flow.handleEven t(Flow.java:555)
    at org.springframework.webflow.engine.impl.FlowExecut ionImpl.handleEvent(FlowExecutionImpl.java:388)
    at org.springframework.webflow.engine.impl.RequestCon trolContextImpl.handleEvent(RequestControlContextI mpl.java:210)
    at org.springframework.webflow.engine.ActionState.doE nter(ActionState.java:105)
    at org.springframework.webflow.engine.State.enter(Sta te.java:194)
    at org.springframework.webflow.engine.Flow.start(Flow .java:535)
    at org.springframework.webflow.engine.impl.FlowExecut ionImpl.start(FlowExecutionImpl.java:366)
    at org.springframework.webflow.engine.impl.FlowExecut ionImpl.start(FlowExecutionImpl.java:225)
    at org.springframework.webflow.executor.FlowExecutorI mpl.launchExecution(FlowExecutorImpl.java:140)
    at org.springframework.webflow.mvc.servlet.FlowHandle rAdapter.handle(FlowHandlerAdapter.java:193)
    at org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:790)
    at org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:719)
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:644)
    at org.springframework.web.servlet.FrameworkServlet.d oPost(FrameworkServlet.java:560)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:847)
    at org.apache.catalina.core.ApplicationFilterChain.se rvletService(ApplicationFilterChain.java:427)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:333)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:214)
    at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 368)
    at org.springframework.security.web.access.intercept. FilterSecurityInterceptor.invoke(FilterSecurityInt erceptor.java:109)
    at org.springframework.security.web.access.intercept. FilterSecurityInterceptor.doFilter(FilterSecurityI nterceptor.java:83)
    at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 380)
    at org.springframework.security.web.authentication.ww w.BasicAuthenticationFilter.doFilter(BasicAuthenti cationFilter.java:177)
    at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 380)
    at org.springframework.security.web.context.SecurityC ontextPersistenceFilter.doFilter(SecurityContextPe rsistenceFilter.java:79)
    at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 380)
    at org.springframework.security.web.FilterChainProxy. doFilter(FilterChainProxy.java:169)
    at org.springframework.web.filter.DelegatingFilterPro xy.invokeDelegate(DelegatingFilterProxy.java:237)
    at org.springframework.web.filter.DelegatingFilterPro xy.doFilter(DelegatingFilterProxy.java:167)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:214)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:313)
    at org.apache.catalina.core.StandardContextValve.invo keInternal(StandardContextValve.java:287)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:593)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipel ine.java:94)
    at com.sun.enterprise.web.PESessionLockingStandardPip eline.invoke(PESessionLockingStandardPipeline.java :98)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:222)
    at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:1093)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:166)
    at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:1093)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(Co yoteAdapter.java:291)
    at com.sun.enterprise.web.connector.grizzly.DefaultPr ocessorTask.invokeAdapter(DefaultProcessorTask.jav a:666)
    at com.sun.enterprise.web.connector.grizzly.DefaultPr ocessorTask.doProcess(DefaultProcessorTask.java:59 7)
    at com.sun.enterprise.web.connector.grizzly.DefaultPr ocessorTask.process(DefaultProcessorTask.java:872)
    at com.sun.enterprise.web.connector.grizzly.DefaultRe adTask.executeProcessorTask(DefaultReadTask.java:3 41)
    at com.sun.enterprise.web.connector.grizzly.DefaultRe adTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultRe adTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.portunif.PortUnificationPip eline$PUTask.doTask(PortUnificationPipeline.java:3 82)
    at com.sun.enterprise.web.connector.grizzly.TaskBase. run(TaskBase.java:264)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWo rkerThread.run(SSLWorkerThread.java:106)


    Someone has an idea of how can I get an null pointer there ?

    BR,

    Gabriel
Working...
X