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.
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?
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.
can you pls provide some reproducible steps to get the first exception showing in the exception window? thanx, stan
Sorry, I have no idea - it just happened to me once as far as I know.
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.
added Up-To-Date 1.1 core/src/META-INF/services/org.openide.awt.StatusLineElementProvider
Verified.