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 222110 - NullPointerException at org.netbeans.modules.web.struts.editor.StrutsConfigHyperlinkProvider.findDefinitionInSection
Summary: NullPointerException at org.netbeans.modules.web.struts.editor.StrutsConfigHy...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Struts (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-14 13:14 UTC by marco76
Modified: 2012-11-17 02:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 195121


Attachments
stacktrace (3.08 KB, text/plain)
2012-11-14 13:14 UTC, marco76
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marco76 2012-11-14 13:14:20 UTC
Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24
OS: Windows 7

User Comments:
marco76: clicked (ctrl+mouse) on a form bean (name) declaration in action tag (struts config file)
<action
className="outils.struts.config.CtiActionMapping"
                scope="session"
                name="FB_AFFAIRES_ELP_LOT_RECHERCHE"
                attribute="FB_AFFAIRES_ELP_LOT_RECHERCHE"
...
/>




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.struts.editor.StrutsConfigHyperlinkProvider.findDefinitionInSection(StrutsConfigHyperlinkProvider.java:326)
   at org.netbeans.modules.web.struts.editor.StrutsConfigHyperlinkProvider.findForm(StrutsConfigHyperlinkProvider.java:255)
   at org.netbeans.modules.web.struts.editor.StrutsConfigHyperlinkProvider.performClickAction(StrutsConfigHyperlinkProvider.java:159)
   at org.netbeans.lib.editor.hyperlink.HyperlinkOperation$1.performClickAction(HyperlinkOperation.java:314)
   at org.netbeans.lib.editor.hyperlink.HyperlinkOperation.performAction(HyperlinkOperation.java:273)
   at org.netbeans.lib.editor.hyperlink.HyperlinkOperation.mouseClicked(HyperlinkOperation.java:445)
Comment 1 marco76 2012-11-14 13:14:22 UTC
Created attachment 127773 [details]
stacktrace
Comment 2 Martin Fousek 2012-11-16 08:55:53 UTC
Fixed in web-main #1553700c3dd5.
Comment 3 Quality Engineering 2012-11-17 02:42:54 UTC
Integrated into 'main-golden', will be available in build *201211170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1553700c3dd5
User: Martin Fousek <marfous@netbeans.org>
Log: #222110 - NullPointerException at org.netbeans.modules.web.struts.editor.StrutsConfigHyperlinkProvider.findDefinitionInSection