Well, it was the first time I tried this code. No heavy load. I would say it's 
predictable.

Any idea? I did find one other similar report on the web, but no answer.

--- On Fri, 3/19/10, Andreas Veithen <andreas.veit...@gmail.com> wrote:

From: Andreas Veithen <andreas.veit...@gmail.com>
Subject: Re: Axiom exception
To: commons-dev@ws.apache.org
Date: Friday, March 19, 2010, 8:42 PM

Mats,

Is this exception predictable or does it occur randomly under heavy load?

Andreas

On Thu, Mar 18, 2010 at 23:07, Mats Eklund <mats.ekl...@yahoo.com> wrote:
> Resending...
>
> --- On Thu, 3/18/10, Mats Eklund <mats.ekl...@yahoo.com> wrote:
>
> From: Mats Eklund <mats.ekl...@yahoo.com>
> Subject: Axiom exception
> To: commons-dev@ws.apache.org
> Date: Thursday, March 18, 2010, 11:06 PM
>
> Hi,
>
> When calling OMElement.serialize(...), an exception is thrown with the 
> following stack trace:
>
> java.lang.NullPointerException
>     
> com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.getProperty(Unknown 
> Source)
>     
> org.apache.axiom.om.impl.MTOMXMLStreamWriter.getProperty(MTOMXMLStreamWriter.java:291)
>     
> org.apache.axiom.om.impl.util.OMSerializerUtil.isSetPrefixBeforeStartElement(OMSerializerUtil.java:187)
>     
> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMSerializerUtil.java:274)
>     
> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMSerializerUtil.java:228)
>     
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:949)
>
>  org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:937)
>     org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:387)
>     moe.exist.atom.modules.Batch.doPost(Batch.java:179)
>     org.exist.atom.modules.AtomModuleBase.process(AtomModuleBase.java:55)
>     org.exist.atom.http.AtomServlet.service(AtomServlet.java:445)
>     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>     org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:165)
>     moe.revproxyauthfilter.RPAFilter.doFilter(RPAFilter.java:67)
>
> What am I missing here?
>
> Thanks,
> Mats
>
>
>
>
>
>
>



      

Reply via email to