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 188622

Summary: Exception while building xslt.model netbeans module
Product: soa Reporter: Vitaly Bychkov <lativ>
Component: XSLTAssignee: Vitaly Bychkov <lativ>
Status: RESOLVED FIXED    
Severity: normal CC: lativ
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Vitaly Bychkov 2010-07-13 09:44:46 UTC
Compile time Exception in xslt.model:
..........................
xslt.model\src\org\netbeans\modules\xslt\model\impl\XslModelImpl.java:117: prepareChangeInfo(java.util.List<org.w3c.dom.Node>) in org.netbeans.modules.xml.xam.dom.AbstractDocumentModel<org.netbeans.modules.xslt.model.XslComponent>  cannot be applied to (java.util.List<capture#883 of ? extends org.w3c.dom.Node>,java.util.List<capture#117 of ? extends org .w3c.dom.Node>)
[parseprojectxml]         ChangeInfo change = super.prepareChangeInfo(pathToRoot, nsContextPathToRoot);
[parseprojectxml]                                  ^
[parseprojectxml] E:\binu\OJCDT\soa-69\soa-69\xslt.model\src\org\netbeans\modules\xslt\model\impl\XslModelImpl.java:114: method does not override or implement a method from a supertype
..............................

Initially the problem is in incovariant behavior of the java generics, see jdk issues: 
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6476073
 and
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954
Comment 1 Vitaly Bychkov 2010-07-14 04:51:35 UTC
Fixed.