cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Irv Salisbury <irv.salisb...@gmail.com>
Subject More weblogic javaflow woes
Date Fri, 01 Jul 2005 03:05:41 GMT
Ok, so now it is all running in Javaflow fine in tomcat.  I go to run
in weblogic, get pretty far into my app, then get the following:

java.lang.NullPointerException
	at org.apache.cocoon.components.flow.java.JavaInterpreter.handleContinuation(Ljava.lang.String;Ljava.util.List;Lorg.apache.cocoon.environment.Redirector;)V(JavaInterpreter.java:264)
	at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(Lorg.apache.cocoon.environment.Environment;Lorg.apache.cocoon.components.treeprocessor.InvokeContext;)Z(CallFunctionNode.java:123)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes([Lorg.apache.cocoon.components.treeprocessor.ProcessingNode;Lorg.apache.cocoon.environment.Environment;Lorg.apache.cocoon.components.treeprocessor.InvokeContext;Ljava.lang.String;Ljava.util.Map;)Z(AbstractParentProcessingNode.java:46)
	at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(Lorg.apache.cocoon.environment.Environment;Lorg.apache.cocoon.components.treeprocessor.InvokeContext;)Z(PreparableMatchNode.java:130)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes([Lorg.apache.cocoon.components.treeprocessor.ProcessingNode;Lorg.apache.cocoon.environment.Environment;Lorg.apache.cocoon.components.treeprocessor.InvokeContext;)Z(AbstractParentProcessingNode.java:68)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Lorg.apache.cocoon.environment.Environment;Lorg.apache.cocoon.components.treeprocessor.InvokeContext;)Z(PipelineNode.java:138)

I look at that line number and see 

        userScopes.put(method.getDeclaringClass(), flow);

Looks like method is used right before that and isn't null.  So, it
seems like userScopes might be null.  It gets obtained as the
following:

        HashMap userScopes = (HashMap) session.getAttribute(USER_GLOBAL_SCOPE);

Any thoughts on this would be great.

Thanks,

Irv

Mime
View raw message