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 93202 - Exceptions when opening BPEL Variables window
Summary: Exceptions when opening BPEL Variables window
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Debugger (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexander Zgursky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-25 15:36 UTC by Mikhail Kondratyev
Modified: 2007-03-06 11:42 UTC (History)
0 users

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 Mikhail Kondratyev 2007-01-25 15:36:50 UTC
Build used: 20070123
Steps to reproduce:
 - start App server
 - enable debugging on server
 - create Sync sample project
 - deploy it
 - start debug session
 - close All debug windows 
 - set a breakpoint
 - start debugging, wait until process reaches the breakpoint
 - open BPEL Variables window
NPE Exception will be thrown. When you try to close this window or when you
reopen it then the ArrayIndexOutOfBoundsException will be thrown
NPE:
ava.lang.NullPointerException
	at
org.netbeans.modules.bpel.debugger.bdiclient.impl.ProcessInstanceImpl.getVariables(ProcessInstanceImpl.java:123)
	at
org.netbeans.modules.bpel.debugger.ui.variable.BpelVariableTreeModel.getVariables(BpelVariableTreeModel.java:187)
	at
org.netbeans.modules.bpel.debugger.ui.variable.BpelVariableTreeModel.getChildren(BpelVariableTreeModel.java:82)
	at
org.netbeans.modules.bpel.debugger.ui.variable.BpelVariableTreeModel.getChildrenCount(BpelVariableTreeModel.java:106)
	at
org.netbeans.modules.bpel.debugger.ui.variable.BpelVariableTreeModel.isLeaf(BpelVariableTreeModel.java:117)
	at org.netbeans.spi.viewmodel.Models$DelegatingTreeModel.isLeaf(Models.java:1054)
	at org.netbeans.spi.viewmodel.Models$CompoundModel.isLeaf(Models.java:2217)
	at
org.netbeans.modules.viewmodel.TreeModelNode.createChildren(TreeModelNode.java:135)
	at org.netbeans.modules.viewmodel.TreeModelNode.<init>(TreeModelNode.java:91)
	at org.netbeans.modules.viewmodel.TreeModelRoot.getRootNode(TreeModelRoot.java:73)
	at org.netbeans.modules.viewmodel.TreeTable.setModel(TreeTable.java:120)
Comment 1 Alexander Zgursky 2007-01-26 15:29:53 UTC
Looks like a problem with installer synchronization - there was a "fix" for it
in Alaska repository (Mei's commit from 17 Jan).
Comment 2 Alexander Zgursky 2007-01-29 21:22:10 UTC
It's appeared to be that there is another bug on the runtime side that causes
this  issue. It's filed in BugSter, see CR#6518818.
It will probably require to create an ugly hack to workaround the runtime bug if
it won't be fixed.

Note that this issue is reproduced only when the current activity in the
debugger is a Scope activity.
Comment 3 Alexander Zgursky 2007-02-09 11:12:41 UTC
The fix for the runtime bug has been integrated. Going to close this issue as
soon as the runtime fix will get to some gavotte build.
Comment 4 Sergey Lunegov 2007-02-14 17:08:15 UTC
Fixed in 070214_2 daily build
Comment 5 Mikhail Kondratyev 2007-03-06 11:42:02 UTC
Could not reproduce
Verified