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 108419 - Mapper throws ClassCastException when doXslTransform() is used in expressions
Summary: Mapper throws ClassCastException when doXslTransform() is used in expressions
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Mapper (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Alexey Yarmolenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-28 15:15 UTC by Andrei Chistiakov
Modified: 2007-08-08 17:05 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample project (16.22 KB, application/octet-stream)
2007-06-28 15:17 UTC, Andrei Chistiakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Chistiakov 2007-06-28 15:15:37 UTC
Reproduced in build 200706272201.

To reproduce the bug:
- open the attached project;
- open BPEL process file;
- select Assign1 activity.

java.lang.ClassCastException: org.netbeans.modules.bpel.xpath.model.nodes.impl.XPathOperatorNodeImpl cannot be cast to
org.netbeans.modules.bpel.xpath.model.nodes.XPathLiteralNode
	at
org.netbeans.modules.bpel.xpath.model.node.visitor.NodeLinkCreatorVisitor.transferLiteralValue(NodeLinkCreatorVisitor.java:150)
	at
org.netbeans.modules.bpel.xpath.model.node.visitor.NodeLinkCreatorVisitor.collapseLiteralNodes(NodeLinkCreatorVisitor.java:110)
	at org.netbeans.modules.bpel.xpath.model.node.visitor.NodeLinkCreatorVisitor.addLink(NodeLinkCreatorVisitor.java:94)
	at org.netbeans.modules.bpel.xpath.model.node.visitor.NodeLinkCreatorVisitor.visit(NodeLinkCreatorVisitor.java:84)
	at org.netbeans.modules.bpel.xpath.model.nodes.impl.XPathOperatorNodeImpl.accept(XPathOperatorNodeImpl.java:131)
	at org.netbeans.modules.bpel.xpath.view.impl.AssignRenderer.renderFrom(AssignRenderer.java:186)
	at org.netbeans.modules.bpel.xpath.view.impl.AssignRenderer.renderCopy(AssignRenderer.java:128)
	at org.netbeans.modules.bpel.xpath.view.impl.AssignRenderer.drawCopy(AssignRenderer.java:97)
	at org.netbeans.modules.bpel.xpath.view.impl.AssignRenderer.draw(AssignRenderer.java:87)
	at org.netbeans.modules.bpel.xpath.view.impl.AssignExpressionView.renderAssign(AssignExpressionView.java:117)
	at org.netbeans.modules.bpel.xpath.view.impl.AssignExpressionView.synchronizeExpressionView(AssignExpressionView.java:94)
	at org.netbeans.modules.bpel.xpath.view.output.DesignContextChanger.reloadEditor(DesignContextChanger.java:120)
	at org.netbeans.modules.bpel.xpath.view.output.ResultWindow.componentOpened(ResultWindow.java:143)
	at org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:280)
	at org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentOpened(WindowManagerImpl.java:955)
...
Comment 1 Andrei Chistiakov 2007-06-28 15:17:49 UTC
Created attachment 44528 [details]
Sample project
Comment 2 Sergey Lunegov 2007-08-06 12:53:18 UTC
Fix is in progress.
Comment 3 Alexey Yarmolenko 2007-08-06 13:27:41 UTC
Fixed.
Removed "EditableLiteral" flag for doXsltTransform element. 
This flag was added when i tried to implement in-place editing for xsl file name field.
Comment 4 Andrei Chistiakov 2007-08-08 17:05:20 UTC
Verified in build 200708080000.