|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (XMLBEANS-240) ArrayStoreException when invoking XmlObject.selectPath()ArrayStoreException when invoking XmlObject.selectPath()
-------------------------------------------------------- Key: XMLBEANS-240 URL: http://issues.apache.org/jira/browse/XMLBEANS-240 Project: XMLBeans Type: Bug Components: XPath Versions: Version 2, Version 2.1 Reporter: Radu Preotiuc-Pietro Assigned to: Cezar Andrei Copied from message: I've been getting some ArrayStoreException errors when invoking the selectPath() method in an XmlObject subclass. Tracking the traceback exception I noticed that this occurs in the XmlObjectBase._typedArray() method, when the input array argument has a XmlAnyTypeImpl object and the System.arraycopy is invoked. I'm failing to understand what's the need of having a _typedArray() because apparently it can't handle XmlAnyTypeImpl classes and every class (including the XmlAnyTypeImpl class) implements the XmlObject interface. Given that both selectPath(String,XmlOptions) and execQuery(String,XmlOptions) return a XmlObject[] and these are invokers of the _typedArray() method, what is the need for a method that crashes and apparently is redundant? Cheers, Celso -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Resolved: (XMLBEANS-240) ArrayStoreException when invoking XmlObject.selectPath()[ https://issues.apache.org/jira/browse/XMLBEANS-240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacob Danner resolved XMLBEANS-240. ----------------------------------- Resolution: Fixed I think this has already been fixed. I know I'm missing context from 05, but by simple repro case worked without arraystore exception being thrown > ArrayStoreException when invoking XmlObject.selectPath() > -------------------------------------------------------- > > Key: XMLBEANS-240 > URL: https://issues.apache.org/jira/browse/XMLBEANS-240 > Project: XMLBeans > Issue Type: Bug > Components: XPath > Affects Versions: Version 2, Version 2.1 > Reporter: Radu Preotiuc-Pietro > Assignee: Cezar Andrei > > Copied from message: > I've been getting some ArrayStoreException errors when invoking the selectPath() method in an XmlObject subclass. Tracking the traceback exception I noticed that this occurs in the XmlObjectBase._typedArray() method, when the input array argument has a XmlAnyTypeImpl object and the System.arraycopy is invoked. > I'm failing to understand what's the need of having a _typedArray() because apparently it can't handle XmlAnyTypeImpl classes and every class (including the XmlAnyTypeImpl class) implements the XmlObject interface. > Given that both selectPath(String,XmlOptions) and execQuery(String,XmlOptions) return a XmlObject[] and these are invokers of the _typedArray() method, what is the need for a method that crashes and apparently is redundant? > Cheers, > Celso -- 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: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free embeddable forum powered by Nabble | Forum Help |