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 165331 - ClassCastException: net.sf.saxon.tinytree.TinyElementImpl cannot be cast to org.w3c.dom.Node
Summary: ClassCastException: net.sf.saxon.tinytree.TinyElementImpl cannot be cast to o...
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-16 19:22 UTC by dirk_schmitt
Modified: 2010-03-25 11:45 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 145131


Attachments
stacktrace (3.99 KB, text/plain)
2009-05-16 19:22 UTC, dirk_schmitt
Details
stacktrace (3.99 KB, text/plain)
2009-05-16 19:23 UTC, dirk_schmitt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dirk_schmitt 2009-05-16 19:22:24 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: OpenJDK 64-Bit Server VM, 14.0-b08, IcedTea6 1.4 (6b14-0ubuntu2~ppa2) Runtime Environment, 1.6.0_0-b14
OS: Linux, 2.6.27-14-generic, amd64

User Comments:
tk_fhd_aui: Have current Saxon B in jre/lib/ext. Tried to use UML first time after installation of Saxon B. Happened when trying to create a new (the first) class diagram.

GUEST: This is really a huge issue for us in conitnuing to use Netbeans.. I can't use this UML plugin in either 6.5 or 6.7. Please advise how to overcome this issue.

GUEST: I can't use UML in Netbeans 6.5

dirk_schmitt: generating class diagramm (now selected all classes inside the package)

GUEST: While creating Sequence diagram and class diagram

dirk_schmitt: generating class diagram from package



Stacktrace: 
java.lang.ClassCastException: net.sf.saxon.tinytree.TinyElementImpl cannot be cast to org.w3c.dom.Node
        at org.netbeans.modules.uml.drawingarea.support.DiagramTypesManager.getStringAttributeValue(DiagramTypesManager.java:248)
        at org.netbeans.modules.uml.drawingarea.support.DiagramTypesManager.getDiagramTypeName(DiagramTypesManager.java:218)
        at org.netbeans.modules.uml.drawingarea.support.DiagramTypesManager.getUMLType(DiagramTypesManager.java:380)
        at org.netbeans.modules.uml.drawingarea.UMLDiagramTopComponent.initNewDiagram(UMLDiagramTopComponent.java:788)
        at org.netbeans.modules.uml.drawingarea.UMLDiagramTopComponent.<init>(UMLDiagramTopComponent.java:305)
        at org.netbeans.modules.uml.drawingarea.UMLDiagramManager.doCreateDiagram(UMLDiagramManager.java:765)
Comment 1 dirk_schmitt 2009-05-16 19:22:37 UTC
Created attachment 82242 [details]
stacktrace
Comment 2 dirk_schmitt 2009-05-16 19:23:28 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: OpenJDK 64-Bit Server VM, 14.0-b08, IcedTea6 1.4 (6b14-0ubuntu2~ppa2) Runtime Environment, 1.6.0_0-b14
OS: Linux, 2.6.27-14-generic, amd64

User Comments: 
generating class diagram (now only 1 class selected)

Stacktrace: 
java.lang.ClassCastException: net.sf.saxon.tinytree.TinyElementImpl cannot be cast to org.w3c.dom.Node
        at org.netbeans.modules.uml.drawingarea.support.DiagramTypesManager.getStringAttributeValue(DiagramTypesManager.java:248)
        at org.netbeans.modules.uml.drawingarea.support.DiagramTypesManager.getDiagramTypeName(DiagramTypesManager.java:218)
        at org.netbeans.modules.uml.drawingarea.support.DiagramTypesManager.getUMLType(DiagramTypesManager.java:380)
        at org.netbeans.modules.uml.drawingarea.UMLDiagramTopComponent.initNewDiagram(UMLDiagramTopComponent.java:788)
        at org.netbeans.modules.uml.drawingarea.UMLDiagramTopComponent.<init>(UMLDiagramTopComponent.java:305)
        at org.netbeans.modules.uml.drawingarea.UMLDiagramManager.doCreateDiagram(UMLDiagramManager.java:765)
Comment 3 dirk_schmitt 2009-05-16 19:23:37 UTC
Created attachment 82243 [details]
stacktrace