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

Summary: NullPointerException at org.netbeans.modules.web.struts.editor.StrutsConfigHyperlinkProvider.findDefinitionInSection
Product: javaee Reporter: marco76
Component: StrutsAssignee: Martin Fousek <marfous>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 195121
Attachments: stacktrace

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