You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Noseda Anne (JIRA)" <ji...@apache.org> on 2007/01/15 09:32:48 UTC
[jira] Created: (SM-819) Saxon NullPointerException at INFO level
Saxon NullPointerException at INFO level
----------------------------------------
Key: SM-819
URL: https://issues.apache.org/activemq/browse/SM-819
Project: ServiceMix
Issue Type: Bug
Components: servicemix-saxon
Affects Versions: 3.0.1
Environment: Windows XP
Reporter: Noseda Anne
Attachments: SASplitterSaxon-1.0-SNAPSHOT.jar
Problem with the Saxon Service Engine.
When I call my Service Assembly at DEBUG level, no problem and when I call my Service Assembly (without changing anything except log4j.xml) at INFO level, I have a NullPointerException :
ERROR - SaxonComponent - Error processing exchange InOut[
id: ID:POC07-2018-1168506505759-2:0
status: Active
role: provider
service: {http://saxon.test.etnic.be}seSaxon
endpoint: endpoint
in: Unable to display: java.util.EmptyStackException
out: null
]
java.lang.NullPointerException
at
net.sf.saxon.event.ReceivingContentHandler.getNameCode(ReceivingContentHandler.java:299)
at
net.sf.saxon.event.ReceivingContentHandler.startElement(ReceivingContentHandler.java:216)
at
org.apache.servicemix.jbi.jaxp.StaxSource.parse(StaxSource.java:136)
at
org.apache.servicemix.jbi.jaxp.StaxSource.parse(StaxSource.java:259)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:269)
at net.sf.saxon.event.Sender.send(Sender.java:124)
at net.sf.saxon.event.Sender.send(Sender.java:46)
at net.sf.saxon.Controller.transform(Controller.java:1417)
at
org.apache.servicemix.saxon.XsltEndpoint.transformContent(XsltEndpoint.java:97)
at
org.apache.servicemix.saxon.XsltEndpoint.transform(XsltEndpoint.java:74)
at
org.apache.servicemix.saxon.SaxonEndpoint.processInOut(SaxonEndpoint.java:217)
at
org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:489)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:441)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:593)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (SM-819) Saxon NullPointerException at INFO level
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SM-819.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.1
Assignee: Guillaume Nodet
Fix bug in StaxSource.
Author: gnodet
Date: Mon Jan 15 01:17:47 2007
New Revision: 496252
URL: http://svn.apache.org/viewvc?view=rev&rev=496252
Log:
SM-819: Fix possible NPEs when the Stax parser returns null for URIs, whereas SAX expects ""
Modified:
incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/StaxSource.java
> Saxon NullPointerException at INFO level
> ----------------------------------------
>
> Key: SM-819
> URL: https://issues.apache.org/activemq/browse/SM-819
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-saxon
> Affects Versions: 3.0.1
> Environment: Windows XP
> Reporter: Noseda Anne
> Assigned To: Guillaume Nodet
> Fix For: 3.1
>
> Attachments: SASplitterSaxon-1.0-SNAPSHOT.jar
>
>
> Problem with the Saxon Service Engine.
> When I call my Service Assembly at DEBUG level, no problem and when I call my Service Assembly (without changing anything except log4j.xml) at INFO level, I have a NullPointerException :
> ERROR - SaxonComponent - Error processing exchange InOut[
> id: ID:POC07-2018-1168506505759-2:0
> status: Active
> role: provider
> service: {http://saxon.test.etnic.be}seSaxon
> endpoint: endpoint
> in: Unable to display: java.util.EmptyStackException
> out: null
> ]
> java.lang.NullPointerException
> at
> net.sf.saxon.event.ReceivingContentHandler.getNameCode(ReceivingContentHandler.java:299)
> at
> net.sf.saxon.event.ReceivingContentHandler.startElement(ReceivingContentHandler.java:216)
> at
> org.apache.servicemix.jbi.jaxp.StaxSource.parse(StaxSource.java:136)
> at
> org.apache.servicemix.jbi.jaxp.StaxSource.parse(StaxSource.java:259)
> at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:269)
> at net.sf.saxon.event.Sender.send(Sender.java:124)
> at net.sf.saxon.event.Sender.send(Sender.java:46)
> at net.sf.saxon.Controller.transform(Controller.java:1417)
> at
> org.apache.servicemix.saxon.XsltEndpoint.transformContent(XsltEndpoint.java:97)
> at
> org.apache.servicemix.saxon.XsltEndpoint.transform(XsltEndpoint.java:74)
> at
> org.apache.servicemix.saxon.SaxonEndpoint.processInOut(SaxonEndpoint.java:217)
> at
> org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:489)
> at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:441)
> at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:593)
> at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174)
> at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
> at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira