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 113236 - NPE on drawing links from target to source
Summary: NPE on drawing links from target to source
Status: CLOSED DUPLICATE of bug 113235
Alias: None
Product: soa
Classification: Unclassified
Component: XSLT (show other bugs)
Version: 6.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Sergey Lunegov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-20 18:26 UTC by Andrei Chistiakov
Modified: 2007-08-20 18:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Chistiakov 2007-08-20 18:26:38 UTC
Reproduced in build 200708220000.

To reproduce the bug:
- create an XSL transformaton;
- bind a source node to a tagget node;
- delete the binding;
- make the same binding from target to source.
java.lang.NullPointerException
	at org.netbeans.modules.xslt.mapper.model.nodes.visitor.AbstractNodeVisitor.acceptUpstream(AbstractNodeVisitor.java:70)
	at org.netbeans.modules.xslt.mapper.model.FindUsedPredicateNodesVisitor.visit(FindUsedPredicateNodesVisitor.java:54)
	at org.netbeans.modules.xslt.mapper.model.targettree.ElementDeclarationNode.accept(ElementDeclarationNode.java:123)
	at org.netbeans.modules.xslt.mapper.model.nodes.visitor.AbstractNodeVisitor.acceptDownTree(AbstractNodeVisitor.java:94)
	at org.netbeans.modules.xslt.mapper.model.FindUsedPredicateNodesVisitor.visit(FindUsedPredicateNodesVisitor.java:66)
	at org.netbeans.modules.xslt.mapper.model.targettree.RuleNode.accept(RuleNode.java:82)
	at org.netbeans.modules.xslt.mapper.view.PredicateManager.clearTemporaryPredicates(PredicateManager.java:299)
	at org.netbeans.modules.xslt.mapper.view.DiagramBuilder.updateDiagram(DiagramBuilder.java:77)
	at org.netbeans.modules.xslt.mapper.model.XsltModelBridge.onModelChanged(XsltModelBridge.java:196)
	at org.netbeans.modules.xslt.mapper.model.ModelBridge$UpdateTimer$1.actionPerformed(ModelBridge.java:71)
	at javax.swing.Timer.fireActionPerformed(Timer.java:271)
...
Comment 1 _ hong_lin 2007-08-20 18:34:01 UTC

*** This issue has been marked as a duplicate of 113235 ***