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 167890 - NullPointerException at org.netbeans.modules.spring.beans.editor.SpringXMLConfigEditorUtils.getTagAttributes
Summary: NullPointerException at org.netbeans.modules.spring.beans.editor.SpringXMLCon...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Cyhelsky
URL: http://statistics.netbeans.org/except...
Keywords:
: 151653 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-30 14:45 UTC by deyringer
Modified: 2009-10-09 23:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 146560


Attachments
stacktrace (1.67 KB, text/plain)
2009-06-30 14:45 UTC, deyringer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deyringer 2009-06-30 14:45:23 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.29.4-167.fc11.x86_64, amd64

User Comments:
deyringer: Editing Spring XML config

GUEST: editing Spring conf file

GUEST: adding a name to a property in a bean definition in a spring application context xml document.

GUEST: editing spring-batch app context



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.spring.beans.editor.SpringXMLConfigEditorUtils.getTagAttributes(SpringXMLConfigEditorUtils.java:106)
        at org.netbeans.modules.spring.beans.completion.completors.PropertyCompletor$1.run(PropertyCompletor.java:96)
        at org.netbeans.modules.spring.beans.completion.completors.PropertyCompletor$1.run(PropertyCompletor.java:92)
        at org.netbeans.api.java.source.JavaSource$MimeTask.run(JavaSource.java:517)
        at org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:335)
        at org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:319)
Comment 1 deyringer 2009-06-30 14:45:29 UTC
Created attachment 84189 [details]
stacktrace
Comment 2 Petr Cyhelsky 2009-08-10 12:50:49 UTC
*** Issue 151653 has been marked as a duplicate of this issue. ***
Comment 3 Petr Cyhelsky 2009-10-07 18:22:28 UTC
fixed in web-main: 148352:a7212b74eea2
Comment 4 Quality Engineering 2009-10-09 23:00:33 UTC
Integrated into 'main-golden', will be available in build *200910091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a7212b74eea2
User: Petr Cyhelsky <cyhelsky@netbeans.org>
Log: #167890 - Prevent NPE due to null beanTag