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 135604 - Endless NPE after casting in BPEL Mapper
Summary: Endless NPE after casting in BPEL Mapper
Status: VERIFIED WORKSFORME
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Mapper (show other bugs)
Version: 6.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Nikita Krjukov
URL:
Keywords:
: 135632 (view as bug list)
Depends on:
Blocks: 134484
  Show dependency tree
 
Reported: 2008-05-22 14:17 UTC by Andrei Chistiakov
Modified: 2008-11-04 00:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample project (8.08 KB, text/plain)
2008-05-22 14:17 UTC, Andrei Chistiakov
Details
Sample project (8.08 KB, application/octet-stream)
2008-05-22 14:18 UTC, Andrei Chistiakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Chistiakov 2008-05-22 14:17:02 UTC
Reproduced with NetBeans IDE Dev (Build 200805211202).

To reproduce:
- open the attached project;
- open BPEL doc;
- select Assign1 and switch to Mapper;
- in source tree expand NewWSDLOperationIn|part1 and select E01;
- cast E01 to T2;
- expand (T2)E01 and wait for a little while.

java.lang.NullPointerException
	at org.netbeans.modules.soa.mappercore.Mapper.getNode(Mapper.java:963)
	at org.netbeans.modules.soa.mappercore.ViewTooltips.showRightTree(ViewTooltips.java:284)
	at org.netbeans.modules.soa.mappercore.ViewTooltips.show(ViewTooltips.java:197)
	at org.netbeans.modules.soa.mappercore.ViewTooltips.mouseMoved(ViewTooltips.java:169)
	at java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:313)
	at java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:312)
	at java.awt.Component.processMouseMotionEvent(Component.java:6086)
	at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3283)
	at java.awt.Component.processEvent(Component.java:5810)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4413)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4243)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3999)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
	at java.awt.Container.dispatchEventImpl(Container.java:2102)
	at java.awt.Window.dispatchEventImpl(Window.java:2440)
	at java.awt.Component.dispatchEvent(Component.java:4243)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Andrei Chistiakov 2008-05-22 14:17:40 UTC
Created attachment 61761 [details]
Sample project
Comment 2 Andrei Chistiakov 2008-05-22 14:18:05 UTC
Created attachment 61762 [details]
Sample project
Comment 3 Sergey Lunegov 2008-05-22 14:23:01 UTC
Nikita, please look at this ASAP. It can impact other CAST fixes.
Comment 4 Kirill Sorokin 2008-05-22 23:04:08 UTC
*** Issue 135632 has been marked as a duplicate of this issue. ***
Comment 5 pslechta 2008-06-04 13:26:59 UTC
Developer, please fix this till 09-Jun-2008 so it can go to NB 6.1 patch 2...
Comment 6 Nikita Krjukov 2008-06-09 20:37:20 UTC
I can't reproduce the NPE on my local NetBeans. I build it from sources. 
According the stack trace, the reason of the NPE is in code of tool-tips.
As I know that code was improved recently by Alexander Permyakov. 
So I hope it was fixed indirectly. 

But maybe there is a misunderstanding. I don't know if the problem appeared 
in the trunk or in the fixes1 branch. So I think it has to be checked 
in the next fixes2 branch. 
Comment 7 pgebauer 2008-06-13 10:23:14 UTC
The issue didn't meet nomination criteria for 61patch2 till nomination cut-off
date. It has been moved to the next patch.
Comment 8 rbalada 2008-08-06 15:59:14 UTC
This issue did not meet the criteria for inclusion in NetBeans 6.1 Patch 3.
Comment 9 rbalada 2008-10-08 16:42:08 UTC
Erasing from Sustaining team's radar.
Comment 10 ggenipudi 2008-11-04 00:34:44 UTC
Tested and verified using glassfish esb 11/03 and was not able to reproduce the NPE using attached project and following
the steps described below.