This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Validation fails on event prcesses that have only TableOutput or InvokeStream but no StreamOutput, RelationOutput, or BatchedStreamOutput. Please fix XML validation started. C:/mysoaprojects/quotesIEP/src/quotes.iep:2,0 ERROR: atleast one output type operator must be on the plan.
evaluating
started to fix validation to include the two output operators TableOuput and InvokeStream
Could not reproduce this situation. Used both the TableOutput and InvokeStream operators and configured it without any other output operators and validated the iep process. The reported validation errors are not reported. Bing also mentioned that it has been fixed. This is put back to QA testing.
Tested using JavaCAPS6 + IEP nbm files from soarelease build081021_3. Reopening this ticket due to validation error observed with Table Output operator. (1) Created an iep process using only Invoke Stream as output and I did not observe any validation errors. (2) Created an IEP project and iep process using only Table Output (StreamInput > TupleBasedWindow > TableOutput). Saved and then tried to build the IEP project. As a result I got the following error in build.xml(dist) tab of the output panel: C:/IEPbugs/IepNBBugs/IepBug135922/src/bug135922.iep:2: 1 ERROR: atleast one output type operator must be on the plan. C:\IEPBugs\IepNBBugs\IepBug135922\nbproject\build-impl.xml:143: Found validation error(s).
started
An event processors that only have Table-Output on its output side is considered as valid. For example, I want to build a BAM application that displays the current content of a collection of sliding windows, then the backend event processor may only have Table-Output operators on its output side. An event processor that only have invoke-stream on its output side is also considered as valid. Because its callee can have Stream-Output, Relation-Output, Table-Output, etc.
This validation error has been fixed 1) soarelease branch checkin changeset: 131:93e8c719d780 tag: tip date: Tue Oct 28 19:56:57 2008 -0700 files: iep.editor/src/vm/iep/library.xml description: #135922 made the TableOuput operator an output type by specifying the property wsType 2) soa-dev branch checkin changeset: 86893:e72b211c40c4 tag: tip date: Tue Oct 28 19:49:51 2008 -0700 files: iep.editor/src/vm/iep/library.xml description: #135922 made the TableOuput operator an output type by specifying the property wsType
After a discussion, there are issues is changing the wsType property to an output type and hence it is decided to rollback that change and give each operator two transient properties (name to be added) that will be used for the validation filter checks. Hence rolling back the change and reopening the bug and assigning it to Bing.
Rolled back changes 1) soarelease branch changeset: 138:7db14a9d5abc tag: tip date: Wed Oct 29 10:57:30 2008 -0700 files: iep.editor/src/vm/iep/library.xml description: 135922 rolling back the addition of wsType property to TableOutput operator 2) soa-dev branch changeset: 86902:a843fcb9d47f tag: tip date: Wed Oct 29 10:54:13 2008 -0700 files: iep.editor/src/vm/iep/library.xml description: 135922 rolling back the addition of wsType property to TableOutput operator
An event processor is not valid if it doesn't have at least one of StreamInput, ExternalTablePoolingStream, and ReplayStream on its input side An event processor is not valid if it doesn't have at least one of StreamOuput, BatchedStreamOutput, TableOutput, SaveStream, InvokeStream, and RelationOutput on its output side Introduced transient property: entry, and exit. Property "entry" is true for StreamInput, ExternalTablePoolingStream, and ReplayStream. It is false for the rest. Property "exit" is true for StreamOuput, BatchedStreamOutput, TableOutput, SaveStream, InvokeStream, and RelationOutput. It is false for the rest.
Validated on Windows Vista with Java CAPS 6U1 build081030. An event processor is not valid if it doesn't have at least one of StreamInput, ExternalTablePoolingStream, and ReplayStream on its input side An event processor is not valid if it doesn't have at least one of StreamOuput, BatchedStreamOutput, TableOutput, SaveStream, InvokeStream, and RelationOutput on its output side => I was able to define a processor with just TableInput as the input, and validate it.
=> Also, a process with a SaveStream as output failed validation with the following message: C:/Users/Jennifer Lautz/Documents/NetBeansProjects/i135922/src/strInSaveStrOut.iep:2,0 ERROR: atleast one output type operator must be on the plan. *.iep files for the two issues found on retesting are attached.
Created attachment 73143 [details] process *.iep file with only TableInput as input.
Created attachment 73144 [details] process *.iep file with savestream as output.
Fixed in soa-dev branch, and soarelease branch.
Verified on Windows Vista on JavaCAPs 6 with NB 6.1 Patch 4 + IEP + other required *.nbms from ojc build20081103_6.