Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-2102

Calling jena.textindexer from command line throws a NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 4.0.0
    • Jena 4.1.0
    • Jena, Text
    • None

    Description

      Singularity> java -cp /usr/local/share/apache-jena-fuseki-4.0.0/fuseki-server.jar jena.textindexer --desc=TextQuery/text-index.ttl
      Exception in thread "main" java.lang.ExceptionInInitializerError
       at jena.textindexer.main(textindexer.java:25)
      Caused by: java.lang.NullPointerException
       at org.apache.jena.cmd.Cmds.injectCmd(Cmds.java:38)
       at org.apache.jena.query.text.cmd.InitTextCmds.cmds(InitTextCmds.java:25)
       at org.apache.jena.query.text.TextQuery.init(TextQuery.java:74)
       at org.apache.jena.query.text.InitJenaText.start(InitJenaText.java:32)
       at org.apache.jena.sys.JenaSystem.lambda$init$2(JenaSystem.java:117)
       at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
       at org.apache.jena.sys.JenaSystem.forEach(JenaSystem.java:192)
       at org.apache.jena.sys.JenaSystem.forEach(JenaSystem.java:169)
       at org.apache.jena.sys.JenaSystem.init(JenaSystem.java:115)
       at org.apache.jena.cmd.Cmds.<clinit>(Cmds.java:33)
       ... 1 more
      

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              embracethemirth R Pope
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: