Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-16576

jflex NPE (StateSetEnumerator.reset(…)) on arm64 and jdk11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-rc1, 4.0
    • Build
    • None

    Description

      NPE thrown from `ant generate-jflex-java` on jdk11 and arm64.

      Upstream: https://github.com/jflex-de/jflex/issues/910

       java.lang.NullPointerException
       	at jflex.StateSetEnumerator.reset(StateSetEnumerator.java:40)
       	at jflex.NFA.containsFinal(NFA.java:295)
       	at jflex.NFA.getDFA(NFA.java:539)
       	at jflex.Main.generate(Main.java:80)
       	at jflex.anttask.JFlexTask.execute(JFlexTask.java:65)
       	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
       	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
       	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
       	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
       	at org.apache.tools.ant.Task.perform(Task.java:350)
       	at org.apache.tools.ant.Target.execute(Target.java:449)
       	at org.apache.tools.ant.Target.performTasks(Target.java:470)
       	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
       	at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
       	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
       	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
       	at org.apache.tools.ant.Main.runBuild(Main.java:834)
       	at org.apache.tools.ant.Main.startAnt(Main.java:223)
       	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
       	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
      

      Failures

      Attachments

        Activity

          People

            Unassigned Unassigned
            mck Michael Semb Wever
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: