[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-2155) Make parsing of bendpoints more error-safe

Kris Verlaenen (JIRA) jira-events at lists.jboss.org
Thu Jul 2 15:17:51 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBRULES-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kris Verlaenen resolved JBRULES-2155.
-------------------------------------

    Resolution: Done


Done

> Make parsing of bendpoints more error-safe
> ------------------------------------------
>
>                 Key: JBRULES-2155
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-2155
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler (flow)
>            Reporter: Kris Verlaenen
>            Assignee: Kris Verlaenen
>             Fix For: 5.1.0.M1
>
>
> In cases where the bendpoints are not specified as expected in the XML, the parser would throw out exceptions that don't contain a lot of information about the cause.
> E.g.
> java.lang.NumberFormatException: For input string: ""
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
> at java.lang.Integer.parseInt(Integer.java:468)
> at java.lang.Integer.<init>(Integer.java:620)
> at org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper.stringToBendpoints(ConnectionWrapper.java:94)
> at org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper.internalGetBendpoints(ConnectionWrapper.java:65)
> at org.drools.eclipse.flow.common.editor.core.ElementConnection.getBendpoints(ElementConnection.java:123)
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list