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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.0.1.FINAL
    • 5.0.0.M1, 5.0.0.M2, 5.0.0.M3, 5.0.0.M4, 5.0.0.M5, 5.0.0.CR1
    • 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

        Activity

          People

            etirelli@redhat.com Edson Tirelli
            yusuke_jira Yusuke Yamamoto (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty