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 212993 - NullPointerException: persistenceType attribute not specified for null
Summary: NullPointerException: persistenceType attribute not specified for null
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 08:36 UTC by Maksim Khramov
Modified: 2012-06-01 05:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 188362


Attachments
stacktrace (2.72 KB, text/plain)
2012-05-25 08:36 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2012-05-25 08:36:05 UTC
Build: NetBeans IDE Dev (Build 201205200400)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Windows 7

Stacktrace: 
java.lang.NullPointerException: persistenceType attribute not specified for null
   at org.netbeans.core.spi.multiview.MultiViewFactory$MapMVD.get(MultiViewFactory.java:379)
   at org.netbeans.core.spi.multiview.MultiViewFactory$MapMVD.getPersistenceType(MultiViewFactory.java:390)
   at org.netbeans.core.multiview.MultiViewPeer.getPersistenceType(MultiViewPeer.java:459)
   at org.netbeans.core.multiview.MultiViewCloneableTopComponent.getPersistenceType(MultiViewCloneableTopComponent.java:191)
   at org.netbeans.core.windows.persistence.PersistenceManager.persistenceType(PersistenceManager.java:436)
   at org.netbeans.core.windows.persistence.PersistenceManager.isTopComponentPersistentWhenClosed(PersistenceManager.java:441)
Comment 1 Maksim Khramov 2012-05-25 08:36:10 UTC
Created attachment 119864 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2012-05-29 09:19:37 UTC
core-main 3378843ee4c1
Comment 3 Quality Engineering 2012-06-01 05:25:59 UTC
Integrated into 'main-golden', will be available in build *201206010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3378843ee4c1
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #212993 - provide fallback in case the multiview isn't fully initialized to avoid exceptions in winsys