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 95429 - NullPointerException after invocation Run to Cursor
Summary: NullPointerException after invocation Run to Cursor
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Debugger (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Alexander Zgursky
URL:
Keywords:
: 95428 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-13 15:24 UTC by Victoria Zhukovskaya
Modified: 2007-02-15 15:51 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 Victoria Zhukovskaya 2007-02-13 15:24:32 UTC
NB 5.5.1 + gavotte-070211_4-windows

1. Create Synchronouse Sample
add  <bpws:variable name="Variable1" type="xsd:boolean"/>
and change sequence to
    <sequence>
        <receive name="start" partnerLink="SynchronousSample"
operation="operation1" portType="ns1:portType1" variable="inputVar"
createInstance="yes"/>
        <bpws:assign name="Assign1">
            <bpws:copy>
           
<bpws:from>$inputVar.inputType/paramA</bpws:from><bpws:to>$outputVar.resultType/paramA</bpws:to>
            </bpws:copy>
            <bpws:copy>
                <bpws:from>true()</bpws:from>
                <bpws:to variable="Variable1"/>
            </bpws:copy>
        </bpws:assign>
        <bpws:while name="While1">
            <bpws:condition>$Variable1</bpws:condition>
            <bpws:sequence name="Sequence1">
                <bpws:empty name="Empty1"/>
                <bpws:assign name="Assign2">
                <bpws:copy>
                    <bpws:from>false()</bpws:from>
                    <bpws:to variable="Variable1"/>
                </bpws:copy>
            </bpws:assign>
            </bpws:sequence>
        </bpws:while>
        <reply name="end" partnerLink="SynchronousSample" operation="operation1"
portType="ns1:portType1" variable="outputVar"/>
    </sequence>

2. Add JBI Module to Synchronouse App
3. Run Application Server
4. Start  for JBI server JavaEEServiceEngine and com.sun.bpelse-1.0-2 (Runtime tab)
5. Set DebugEnabled property for com.sun.bpelse-1.0-2 to true
6. Restart Application Server
7. Open bpel design view for Synchronouse Sample
8. Set BreakPoint for start [Recieve activity] on bpel diagram 
9. Press "Attach Debugger..." btn on toolbar
10. Deploy project
11. Test Project
12.  Press  Step Into
13. Then press  Run to Cursor

java.lang.NullPointerException
	at
org.netbeans.modules.bpel.debugger.ui.editor.BpelEditorContext.removeAnnotation(BpelEditorContext.java:114)
	at
org.netbeans.modules.bpel.debugger.api.EditorContextBridge.removeAnnotation(EditorContextBridge.java:105)
	at
org.netbeans.modules.bpel.debugger.ui.ExecutionAnnotationsListener$AnnotationsHolder.clearAll(ExecutionAnnotationsListener.java:225)
	at
org.netbeans.modules.bpel.debugger.ui.ExecutionAnnotationsListener$AnnotationsHolder.annotate(ExecutionAnnotationsListener.java:197)
	at
org.netbeans.modules.bpel.debugger.ui.ExecutionAnnotationsListener$AnnotationRunnable.run(ExecutionAnnotationsListener.java:180)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)

While should has Empty and assign activity.
Then Need restart ide
Comment 1 Alexander Zgursky 2007-02-14 08:25:35 UTC
Simple fix
Comment 2 Sergey Lunegov 2007-02-14 08:49:12 UTC
*** Issue 95428 has been marked as a duplicate of this issue. ***
Comment 3 Alexander Zgursky 2007-02-14 08:51:24 UTC
*** Issue 95428 has been marked as a duplicate of this issue. ***
Comment 4 Victoria Zhukovskaya 2007-02-15 15:51:03 UTC
ent pack 070214_2