cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claudius Spellmann <claudius.spellm...@juwimm.com>
Subject Flowscript bug???
Date Fri, 15 Oct 2004 15:55:37 GMT
Hi,

I was just woudering wether this is a bug or not:
When I try to access a value object returned by an EJB I always get a 
java.io.NotSerializableException thrown by the value object .
The problem is always reproduceable and is only occuring when an ejb is 
returning a valueobject everything is working fine with primitive 
datatypes and Strings.
We're using cocoon 2.2.0-dev on bea6.1 .

Stacktrace:
<15.10.2004 17:26:57 CEST> <Error> <HTTP Session> <Could not deserialize

session data
java.io.NotSerializableException: 
org.apache.cocoon.components.flow.javascript.fom.CompilingClassLoader
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1143)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at java.io.ObjectOutputStream.outputArray(ObjectOutputStream.java:1093)
    at 
java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(ObjectOutputStream.java:451)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:356)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at java.io.ObjectOutputStream.outputArray(ObjectOutputStream.java:1093)
    at 
java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(ObjectOutputStream.java:451)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:356)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at java.io.ObjectOutputStream.outputArray(ObjectOutputStream.java:1093)
    at 
java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(ObjectOutputStream.java:451)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:356)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at java.io.ObjectOutputStream.outputArray(ObjectOutputStream.java:1093)
    at 
java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(ObjectOutputStream.java:451)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:356)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at java.io.ObjectOutputStream.outputArray(ObjectOutputStream.java:1093)
    at 
java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(ObjectOutputStream.java:451)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:356)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at java.io.ObjectOutputStream.outputArray(ObjectOutputStream.java:1093)
    at 
java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(ObjectOutputStream.java:451)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:356)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at java.io.ObjectOutputStream.outputArray(ObjectOutputStream.java:1093)
    at 
java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(ObjectOutputStream.java:451)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:356)
    at 
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
    at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at java.util.HashMap.writeObject(HashMap.java:807)
    at java.lang.reflect.Method.invoke(Native Method)
    at 
java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1859)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1205)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
    at 
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:94)
    at 
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:65)
    at 
weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:392)
    at 
org.apache.cocoon.environment.http.HttpSession.getAttribute(HttpSession.java:172)
    at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.getSessionScope(FOM_JavaScriptInterpreter.java:350)
    at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:658)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:105)
    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:54)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:112)
    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
    at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:298)
    at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:258)
    at 
org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:270)
    at 
org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:146)
    at 
org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:65)
    at 
org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)
    at 
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:61)
    at 
org.apache.cocoon.environment.internal.EnvironmentHelper.resolveURI(EnvironmentHelper.java:131)
    at 
org.apache.cocoon.environment.internal.EnvironmentHelper.resolveURI(EnvironmentHelper.java:141)
    at 
org.apache.cocoon.transformation.CIncludeTransformer.processCIncludeElement(CIncludeTransformer.java:522)
    at 
org.apache.cocoon.transformation.CIncludeTransformer.startTransformingElement(CIncludeTransformer.java:263)
    at 
org.apache.cocoon.transformation.AbstractSAXTransformer.startElement(AbstractSAXTransformer.java:300)
    at 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:83)
    at 
org.apache.xml.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:205)
    at 
org.apache.xml.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:291)
    at 
org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:244)
    at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:707)
    at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
    at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177)
    at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
    at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682)
    at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
    at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682)
    at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
    at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682)
    at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
    at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682)
    at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
    at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682)
    at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
    at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177)
    at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
    at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2202)
    at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1276)
    at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3383)
    at 
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:389)
    at 
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56)
    at 
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:562)
    at 
org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:182)
    at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1287)
    at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3383)
    at 
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:389)
    at 
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56)
    at 
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:562)
    at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown 
Source)
    at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown 
Source)
    at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
    at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
    at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
    at 
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown 
Source)
    at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:296)
    at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315)
    at 
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:211)
    at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:117)
    at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:249)
    at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:478)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:134)
    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
    at 
org.apache.cocoon.components.treeprocessor.ContainerNode.invoke(ContainerNode.java:38)
    at 
org.apache.cocoon.components.treeprocessor.CategoryNode.invokeByName(CategoryNode.java:66)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallNode.java:83)
    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:54)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:112)
    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
    at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:298)
    at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:241)
    at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:238)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:111)
    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:54)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:112)
    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:87)
    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:54)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:112)
    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
    at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
    at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:298)
    at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:241)
    at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:238)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:646)
    at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
    at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
    at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
 >

thx in advance
Claudius

Mime
View raw message