hguven / jaql

Automatically exported from code.google.com/p/jaql
0 stars 0 forks source link

Jaql's handleError method prints the error message twice #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If an Throwable is thrown, the Throwable will be printed twice. Here is one
example of the output in Jaql Shell:

java.lang.reflect.UndeclaredThrowableException
java.lang.reflect.UndeclaredThrowableException
        at
com.ibm.jaql.io.hadoop.ToDelConverter.convert(ToDelConverter.java:127)
        at
com.ibm.jaql.io.hadoop.ToDelConverter.convert(ToDelConverter.java:37)
        at
com.ibm.jaql.io.hadoop.DefaultHadoopOutputAdapter$3.write(DefaultHadoopOutputAda
pter.java:260)
        at
com.ibm.jaql.io.hadoop.DefaultHadoopOutputAdapter$3.write(DefaultHadoopOutputAda
pter.java:251)
        at
com.ibm.jaql.io.hadoop.DefaultHadoopOutputAdapter$1.write(DefaultHadoopOutputAda
pter.java:209)
        at
com.ibm.jaql.lang.expr.io.AbstractWriteExpr.eval(AbstractWriteExpr.java:87)
        at com.ibm.jaql.lang.Jaql.run(Jaql.java:418)
        at com.ibm.jaql.lang.Jaql.run(Jaql.java:71)
        at
com.ibm.jaql.util.shell.AbstractJaqlShell.runInteractively(AbstractJaqlShell.jav
a:50)
        at
com.ibm.jaql.util.shell.AbstractJaqlShell.main(AbstractJaqlShell.java:85)
        at JaqlShell.main(JaqlShell.java:271)
Caused by: java.lang.NullPointerException
        at
com.ibm.jaql.io.hadoop.ToDelConverter.convert(ToDelConverter.java:100)
        ... 10 more

Original issue reported on code.google.com by yaojingguo@gmail.com on 27 Sep 2009 at 3:08

GoogleCodeExporter commented 8 years ago
Fixed in Revision 351.

Original comment by yaojingguo@gmail.com on 27 Sep 2009 at 3:12