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 270541 - Lots of random "Unexpected Exception" dialogs
Summary: Lots of random "Unexpected Exception" dialogs
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: Dev
Hardware: PC Windows 7 x64
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-03 07:45 UTC by Pere
Modified: 2017-05-03 07:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log - the dialog asked me to attach this file (199.88 KB, application/octet-stream)
2017-05-03 07:45 UTC, Pere
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pere 2017-05-03 07:45:28 UTC
Created attachment 164232 [details]
messages.log - the dialog asked me to attach this file

Previously it used to happen almost exclusively while debugging. My project is a Java web project and I've enabled incremental debugging (in order to see the effects of changes in my mode almost immediately). Pushing the "Apply Code Changes", if I remember, used to trigger this error sometimes. But now my impression is it happens all the time, even when not debugging / running. A random dialog with this annoying alert will appear, and then nothing stops it from appearing one and one and another time again, usually just after having closed the previous one, thus killing productivity. Then apparently the error can spontaneously disappear and leave you alone for a while, or keep there forever and a restart is necessary, crossing for fingers hoping it won't happen again.

This is the content of the dialog:

"Random 'Unexpected Exception' Dialog:
A java.lang.NullPointerException exception has ocurred.
Please report this at http://www.netbeans.org/community/issues.html,
including a copy of your messages.log file as an attachment.
The messages.log files is located in your 
(path)"

It could be that the main triggering session were having started a debugging session; I don't know at all.

I would say I started noticing this much more frequently after I started using dev versions from the two last months ago (that I downloaded for overcoming some other annoying bugs).

My setup is a multimonitor one. Although at this momment Netbeans only occupies one. 

When this error happens, no matter if I click "cancel" or whatever on the dialog, the IDE becomes unresponsive:
buttons can be "hovered" and they react "visually" to the state, but do nothing when clicked. I discovered that,
if I select one menú options from the vertical top var, buttons become responsive again. 

But it's very annoying as error dialogs would come and come again, preventing you from working.
Comment 1 Pere 2017-05-03 07:47:13 UTC
I forgot to say that, in addition for the buttons not being responsive, the text / code editor becomes unresponsive too. Although the cursor shape changes as if it were working, neither typing nor edition or copying / pasting will work.