lyfeyaj / jaql

Automatically exported from code.google.com/p/jaql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jaql's handleError method prints the error message twice

GoogleCodeExporter opened this issue · comments

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

Fixed in Revision 351.

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

  • Changed state: Fixed