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 95833 - NPE when switching broken BPEL to design view
Summary: NPE when switching broken BPEL to design view
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitaly Bychkov
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-02-16 16:25 UTC by Mikhail Kondratyev
Modified: 2007-04-27 17:56 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 Mikhail Kondratyev 2007-02-16 16:25:07 UTC
Steps to reproduce:
 - create a new Synchronous sample
 - switch to source
 - break BPEL, for example, just rename process tag to proooooocess
 - switch to design view
NPE will be thrown.  NPE does not have BPEL packages in the stack trace but
can't be reproduced with XML schema or WSDL documents
NPE details:
java.lang.NullPointerException
	at
org.netbeans.modules.ant.debugger.breakpoints.AntBreakpointActionProvider.getCurrentLine(AntBreakpointActionProvider.java:105)
	at
org.netbeans.modules.ant.debugger.breakpoints.AntBreakpointActionProvider.propertyChange(AntBreakpointActionProvider.java:137)
	at
org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:151)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
	at
org.netbeans.core.windows.RegistryImpl.doFirePropertyChange(RegistryImpl.java:255)
	at org.netbeans.core.windows.RegistryImpl.tryFireChanges(RegistryImpl.java:228)
	at
org.netbeans.core.windows.RegistryImpl.selectedNodesChanged(RegistryImpl.java:192)
	at
org.netbeans.core.windows.RegistryImpl.topComponentActivated(RegistryImpl.java:144)
	at
org.netbeans.core.windows.WindowManagerImpl.notifyRegistryTopComponentActivated(WindowManagerImpl.java:919)
	at org.netbeans.core.windows.Central.activateModeTopComponent(Central.java:1392)
	at
org.netbeans.core.windows.WindowManagerImpl.topComponentRequestActive(WindowManagerImpl.java:1020)
	at org.openide.windows.TopComponent.requestActive(TopComponent.java:625)
	at org.openide.windows.CloneableOpenSupport$1.run(CloneableOpenSupport.java:77)
	at org.openide.util.Mutex.doEvent(Mutex.java:1158)
	at org.openide.util.Mutex.writeAccess(Mutex.java:375)
	at org.openide.windows.CloneableOpenSupport.open(CloneableOpenSupport.java:73)
	at org.openide.text.CloneableEditorSupport.open(CloneableEditorSupport.java:407)
	at
org.netbeans.modules.bpel.core.BPELDataObject$BPELNode$1.actionPerformed(BPELDataObject.java:226)
	at org.openide.explorer.view.TreeView$PopupSupport.mouseClicked(TreeView.java:1386)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
	at java.awt.Component.processMouseEvent(Component.java:6041)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
	at java.awt.Component.processEvent(Component.java:5803)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4410)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
	at java.awt.Container.dispatchEventImpl(Container.java:2102)
	at java.awt.Window.dispatchEventImpl(Window.java:2429)
	at java.awt.Component.dispatchEvent(Component.java:4240)
Comment 1 Mikhail Kondratyev 2007-02-16 16:26:33 UTC
This can be reproduced in the build 16_2 but not in the build 14_22
Comment 2 Sergey Lunegov 2007-02-16 16:30:10 UTC
Vitaly please look at this. Probably it's already fixed.
Comment 3 Mikhail Kondratyev 2007-02-16 16:31:29 UTC
The bug can also be reproduced if you have a broken BPEL and try to open it in
designer
Comment 4 Alexey Anjeleevich 2007-02-16 17:22:37 UTC
Fixed.
Comment 5 Oleg Barbashov 2007-04-27 17:45:44 UTC
Fix is confirmed.
Comment 6 Oleg Barbashov 2007-04-27 17:56:16 UTC
-