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.

Bug 151162

Summary: Validation errors should reference user-defined objects
Product: soa Reporter: jlautz <jlautz>
Component: IEP editorAssignee: Ritesh Adval <radval>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Project containing mismatched schemas for UnionAll.

Description jlautz 2008-10-23 15:34:25 UTC
Seen with Java CAPS 6 with NB 6.1 Patch 4 applied, and IEP *.jar and *.nbm artifacts installed from soarelease
builds 20081022_1.

In general, validation errors from build-time validation should include info about user-visible objects in IEP.

For example, build the attached project, in which the TupleBasedWindows have different schemas, which is invalid for
UnionAll. 
=> The error messages are as follows:
Created dir: C:\Users\Jennifer Lautz\Documents\NetBeansProjects\i97329Iep\build\META-INF
C:/Users/Jennifer Lautz/Documents/NetBeansProjects/i97329Iep/src/i96349.iep:127: 12
ERROR: The input schemas are not same.

C:/Users/Jennifer Lautz/Documents/NetBeansProjects/i97329Iep/src/i96349.iep:127: 12
ERROR: The input schemas are not same.

C:\Users\Jennifer Lautz\Documents\NetBeansProjects\i97329Iep\nbproject\build-impl.xml:143: Found validation error(s).
BUILD FAILED (total time: 0 seconds)

Note that there is no reference to the operators involved. The user can look at the *.wsdl and figure it out, but that
isn't very user-friendly.
Comment 1 jlautz 2008-10-23 15:35:53 UTC
Created attachment 72543 [details]
Project containing mismatched schemas for UnionAll.