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.
Shivanand reports that when clicking on errors in the WSDL validation window, it will not select the schema nodes in the treeview (columns mode is okay?). It throws an IllegalArgumentException, possibly because schema.getParent is returning null. Run validation on GoogleSearch.wsdl in the attached file.
Created attachment 33695 [details] stack trace
Created attachment 33696 [details] sample files
This indeed works for column view. Somehow the column view show method ends up in UIUtilites.findPathFromRoot which compensate the missing segment '/definitions/types'. The fix for this bug is to make sure the tree view show method use the same utilities method for path from root.
Indeed it is because the schema node under types has no parent node. That is getParentNode on schemanode returns null. It is issue with wsdl ui. -->kini
Schema api now has getForeignParent() which should return non-null parent Component if the Schema is an embedded one.
Fixed this. The UIUtilities.findPathFromRoot was passing the SchemaComponentNode instead of the FilterNode. Now it works fine.
Verified as fixed.