[
https://issues.apache.org/jira/browse/MUSE-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonas Buys updated MUSE-301:
----------------------------
Attachment: muws-impl.patch
muws-api.patch
> SimpleStateType(Element) constructor cast will throw
> ----------------------------------------------------
>
> Key: MUSE-301
> URL: https://issues.apache.org/jira/browse/MUSE-301
> Project: Muse
> Issue Type: Bug
> Components: WSDM MUWS State
> Affects Versions: 2.2.0
> Environment: SVN trunk build to date
> Reporter: Jonas Buys
> Assignee: Dan Jemiolo
> Attachments: muws-api.patch, muws-impl.patch
>
>
> Just reporting that one line should be inserted to solve this issue in the
> public SimpleStateType(Element xml) constructor in SimpleStateType.java.
> Between line 66 and 67, one should retrieve the State QName before adding
> this to the valueList ArrayList, otherwise the cast on line 72 will fail and
> throw an exception.
> Resolve by putting this line between lines 66 and 67:
> QName categoryTypeQn = XmlUtils.getElementQName(next);
> Then add categoryTypeQn to arraylist in line 67.
> Could someone include this in the trunk?
--
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: [email protected]
For additional commands, e-mail: [email protected]