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 271686 - NetBeans throws "unexpected exception" and stops working when something is performed
Summary: NetBeans throws "unexpected exception" and stops working when something is pe...
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-23 15:22 UTC by RBevione
Modified: 2019-07-07 16:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: unexpected exception


Attachments
the error log created by this bug (42.46 KB, application/octet-stream)
2017-10-23 15:22 UTC, RBevione
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RBevione 2017-10-23 15:22:36 UTC
Created attachment 165340 [details]
the error log created by this bug

I apologize if this report is lacking in something; it's the first time I need to ask a question myself, so please be forgiving.

The IDE for some reasons pretty much stops working when an action is performed(eg; opening "Tools->Options", creating a new project or opening an existing one; you will be able to select your project from the explorer, but NetBeans will stop after that).

The program is still responsive on its own, but no actions will be performed whatever you do: you may open a menu and select something, but nothing will happen after that. As this happen also when opening a new project, this means the IDE will stop working immediately after startup, if there was a previously opened project. An "unexpected exception" notification appears in the lower left corner, but it can't be opened because of this.

Running the program with admin privilege and deleting cache\userdir didn't solve the problem.

Attaching messages.log created when I tried to open "Tools->Option".
Comment 1 Jiri Kovalsky 2017-10-24 13:21:03 UTC
NetBeans 8.2 is not designed to work with JDK 9. You can only use JDK 8 as per this blog post: https://jaxenter.com/netbeans/using-apache-netbeans-incubating-jdk-9
Comment 2 RBevione 2017-10-24 13:33:54 UTC
Mr Jiri Kovalsky, I didn't know that and I thank you for the info
Comment 3 RBevione 2017-10-24 14:12:24 UTC
Switching JDK9 with JDK8 did the trick.