Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You receive an error Exception in thread "main" java.lang.NullPointerException. e.g.,

Code Block
$ mettleci s2px convert \
  -config customRoutine-zodiac.yaml \
  -source-dsx animalZodiacJobAndRoutines.dsx 
  -target-dsx target-dsx/zodiac.dsx \
  -source-specs /opt/dm/mci/specs/AnimalZodiac/ \
  -target-specs target-specs/ 
MettleCI Command Line (build 128)
(C) 2018-2022 Data Migrators Pty Ltd
Loading configuration
Preprocessing 'animalZodiacJobAndRoutines.dsx'
Converting jobs
Decomposing AnimalZodiac
Translating AnimalZodiacPx
Exception in thread "main" java.lang.NullPointerException
	at java.io.File.<init>(File.java:362)
	at com.datamigrators.mettle.svpx.translation.UnitTestConverter.convertSpec(UnitTestConverter.java:132)
	at com.datamigrators.mettle.svpx.translation.UnitTestConverter.convertUnitTest(UnitTestConverter.java:118)
	at com.datamigrators.mettle.svpx.translation.UnitTestConverter.convert(UnitTestConverter.java:60)
<etc.>

...

You receive Problem an error seemingly related to the conversion of the Aggregator Stage. e.g.,

Code Block
Unexpected error 'e2d2a70e61661858' occurred
java.lang.NullPointerException
        at com.datamigrators.mettle.svpx.translation.operations.AggregatorTranslation.translateStage(AggregatorTranslation.java:65)
        at com.datamigrators.mettle.svpx.translation.operations.AbstractStageTranslation.processTranslationStages(AbstractStageTranslation.java:60)
        at com.datamigrators.mettle.svpx.translation.operations.AbstractStageTranslation.translateRootContainer(AbstractStageTranslation.java:41)
<etc.>

...

You can receive this message if you’re using a version of the MettleCI Command Line prior to version 1.1-128 which is the minimum level required to support S2PX.
Please see the S2PX prerequisites documentation for details.