[jira] [Commented] (AVRO-1780) Avro tools jar fails with NPE

2016-01-13 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096018#comment-15096018
 ] 

ASF subversion and git services commented on AVRO-1780:
---

Commit 1724395 from tomwh...@apache.org in branch 'avro/branches/branch-1.8'
[ https://svn.apache.org/r1724395 ]

AVRO-1780: Java: Fix NPE in tools. Contributed by Tom White.

> Avro tools jar fails with NPE
> -
>
> Key: AVRO-1780
> URL: https://issues.apache.org/jira/browse/AVRO-1780
> Project: Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.8.0
>Reporter: Sean Busbey
>Assignee: Tom White
>Priority: Blocker
> Fix For: 1.8.0
>
> Attachments: AVRO-1780.patch
>
>
> 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.
> {code}
> 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)
> {code}
> We should probably not print the entire NOTICE unless a cli arg is given, 
> since it is much bigger now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1780) Avro tools jar fails with NPE

2016-01-12 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15094358#comment-15094358
 ] 

Hudson commented on AVRO-1780:
--

SUCCESS: Integrated in AvroJava #567 (See 
[https://builds.apache.org/job/AvroJava/567/])
AVRO-1780: Java: Fix NPE in tools. Contributed by Tom White.

Changes for AVRO-1728 moved NOTICE, which was used to create the
no-argument output for Java's avro-tools. Using the new location fixed
the NPE and this also includes an update to show just the top of NOTICE
since it is now much longer. (blue: rev 1724287)
* trunk/lang/java/tools/src/main/java/org/apache/avro/tool/Main.java


> Avro tools jar fails with NPE
> -
>
> Key: AVRO-1780
> URL: https://issues.apache.org/jira/browse/AVRO-1780
> Project: Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.8.0
>Reporter: Sean Busbey
>Assignee: Tom White
>Priority: Blocker
> Fix For: 1.8.0
>
> Attachments: AVRO-1780.patch
>
>
> 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.
> {code}
> 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)
> {code}
> We should probably not print the entire NOTICE unless a cli arg is given, 
> since it is much bigger now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1780) Avro tools jar fails with NPE

2016-01-12 Thread Ryan Blue (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15094309#comment-15094309
 ] 

Ryan Blue commented on AVRO-1780:
-

Thanks for fixing this, Tom! I committed your patch.

> Avro tools jar fails with NPE
> -
>
> Key: AVRO-1780
> URL: https://issues.apache.org/jira/browse/AVRO-1780
> Project: Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.8.0
>Reporter: Sean Busbey
>Assignee: Tom White
>Priority: Blocker
> Fix For: 1.8.0
>
> Attachments: AVRO-1780.patch
>
>
> 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.
> {code}
> 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)
> {code}
> We should probably not print the entire NOTICE unless a cli arg is given, 
> since it is much bigger now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AVRO-1780) Avro tools jar fails with NPE

2016-01-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15094307#comment-15094307
 ] 

ASF subversion and git services commented on AVRO-1780:
---

Commit 1724287 from [~b...@cloudera.com] in branch 'avro/trunk'
[ https://svn.apache.org/r1724287 ]

AVRO-1780: Java: Fix NPE in tools. Contributed by Tom White.

Changes for AVRO-1728 moved NOTICE, which was used to create the
no-argument output for Java's avro-tools. Using the new location fixed
the NPE and this also includes an update to show just the top of NOTICE
since it is now much longer.

> Avro tools jar fails with NPE
> -
>
> Key: AVRO-1780
> URL: https://issues.apache.org/jira/browse/AVRO-1780
> Project: Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.8.0
>Reporter: Sean Busbey
>Priority: Blocker
> Fix For: 1.8.0
>
> Attachments: AVRO-1780.patch
>
>
> 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.
> {code}
> 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)
> {code}
> We should probably not print the entire NOTICE unless a cli arg is given, 
> since it is much bigger now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)