[jboss-jira] [JBoss JIRA] Updated: (JBRULES-3060) Very odd error message due to unknow class

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Sun Sep 25 04:02:56 EDT 2011


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

Geoffrey De Smet updated JBRULES-3060:
--------------------------------------

    Fix Version/s: 5.3.0.Final
                       (was: 5.3.0.CR1)


> Very odd error message due to unknow class
> ------------------------------------------
>
>                 Key: JBRULES-3060
>                 URL: https://issues.jboss.org/browse/JBRULES-3060
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler (expert)
>    Affects Versions: 5.2.0.CR1
>            Reporter: Wolfgang Laun
>            Assignee: Mark Proctor
>             Fix For: 5.3.0.Final
>
>
> rule x when
> then
>     X x  = new Integer( 42 );
> end
> without an import or declare for X causes:
> Unable to Analyse Expression X x  = new Integer( 42 );:
> [Error: unknown class or illegal statement: org.mvel2.ParserContext at 1e1be92]
> [Near : {... X x  = new Integer( 42 ); ....}]
>                    ^
> [Line: 1, Column: 7]
> Note: (1) org.mvel2.ParserContext!
> Note: (2) The line number is relative to "then", but you'll have to guess that!
>  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list