Hello all,
I have switched recently from Streams 3.1 to Streams 4.0. I am facing an issue creating a Java Primitive operator in the 4.0 version.
I have a namespace and I create a Java Primitive Operator under it using the Streams Studio IDE. However I am not able to import that and use that in any of the composites.
Is there any specific configuration changes that I have to do in Streams v 4.0 to make the Java Operators show up in the other spl files.
When you say that you are not able to import the operator to use in other composites, do you mean that you don't see it listed in the Graphical Editor palette (to drag and drop), that you don't see it proposed in content assist in the SPL Editor or that you get compilation errors when you build an SPL application that references your Java operator? What error messages, if any, are you seeing?
@Mary Komor, I am not able to see that listed on the StreamsStudio editor pane. Say, When I key in Control Space, I am not able to find it in the drop down.
And before compilation itself, it would show the below error
CDISP0053E An unknown identifier was referenced in the SPL program: Test1.
Test1 being the java operator
Are you using version 4.0 or 4.0.1?
Did you start with a new workspace in the 4.0 environment or are you reusing your workspace from the 3.0 environment?
Did you create a new Java operator in the 4.0 environment or are you reusing an existing Java operator from your 3.1 environment?
Try rebuilding the project/toolkit containing the Java operator in the 4.0 environment.
Answer by danlopezv (172) | Oct 13, 2015 at 10:31 AM
I'm running into the same issue in Streams v4.0.1. I create a Java Primitive Operator using StreamsStudio but the Java Operator Model XML file is not being generated. Since the XML file is not present you can't use the Java Operator in any of your SPL composites -- Streams returns the following error: CDISP0053E ERROR: An unknown identifier was referenced in the SPL program: JavaPrimitiveOperatorName.
Do we need to build the Java Operator Model from scratch?
Answer by Mary Komor (431) | Oct 20, 2015 at 05:47 PM
You may be running into the same problem as reported in this post: StreamsStudio in 4.0.1 new workspace not generating Java operator interface code
Streams 4.0.1 Java Primitive Operator - Java Operator Model not being generated 1 Answer
Can i use two grammer files in teda infosphere stream ? 1 Answer
XML Parse operator throws error when working with large XML file. 2 Answers
Is there a way to iterate over a tuple member values and types at runtime? 1 Answer
Web Console not available on streams 4.0 2 Answers