When I put
run.args.extra=-J-Dnetbeans.winsys.hideEmptyDocArea=true
in my project.properties
I got a NullPointerException (NPE ) at startup. I though it was a bug and I reported it but then I realized that I got the NPE because I had removed/hidden also the editor.wsmode
in my layer.xml
1
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10
<span class='line'>...
</span><span class='line'>...
</span><span class='line'><folder name="Windows2">
</span><span class='line'> <folder name="Modes">
</span><span class='line'> <folder name="editor_hidden"/>
</span><span class='line'> <file name="editor.wsmode_hidden"/>
</span><span class='line'> </folder>
</span><span class='line'></folder>
</span><span class='line'>...
</span><span class='line'>...</span>
As soon as I removed those entries from the layer.xml
hideEmptyDocAre worked perfectly.
Posted by Ruben Laguna
Jul 3 rd , 2010 12:00 am
area , document , documentarea , empty , exception , grey , hide , java , netbeans , npe , null , nullpointer , nullpointerexception , pointer
« Getting rid of the grey empty area on your Netbeans Platform Application (RCP)
Netbeans “Drop to Frame” debugging »