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 154861 - NullPointerException at org.netbeans.modules.bpel.design.decoration.DecorationManager.getDecoration
Summary: NullPointerException at org.netbeans.modules.bpel.design.decoration.Decoratio...
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-07 10:45 UTC by Maksim Khramov
Modified: 2009-03-26 19:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 139418


Attachments
stacktrace (1.25 KB, text/plain)
2008-12-07 10:45 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2008-12-07 10:45:29 UTC
Build: NetBeans IDE Dev (Build 200811071401)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.bpel.design.decoration.DecorationManager.getDecoration(DecorationManager.java:54)
        at org.netbeans.modules.bpel.design.decoration.ComponentDecorationsUpdater.buildComponentsList(ComponentDecorationsUpdater.java:107)
        at org.netbeans.modules.bpel.design.decoration.ComponentDecorationsUpdater.update(ComponentDecorationsUpdater.java:72)
        at org.netbeans.modules.bpel.design.decoration.DecorationManager$DecorationUpdater.run(DecorationManager.java:143)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
Comment 1 Maksim Khramov 2008-12-07 10:45:34 UTC
Created attachment 74659 [details]
stacktrace
Comment 2 Sergey Lunegov 2008-12-08 09:34:16 UTC
Maksim, please provide more details how to reproduce the issue.
Comment 3 Maksim Khramov 2008-12-08 19:14:09 UTC
I typed a code in BPEL editor, in documentation tag, but I cannot reproduce it anymore.
Comment 4 Vladimir Yaroslavskiy 2008-12-15 13:36:47 UTC
Can't reproduce, but add additional check:
http://hg.netbeans.org/soa-dev/rev/750bd85d07e6
http://hg.netbeans.org/main/rev/1e9d6154d257
Comment 5 Quality Engineering 2008-12-18 06:38:49 UTC
Integrated into 'main-golden', will be available in build *200812180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1e9d6154d257
User: Vladimir Yaroslavskiy <yaroslavskiy@netbeans.org>
Log: [Issue #154861] NullPointerException at org.netbeans.modules.bpel.design.decoration.DecorationManager.getDecoration
Comment 6 terrybraun 2009-03-26 19:43:06 UTC
Tested and closed with NetBeans IDE 6.5.1 (Build 200903201801)

Manually added <documentation> elements were added as the first sub-element of a random sample of BPEL elements. In all 
cases, the resulting XML was successfully validated.

Adding the <documentation> element to any position other than as the first sub-element generated "Invalid content ..." 
errors, stating that "child element is not expected at this point".