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 239456 - NullPointerException at com.timboudreau.adhoc.project.AdhocProjectNode$ProxyOpenFilterChildren$FN$SimpleWrapper.addPropertyChangeListener
Summary: NullPointerException at com.timboudreau.adhoc.project.AdhocProjectNode$ProxyO...
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-13 10:31 UTC by Exceptions Reporter
Modified: 2013-12-13 10:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205993


Attachments
stacktrace (3.41 KB, text/plain)
2013-12-13 10:31 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-12-13 10:31:09 UTC
This issue was reported manually by eviweb.
It already has 1 duplicates 


Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b61, Java(TM) SE Runtime Environment, 1.8.0-ea-b119
OS: Linux

User Comments:
GUEST: seems to be thrown for unknown file types

step to reproduce :
- in your system create a folder with a text file without extension (ie: LICENSE)
- in netbeans, create a new project > Misc > Ad-Hoc Project
- browse to the created folder and valid
- try to edit the text file from the project Sources node

I encountered the same issue when editing a bash script while the C/C++ module wasn't activated.




Stacktrace: 
java.lang.NullPointerException
   at com.timboudreau.adhoc.project.AdhocProjectNode$ProxyOpenFilterChildren$FN$SimpleWrapper.addPropertyChangeListener(AdhocProjectNode.java:546)
   at org.openide.awt.Actions$Bridge.addNotify(Actions.java:908)
   at org.openide.awt.Actions$MenuBridge.prepare(Actions.java:1219)
   at org.openide.awt.Actions.connect(Actions.java:201)
   at org.openide.awt.Actions$MenuItem.<init>(Actions.java:1571)
   at org.netbeans.modules.openide.awt.DefaultAWTBridge.createPopupPresenter(DefaultAWTBridge.java:91)
Comment 1 Exceptions Reporter 2013-12-13 10:31:11 UTC
Created attachment 143143 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2013-12-13 10:53:54 UTC
A bug in third-party code: com.timboudreau.adhoc.project.AdhocProjectNode$ProxyOpenFilterChildren

Uninstall that plugin and you should be fine.