You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Thomas Weise (JIRA)" <ji...@apache.org> on 2018/08/19 22:09:00 UTC

[jira] [Closed] (BEAM-2322) Apex Unittest WordCountTest failed on Jenkins and Local Machine

     [ https://issues.apache.org/jira/browse/BEAM-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Weise closed BEAM-2322.
------------------------------
       Resolution: Cannot Reproduce
         Assignee:     (was: Thomas Weise)
    Fix Version/s: Not applicable

The slice nullpointer exception was caused by a dependency issue that was resolved since.

> Apex Unittest WordCountTest failed on Jenkins and Local Machine
> ---------------------------------------------------------------
>
>                 Key: BEAM-2322
>                 URL: https://issues.apache.org/jira/browse/BEAM-2322
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-apex
>            Reporter: Mark Liu
>            Priority: Major
>             Fix For: Not applicable
>
>
> Unit test [WordCountTest|https://github.com/apache/beam/blob/master/runners/apex/src/test/java/org/apache/beam/runners/apex/examples/WordCountTest.java] in Apex failed if project directory contains space.
> Jenkins link:
> https://builds.apache.org/job/beam_PostCommit_Java_JDK_Versions_Test/12/jdk=JDK%201.8%20(latest),label=beam/
> Detailed error log from target/surefire-reports:
> {code}
> [14/WriteCounts/WriteFiles/Finalize/ParMultiDo(Anonymous):ApexParDoOperator] ERROR com.datatorrent.stram.engine.StreamingContainer  - Operator set [OperatorDeployInfo[id=14,name=WriteCounts/WriteFiles/Finalize/ParMultiDo(Anonymous),type=GENERIC,checkpoint={ffffffffffffffff, 0, 0},inputs=[OperatorDeployInfo.InputDeployInfo[portName=input,streamId=stream5,sourceNodeId=1,sourcePortName=output,locality=<null>,partitionMask=0,partitionKeys=<null>], OperatorDeployInfo.InputDeployInfo[portName=sideInput1,streamId=stream7,sourceNodeId=13,sourcePortName=output,locality=CONTAINER_LOCAL,partitionMask=0,partitionKeys=<null>]],outputs=[]]] stopped running due to an exception.
> java.lang.NullPointerException
>         at com.datatorrent.netlet.util.Slice.<init>(Slice.java:54)
>         at org.apache.beam.runners.apex.translation.utils.ApexStateInternals$ApexStateInternalsFactory.stateInternalsForKey(ApexStateInternals.java:449)
>         at org.apache.beam.runners.apex.translation.utils.StateInternalsProxy.state(StateInternalsProxy.java:64)
>         at org.apache.beam.runners.core.SideInputHandler.isReady(SideInputHandler.java:189)
>         at org.apache.beam.runners.core.SimplePushbackSideInputDoFnRunner.isReady(SimplePushbackSideInputDoFnRunner.java:95)
>         at org.apache.beam.runners.core.SimplePushbackSideInputDoFnRunner.processElementInReadyWindows(SimplePushbackSideInputDoFnRunner.java:76)
>         at org.apache.beam.runners.apex.translation.operators.ApexParDoOperator.processElementInReadyWindows(ApexParDoOperator.java:309)
>         at org.apache.beam.runners.apex.translation.operators.ApexParDoOperator.access$400(ApexParDoOperator.java:94)
>         at org.apache.beam.runners.apex.translation.operators.ApexParDoOperator$1.process(ApexParDoOperator.java:196)
>         at org.apache.beam.runners.apex.translation.operators.ApexParDoOperator$1.process(ApexParDoOperator.java:187)
>         at com.datatorrent.api.DefaultInputPort.put(DefaultInputPort.java:79)
>         at com.datatorrent.stram.stream.BufferServerSubscriber$BufferReservoir.sweep(BufferServerSubscriber.java:288)
>         at com.datatorrent.stram.engine.GenericNode.run(GenericNode.java:269)
>         at com.datatorrent.stram.engine.StreamingContainer$2.run(StreamingContainer.java:1428)
> {code}
> Space character in directory string may cause the problem and failed the translation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)