From: Marc R. <re...@gm...> - 2022-12-25 15:35:04
|
Hi Jeff, the example is wrong but the text is correct. Options -gen and -keep are used on the pipc command. The example should read 'pipc -gen -keep testpipe', where testpipe.njp defines the pipeline(s). Marc On 12/24/22 18:23, Jeff Hennick wrote: > I am getting an error I can not trace. I'd like to try to compile a pipe and keep the JAVA file, but am failing. > > The Pipelines Guide and Reference, page 33, says > > The following options can be used on the pipc command, in addition to the ones specified in the previous chapter for the Pipes Runner: > > -gen Generate the NetREXX source file. The pipeline needs a name. > > -keep Keep the Java source which is generated from the NetREXX source. > > Example: pipe (testpipe -gen -keep) > > This will generate the NetREXX source as well as keep the java source. > > First off, I am assuming, in the Example, that should be pipc and be followed by the name of the njp file. But Windows PowerShell does not like any of the combinations I try. > > Any pointers in getting the JAVA file would be appreciated. > > ------- > > The error I am getting trying to compile a test pipe -- with a test version of the SPEC stage, is > > java.lang.NullPointerException at org.netrexx.njpipes.stages.specz.stageExit(specz.java:1198) at org.netrexx.njpipes.pipes.compiler.compile(compiler.java:574) at org.netrexx.njpipes.pipes.compiler.compile(compiler.java:166) at org.netrexx.njpipes.pipes.pipe2nrx.run(pipe2nrx.java:47) at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) at java.lang.Thread.run(Unknown Source) Exiting due to uncaught Exception null > > It is that "specz.java:1198" that I'd like to locate and tie back to my NR source. > > > > _______________________________________________ > netrexx-pipelines mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines |