You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "perumalraj (JIRA)" <ji...@apache.org> on 2007/02/21 00:59:05 UTC
[jira] Created: (JXPATH-79) Error when accessing JXPathContext
methods in Concurrent Scenario
Error when accessing JXPathContext methods in Concurrent Scenario
-----------------------------------------------------------------
Key: JXPATH-79
URL: https://issues.apache.org/jira/browse/JXPATH-79
Project: Commons JXPath
Issue Type: Bug
Affects Versions: 1.2 Final
Reporter: perumalraj
I am getting following error when many parallel threads access JXPathContext methods.
(But In case of a single thread, It works fine).
Caused by: java.lang.NullPointerException
at org.apache.commons.jxpath.JXPathBasicBeanInfo.getPropertyDescriptor(JXPathBasicBeanInfo.java:104)
at org.apache.commons.jxpath.ri.model.beans.BeanPropertyPointer.getPropertyDescriptor(BeanPropertyPointer.java:267)
at org.apache.commons.jxpath.ri.model.beans.BeanPropertyPointer.isActualProperty(BeanPropertyPointer.java:151)
at org.apache.commons.jxpath.ri.model.beans.PropertyPointer.isActual(PropertyPointer.java:80)
at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.doStepNoPredicatesPropertyOwner(SimplePathInterpreter.java:191)
at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.doStep(SimplePathInterpreter.java:142)
at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.doStepNoPredicatesPropertyOwner(SimplePathInterpreter.java:232)
at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.doStep(SimplePathInterpreter.java:142)
at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.doStepNoPredicatesPropertyOwner(SimplePathInterpreter.java:232)
at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.doStep(SimplePathInterpreter.java:142)
at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.interpretSimpleLocationPath(SimplePathInterpreter.java:77)
at org.apache.commons.jxpath.ri.compiler.Path.getSingleNodePointerForSteps(Path.java:153)
at org.apache.commons.jxpath.ri.compiler.LocationPath.computeValue(LocationPath.java:82)
at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:314)
at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:280)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Resolved: (JXPATH-79) Error when accessing JXPathContext
methods in Concurrent Scenario
Posted by "Matt Benson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JXPATH-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Benson resolved JXPATH-79.
-------------------------------
Resolution: Duplicate
Fix Version/s: 1.3
> Error when accessing JXPathContext methods in Concurrent Scenario
> -----------------------------------------------------------------
>
> Key: JXPATH-79
> URL: https://issues.apache.org/jira/browse/JXPATH-79
> Project: Commons JXPath
> Issue Type: Bug
> Affects Versions: 1.2 Final
> Reporter: perumalraj
> Fix For: 1.3
>
>
> I am getting following error when many parallel threads access JXPathContext methods.
> (But In case of a single thread, It works fine).
> Caused by: java.lang.NullPointerException
> at org.apache.commons.jxpath.JXPathBasicBeanInfo.getPropertyDescriptor(JXPathBasicBeanInfo.java:104)
> at org.apache.commons.jxpath.ri.model.beans.BeanPropertyPointer.getPropertyDescriptor(BeanPropertyPointer.java:267)
> at org.apache.commons.jxpath.ri.model.beans.BeanPropertyPointer.isActualProperty(BeanPropertyPointer.java:151)
> at org.apache.commons.jxpath.ri.model.beans.PropertyPointer.isActual(PropertyPointer.java:80)
> at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.doStepNoPredicatesPropertyOwner(SimplePathInterpreter.java:191)
> at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.doStep(SimplePathInterpreter.java:142)
> at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.doStepNoPredicatesPropertyOwner(SimplePathInterpreter.java:232)
> at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.doStep(SimplePathInterpreter.java:142)
> at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.doStepNoPredicatesPropertyOwner(SimplePathInterpreter.java:232)
> at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.doStep(SimplePathInterpreter.java:142)
> at org.apache.commons.jxpath.ri.axes.SimplePathInterpreter.interpretSimpleLocationPath(SimplePathInterpreter.java:77)
> at org.apache.commons.jxpath.ri.compiler.Path.getSingleNodePointerForSteps(Path.java:153)
> at org.apache.commons.jxpath.ri.compiler.LocationPath.computeValue(LocationPath.java:82)
> at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:314)
> at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:280)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org