Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2008

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 5.0.0.M1, 5.0.0.M2, 5.0.0.M3, 5.0.0.M4, 5.0.0.M5, 5.0.0.CR1
    • 5.0.1.FINAL
    • drools-compiler-DSL
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              etirelli Edson Tirelli
              yusuke_jira Yusuke Yamamoto
              Votes:
              4 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: