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 52832 - Exception dialogs now popping up unrequested
Summary: Exception dialogs now popping up unrequested
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: REGRESSION
Depends on:
Blocks: 50365
  Show dependency tree
 
Reported: 2004-12-30 14:46 UTC by Jesse Glick
Modified: 2008-12-22 17:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-12-30 14:46:42 UTC
I am running 041226 custom on JDK 1.6 with
-J-Dnetbeans.logger.console=false and
-J-Dnetbeans.winsys.statusLine.in.menuBar=true.
Until recently, when a random exception was caught
(e.g. some NPE in RequestProcessor), the message
status would appear in red in the status line, and
I could go to the log file for details if I wanted
them. Now however (after issue #50365 I presume)
the old exception dialog appears immediately,
which is not what I want to happen; it is
unpleasant in builds you are actually using, since
it can block you from even saving important work
and so on.

http://core.netbeans.org/proposals/exception_notification.html

has this curious note:

"It is possible to switch the status bar
notification off (e.g. for beta releases) by a
global configuration property
(netbeans.logger.console=true)"

I am not sure what this means. What happens when
it is off, exactly? And why would you want to set
this flag to *true* in a beta release? It should
be true in dev builds, false in release builds, or
even just false all the time by default; and I
don't see what relationship it has to exception
notification.

I never want to print to console - the log file is
fine - and I want the status bar notification,
because I really do not want exception dialogs
popping up except when I ask to see them. So what
flag(s) do I need to set to get this behavior?
Comment 1 Jesse Glick 2004-12-30 15:02:04 UTC
More info: in my current build, the status bar notification is now
working correctly: the red icon appears and blinks, and the exception
dialog appears if and when I click on it. So it just failed to work
the first time an exception was thrown in the build. Note that the
stack trace is exactly the same in all cases: that of issue #52831.
Comment 2 Stanislav Aubrecht 2005-01-03 09:42:41 UTC
can you pls provide some reproducible steps to get the first exception
showing in the exception window?
thanx, 
stan
Comment 3 Jesse Glick 2005-01-03 17:24:33 UTC
Sorry, I have no idea - it just happened to me once as far as I know.
Comment 4 Jesse Glick 2005-06-22 19:50:39 UTC
Well I don't know how long this has been broken, but the
ExceptionVisualizerProvider in the status line does not currently work at all -
it is not registered in lookup! Trivial fix.
Comment 5 Jesse Glick 2005-06-22 23:22:37 UTC
added         Up-To-Date  1.1        
core/src/META-INF/services/org.openide.awt.StatusLineElementProvider
Comment 6 Jaromir Uhrik 2005-07-14 16:19:30 UTC
Verified.