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 202714 - NullPointerException at org.netbeans.modules.web.core.jsploader.JspDataObject$JspMultiViewEditorElement.componentDeactivated
Summary: NullPointerException at org.netbeans.modules.web.core.jsploader.JspDataObject...
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 202746 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-27 08:05 UTC by Maksim Khramov
Modified: 2011-11-23 15:34 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181423


Attachments
stacktrace (4.48 KB, text/plain)
2011-09-27 08:05 UTC, Maksim Khramov
Details
stacktrace (4.46 KB, text/plain)
2011-09-27 13:52 UTC, Jiri Skrivanek
Details
stacktrace (3.12 KB, text/plain)
2011-09-29 05:40 UTC, Martin Fousek
Details
stacktrace (2.03 KB, text/plain)
2011-09-29 14:08 UTC, Exceptions Reporter
Details
stacktrace (4.38 KB, text/plain)
2011-09-30 16:14 UTC, Petr Jiricka
Details
stacktrace (2.03 KB, text/plain)
2011-10-03 00:53 UTC, David Konecny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2011-09-27 08:05:25 UTC
Build: NetBeans IDE Dev (Build 201109250601)
VM: Java HotSpot(TM) Client VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0-201107191003.am159573.j2se-jprtadm_19_jul_2011_03_19-b00
OS: Windows 7

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.core.jsploader.JspDataObject$JspMultiViewEditorElement.componentDeactivated(JspDataObject.java:156)
   at org.netbeans.core.multiview.MultiViewPeer.peerComponentDeactivated(MultiViewPeer.java:281)
   at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentDeactivated(MultiViewCloneableTopComponent.java:135)
   at org.openide.windows.WindowManager.activateComponent(WindowManager.java:279)
   at org.openide.windows.WindowManager.componentCloseNotify(WindowManager.java:329)
   at org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentClosed(WindowManagerImpl.java:1113)
Comment 1 Maksim Khramov 2011-09-27 08:05:29 UTC
Created attachment 111223 [details]
stacktrace
Comment 2 Jiri Skrivanek 2011-09-27 13:52:35 UTC
Created attachment 111241 [details]
stacktrace

I closed index.jsp while IDE was just starting. Maybe projects were not initialized yet.
Comment 3 David Konecny 2011-09-27 18:20:02 UTC
*** Bug 202746 has been marked as a duplicate of this bug. ***
Comment 4 David Konecny 2011-09-27 18:21:08 UTC
Check also 202476 - NPE from JspMultiViewEditorElement.componentActivated
Comment 5 Martin Fousek 2011-09-29 05:40:32 UTC
Created attachment 111296 [details]
stacktrace
Comment 6 Exceptions Reporter 2011-09-29 14:08:41 UTC
Created attachment 111314 [details]
stacktrace
Comment 7 Petr Jiricka 2011-09-30 16:14:43 UTC
Created attachment 111374 [details]
stacktrace

Switching between open files in editor - switched to index.jsp
Comment 8 Petr Jiricka 2011-09-30 16:19:42 UTC
Seems to be caused by Marek's fix for bug 202480. This is reproducible very often -> P2.
Comment 9 Exceptions Reporter 2011-09-30 21:41:45 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=181423
Comment 10 David Konecny 2011-10-03 00:53:51 UTC
Created attachment 111408 [details]
stacktrace

restarted IDE
Comment 11 Marek Fukala 2011-10-03 12:55:26 UTC
fixed in web-main#1d2592ecfaf4
Comment 12 Quality Engineering 2011-10-04 14:09:29 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/1d2592ecfaf4
User: Marek Fukala <mfukala@netbeans.org>
Log: #202714 - NullPointerException at org.netbeans.modules.web.core.jsploader.JspDataObject$JspMultiViewEditorElement.componentDeactivated