[jboss-jira] [JBoss JIRA] Created: (JBRULES-2008) multibyte characters in dsl fails with "no viable alternative at character"

Yusuke Yamamoto (JIRA) jira-events at lists.jboss.org
Sun Mar 15 09:49:22 EDT 2009


multibyte characters in dsl  fails with "no viable alternative at character"
----------------------------------------------------------------------------

                 Key: JBRULES-2008
                 URL: https://jira.jboss.org/jira/browse/JBRULES-2008
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-compiler
    Affects Versions: 5.0.0.M5,  5.0.0.M4, 5.0.0.M3,  5.0.0.M2, 5.0.0.M1
         Environment: Drools 5.0.0.CR1
            Reporter: Yusuke Yamamoto
            Assignee: Mark Proctor


Drools compiler fails to compile DSLs containing multibyte characters in them, says "no viable alternative at character".

----------
line 3:6 no viable alternative at character '出'
line 3:7 no viable alternative at character '力'

java.lang.NullPointerException
	at org.drools.common.AbstractRuleBase.addPackages(AbstractRuleBase.java:451)
	at org.drools.reteoo.ReteooRuleBase.addPackage(ReteooRuleBase.java:481)
	at org.drools.compiler.MultibyteDSLTest.testMultibyteDSL(MultibyteDSLTest.java:20)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
----------

http://lists.jboss.org/pipermail/rules-users/2009-March/008293.html


-- 
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