Uploaded image for project: 'CloverETL'
  1. CloverETL
  2. CLO-1005

NPE occurs when data flows from JSONReader to ExtHashJoin and both components are in the same phase.

    Details

    • QA Testing:
      UNDECIDED
    • Steps to reproduce:
      Hide

      Refer to attached graph.

      Show
      Refer to attached graph.
    • Additional information:
      Hide

      2013-06-14 10:41:54,848 ERROR 589827 [WatchDog_589827] Component [JSONReader:JSONREADER1] finished with status ERROR.
      Can't open TMP file in
      Unexpected null value.
      2013-06-14 10:41:54,849 ERROR 589827 [WatchDog_589827] Error details:
      org.jetel.exception.JetelRuntimeException: Component [JSONReader:JSONREADER1] finished with status ERROR.
      at org.jetel.graph.Node.createNodeException(Node.java:535)
      at org.jetel.graph.Node.run(Node.java:514)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.Exception: java.lang.RuntimeException: org.jetel.exception.JetelRuntimeException: Can't open TMP file in
      at org.jetel.component.TreeReader$StreamConvertingXPathProcessor.checkThrownException(TreeReader.java:765)
      at org.jetel.component.TreeReader$StreamConvertingXPathProcessor.manageThread(TreeReader.java:756)
      at org.jetel.component.TreeReader$StreamConvertingXPathProcessor.processInput(TreeReader.java:731)
      at org.jetel.component.TreeReader.execute(TreeReader.java:411)
      at org.jetel.graph.Node.run(Node.java:485)
      ... 3 more
      Caused by: java.lang.RuntimeException: org.jetel.exception.JetelRuntimeException: Can't open TMP file in
      at org.jetel.component.TreeReader.receive(TreeReader.java:515)
      at org.jetel.component.tree.reader.XPathPushParser.handleContext(XPathPushParser.java:150)
      at org.jetel.component.tree.reader.XPathPushParser.parse(XPathPushParser.java:83)
      at org.jetel.component.TreeReader$StreamConvertingXPathProcessor$PipeParser.run(TreeReader.java:824)
      Caused by: org.jetel.exception.JetelRuntimeException: Can't open TMP file in
      at org.jetel.data.DynamicRecordBuffer$TempFile.open(DynamicRecordBuffer.java:494)
      at org.jetel.data.DynamicRecordBuffer$TempFile.access$000(DynamicRecordBuffer.java:473)
      at org.jetel.data.DynamicRecordBuffer.getDiskSlotForWrite(DynamicRecordBuffer.java:294)
      at org.jetel.data.DynamicRecordBuffer.flushWriteBuffer(DynamicRecordBuffer.java:279)
      at org.jetel.data.DynamicRecordBuffer.writeRecord(DynamicRecordBuffer.java:206)
      at org.jetel.data.DynamicRecordBuffer.writeRecord(DynamicRecordBuffer.java:235)
      at org.jetel.graph.BufferedEdge.writeRecord(BufferedEdge.java:149)
      at org.jetel.graph.Edge.writeRecord(Edge.java:425)
      at org.jetel.component.TreeReader.receive(TreeReader.java:513)
      ... 3 more
      Caused by: java.lang.NullPointerException
      at com.cloveretl.server.graph.runtime.c.newTempFile(Unknown Source)
      at org.jetel.data.DynamicRecordBuffer$TempFile.open(DynamicRecordBuffer.java:491)

      Show
      2013-06-14 10:41:54,848 ERROR 589827 [WatchDog_589827] Component [JSONReader:JSONREADER1] finished with status ERROR. Can't open TMP file in Unexpected null value. 2013-06-14 10:41:54,849 ERROR 589827 [WatchDog_589827] Error details: org.jetel.exception.JetelRuntimeException: Component [JSONReader:JSONREADER1] finished with status ERROR. at org.jetel.graph.Node.createNodeException(Node.java:535) at org.jetel.graph.Node.run(Node.java:514) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.Exception: java.lang.RuntimeException: org.jetel.exception.JetelRuntimeException: Can't open TMP file in at org.jetel.component.TreeReader$StreamConvertingXPathProcessor.checkThrownException(TreeReader.java:765) at org.jetel.component.TreeReader$StreamConvertingXPathProcessor.manageThread(TreeReader.java:756) at org.jetel.component.TreeReader$StreamConvertingXPathProcessor.processInput(TreeReader.java:731) at org.jetel.component.TreeReader.execute(TreeReader.java:411) at org.jetel.graph.Node.run(Node.java:485) ... 3 more Caused by: java.lang.RuntimeException: org.jetel.exception.JetelRuntimeException: Can't open TMP file in at org.jetel.component.TreeReader.receive(TreeReader.java:515) at org.jetel.component.tree.reader.XPathPushParser.handleContext(XPathPushParser.java:150) at org.jetel.component.tree.reader.XPathPushParser.parse(XPathPushParser.java:83) at org.jetel.component.TreeReader$StreamConvertingXPathProcessor$PipeParser.run(TreeReader.java:824) Caused by: org.jetel.exception.JetelRuntimeException: Can't open TMP file in at org.jetel.data.DynamicRecordBuffer$TempFile.open(DynamicRecordBuffer.java:494) at org.jetel.data.DynamicRecordBuffer$TempFile.access$000(DynamicRecordBuffer.java:473) at org.jetel.data.DynamicRecordBuffer.getDiskSlotForWrite(DynamicRecordBuffer.java:294) at org.jetel.data.DynamicRecordBuffer.flushWriteBuffer(DynamicRecordBuffer.java:279) at org.jetel.data.DynamicRecordBuffer.writeRecord(DynamicRecordBuffer.java:206) at org.jetel.data.DynamicRecordBuffer.writeRecord(DynamicRecordBuffer.java:235) at org.jetel.graph.BufferedEdge.writeRecord(BufferedEdge.java:149) at org.jetel.graph.Edge.writeRecord(Edge.java:425) at org.jetel.component.TreeReader.receive(TreeReader.java:513) ... 3 more Caused by: java.lang.NullPointerException at com.cloveretl.server.graph.runtime.c.newTempFile(Unknown Source) at org.jetel.data.DynamicRecordBuffer$TempFile.open(DynamicRecordBuffer.java:491)
    • OTRS_Ticket_ID:
      2013061010000098

      Description

      NPE occurs when data flows from JSONReader to ExtHashJoin and both components are in the same phase. This issue only occurs when running the graph on Server. It is possible to set different phase for ExtHashJoin in order to work around the issue.

        Attachments

          Activity

            People

            • Assignee:
              michalicaj Jano Michalica
              Reporter:
              slechtaj Jan Slechta
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: