Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1780

Avro tools jar fails with NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.8.0
    • 1.8.0
    • java
    • None

    Description

      following our license/notice updates, teh avro-tools jar fails with a NPE because it wants to print out a NOTICE.txt in the root of the jar.

      busbey$ java -jar avro-tools-1.8.0.jar
      Version 1.8.0 of Exception in thread "main" java.lang.NullPointerException
      	at org.apache.avro.tool.Main.printStream(Main.java:105)
      	at org.apache.avro.tool.Main.run(Main.java:92)
      	at org.apache.avro.tool.Main.main(Main.java:74)
      busbey$ java -jar avro-tools-1.8.0.jar --help
      Version 1.8.0 of Exception in thread "main" java.lang.NullPointerException
      	at org.apache.avro.tool.Main.printStream(Main.java:105)
      	at org.apache.avro.tool.Main.run(Main.java:92)
      	at org.apache.avro.tool.Main.main(Main.java:74)
      
      

      We should probably not print the entire NOTICE unless a cli arg is given, since it is much bigger now.

      Attachments

        1. AVRO-1780.patch
          1 kB
          Thomas White

        Activity

          People

            tomwhite Thomas White
            busbey Sean Busbey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: