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 243251 - NullPointerException at org.netbeans.modules.properties.PropertiesEditorSupport$PropertiesEditor.getToolbarRepresentation
Summary: NullPointerException at org.netbeans.modules.properties.PropertiesEditorSuppo...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-25 11:33 UTC by IrianR
Modified: 2015-09-10 01:30 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 183946


Attachments
stacktrace (5.17 KB, text/plain)
2014-03-25 11:34 UTC, IrianR
Details
stacktrace (10.79 KB, text/plain)
2014-11-26 08:52 UTC, IrianR
Details
stacktrace (19.21 KB, text/plain)
2015-03-10 08:17 UTC, IrianR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description IrianR 2014-03-25 11:33:55 UTC
Build: NetBeans IDE Dev (Build 201403120001)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
GUEST: Just opened IDE with some plain JAVA projects already opened.

GUEST: Opening an old java project.

IrianR: Opening a Java EE project

GUEST: -

GUEST: closing all windows.

GUEST: Just came back after lunch and noticed the exception.

GUEST: Opening a Project

GUEST: Opening an old project.

GUEST: opening a project

GUEST: opening a project

GUEST: Opening an old freeform project.

GUEST: <Please provide a description of the problem or the steps to reproduce>




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.properties.PropertiesEditorSupport$PropertiesEditor.getToolbarRepresentation(PropertiesEditorSupport.java:1381)
   at org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing(MultiViewPeer.java:339)
   at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentShowing(MultiViewCloneableTopComponent.java:131)
   at org.openide.windows.WindowManager.componentShowing(WindowManager.java:339)
   at org.netbeans.core.windows.WindowManagerImpl.componentShowing(WindowManagerImpl.java:1200)
   at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:168)
Comment 1 IrianR 2014-03-25 11:34:01 UTC
Created attachment 146302 [details]
stacktrace
Comment 2 Jan Peska 2014-07-23 08:00:29 UTC
According to the IDE log the editor pane cannot be initialized : WARNING [org.openide.text.CloneableEditor]: AWT is blocked by modal dialog. Return null from CloneableEditor.getEditorPane. Please report this to IZ.

reassigning to Platform/Text for further evaluation
Comment 3 IrianR 2014-11-26 08:52:06 UTC
Created attachment 150715 [details]
stacktrace

Opening an old free form project.
Comment 4 IrianR 2015-03-10 08:17:09 UTC
Created attachment 152519 [details]
stacktrace

Opening a really old freeform project.
Comment 5 Exceptions Reporter 2015-05-26 07:52:13 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=183946
Comment 6 civime 2015-08-05 02:50:50 UTC
Through our investigation, we found that the following changes may induced this bug: 

rank 	 revision	 suspicious value
1	afa073274618(http://hg.netbeans.org/main/rev/afa073274618)	0.9601252183529486
2	a6b6e3cf36a4(http://hg.netbeans.org/main/rev/a6b6e3cf36a4)	0.9154065808398161
3	313ca82fe335(http://hg.netbeans.org/main/rev/313ca82fe335)	0.7045015374566231
4	128de1eb603d(http://hg.netbeans.org/main/rev/128de1eb603d)	0.5763920507083152
5	8870deb3cd89(http://hg.netbeans.org/main/rev/8870deb3cd89)	0.4771497921319174
6	b2c397f51fb0(http://hg.netbeans.org/main/rev/b2c397f51fb0)	0.42493113396492516
7	481670dcdf35(http://hg.netbeans.org/main/rev/481670dcdf35)	0.30541934901466894
8	4f7f3b9e23bc(http://hg.netbeans.org/main/rev/4f7f3b9e23bc)	0.2707247838161393
9	013c4862a792(http://hg.netbeans.org/main/rev/013c4862a792)	0.2657280037018242
10	4c37e267a418(http://hg.netbeans.org/main/rev/4c37e267a418)	0.2654940292019757
11	c2d3d1b7cb10(http://hg.netbeans.org/main/rev/c2d3d1b7cb10)	0.25935490198639194
12	fe15228c9896(http://hg.netbeans.org/main/rev/fe15228c9896)	0.24952088631166935
13	875bb9284a61(http://hg.netbeans.org/main/rev/875bb9284a61)	0.24115689453228595
14	917b620b06b0(http://hg.netbeans.org/main/rev/917b620b06b0)	0.23440860211486775
15	7066526d0a7f(http://hg.netbeans.org/main/rev/7066526d0a7f)	0.22850570933535855
16	eefe8ba954b4(http://hg.netbeans.org/main/rev/eefe8ba954b4)	0.22681088012378448
17	55419c0a2706(http://hg.netbeans.org/main/rev/55419c0a2706)	0.22568536270236553
18	3fd863e8ce59(http://hg.netbeans.org/main/rev/3fd863e8ce59)	0.2184265718223841
19	a410c353a968(http://hg.netbeans.org/main/rev/a410c353a968)	0.2035950343519646
20	c3fc2787261f(http://hg.netbeans.org/main/rev/c3fc2787261f)	0.19959731331923355

Hope it is useful for fixing this bug. If so, please help us conduct this short survey  https://docs.google.com/forms/d/1roQYX1dHezcB97KQ_iTKEtadaVbzK6FpU-6aGxeUo6M :) Thanks very much!
Comment 7 civime 2015-08-05 11:30:09 UTC
(In reply to civime from comment #6)
> Through our investigation, we found that the following changes may induced
> this bug: 
> 
> rank 	 revision	 suspicious value
> 1	afa073274618(http://hg.netbeans.org/main/rev/afa073274618)
> 0.9601252183529486
> 2	a6b6e3cf36a4(http://hg.netbeans.org/main/rev/a6b6e3cf36a4)
> 0.9154065808398161
> 3	313ca82fe335(http://hg.netbeans.org/main/rev/313ca82fe335)
> 0.7045015374566231
> 4	128de1eb603d(http://hg.netbeans.org/main/rev/128de1eb603d)
> 0.5763920507083152
> 5	8870deb3cd89(http://hg.netbeans.org/main/rev/8870deb3cd89)
> 0.4771497921319174
> 6	b2c397f51fb0(http://hg.netbeans.org/main/rev/b2c397f51fb0)
> 0.42493113396492516
> 7	481670dcdf35(http://hg.netbeans.org/main/rev/481670dcdf35)
> 0.30541934901466894
> 8	4f7f3b9e23bc(http://hg.netbeans.org/main/rev/4f7f3b9e23bc)
> 0.2707247838161393
> 9	013c4862a792(http://hg.netbeans.org/main/rev/013c4862a792)
> 0.2657280037018242
> 10	4c37e267a418(http://hg.netbeans.org/main/rev/4c37e267a418)
> 0.2654940292019757
> 11	c2d3d1b7cb10(http://hg.netbeans.org/main/rev/c2d3d1b7cb10)
> 0.25935490198639194
> 12	fe15228c9896(http://hg.netbeans.org/main/rev/fe15228c9896)
> 0.24952088631166935
> 13	875bb9284a61(http://hg.netbeans.org/main/rev/875bb9284a61)
> 0.24115689453228595
> 14	917b620b06b0(http://hg.netbeans.org/main/rev/917b620b06b0)
> 0.23440860211486775
> 15	7066526d0a7f(http://hg.netbeans.org/main/rev/7066526d0a7f)
> 0.22850570933535855
> 16	eefe8ba954b4(http://hg.netbeans.org/main/rev/eefe8ba954b4)
> 0.22681088012378448
> 17	55419c0a2706(http://hg.netbeans.org/main/rev/55419c0a2706)
> 0.22568536270236553
> 18	3fd863e8ce59(http://hg.netbeans.org/main/rev/3fd863e8ce59)
> 0.2184265718223841
> 19	a410c353a968(http://hg.netbeans.org/main/rev/a410c353a968)
> 0.2035950343519646
> 20	c3fc2787261f(http://hg.netbeans.org/main/rev/c3fc2787261f)
> 0.19959731331923355
> 
> Hope it is useful for fixing this bug. If so, please help us conduct this
> short survey 
> https://docs.google.com/forms/d/1roQYX1dHezcB97KQ_iTKEtadaVbzK6FpU-6aGxeUo6M
> :) Thanks very much!

The better list should be:

rank 	 revision	 suspicious value
1	b2c397f51fb0(http://hg.netbeans.org/main/rev/b2c397f51fb0)	0.42493113396492516
2	481670dcdf35(http://hg.netbeans.org/main/rev/481670dcdf35)	0.30541934901466894
3	4f7f3b9e23bc(http://hg.netbeans.org/main/rev/4f7f3b9e23bc)	0.2707247838161393
4	013c4862a792(http://hg.netbeans.org/main/rev/013c4862a792)	0.2657280037018242
5	4c37e267a418(http://hg.netbeans.org/main/rev/4c37e267a418)	0.2654940292019757
6	c2d3d1b7cb10(http://hg.netbeans.org/main/rev/c2d3d1b7cb10)	0.25935490198639194
7	fe15228c9896(http://hg.netbeans.org/main/rev/fe15228c9896)	0.24952088631166935
8	875bb9284a61(http://hg.netbeans.org/main/rev/875bb9284a61)	0.24115689453228595
9	917b620b06b0(http://hg.netbeans.org/main/rev/917b620b06b0)	0.23440860211486775
10	7066526d0a7f(http://hg.netbeans.org/main/rev/7066526d0a7f)	0.22850570933535855

Thanks very much~~
Comment 8 Miloslav Metelka 2015-09-09 09:46:36 UTC
Cannot reproduce the problem but hopefully fixed.
http://hg.netbeans.org/jet-main/rev/9511a2cab1d2
Comment 9 Quality Engineering 2015-09-10 01:30:14 UTC
Integrated into 'main-silver', will be available in build *201509100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9511a2cab1d2
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #243251 - NullPointerException at org.netbeans.modules.properties.PropertiesEditorSupport$PropertiesEditor.getToolbarRepresentation.