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 253981

Summary: NullPointerException at org.netbeans.modules.debugger.ui.views.debugging.FiltersDescriptor$FilterImpl.setState
Product: debugger Reporter: Tomas Mysik <tmysik>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal Keywords: RANDOM
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 218235
Attachments: stacktrace

Description Tomas Mysik 2015-07-30 09:54:16 UTC
Build: NetBeans IDE Dev (Build web-main-2613-on-20150730)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
tmysik: attached and debugging another NB instance

GUEST: Debugging RabbitMQ application.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.ui.views.debugging.FiltersDescriptor$FilterImpl.setState(FiltersDescriptor.java:455)
   at org.netbeans.modules.debugger.ui.views.debugging.FiltersDescriptor$FilterImpl.access$500(FiltersDescriptor.java:295)
   at org.netbeans.modules.debugger.ui.views.debugging.FiltersDescriptor$FilterImpl$1.preferenceChange(FiltersDescriptor.java:511)
   at sun.reflect.GeneratedMethodAccessor135.invoke(GeneratedMethodAccessor135.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:497)
Comment 1 Tomas Mysik 2015-07-30 09:54:18 UTC
Created attachment 155042 [details]
stacktrace
Comment 2 Martin Entlicher 2015-07-30 10:49:22 UTC
Does it happen when the debugger is started for the first time only? And do you have Debugging view opened?
Comment 3 Tomas Mysik 2015-07-30 10:50:45 UTC
(In reply to Martin Entlicher from comment #2)
> Does it happen when the debugger is started for the first time only?

No idea, sorry. I just noticed this in the Notifications window.

> And do you have Debugging view opened?

Yes.
Comment 4 Martin Entlicher 2015-07-30 10:58:45 UTC
Thanks.
Comment 5 Martin Entlicher 2015-08-11 09:36:00 UTC
Fixed by changeset:   290700:8cf3b9ca96d7
http://hg.netbeans.org/core-main/rev/8cf3b9ca96d7
Comment 6 Quality Engineering 2015-08-13 01:19:18 UTC
Integrated into 'main-silver', will be available in build *201508130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8cf3b9ca96d7
User: mentlicher@netbeans.org
Log: #253981: Set the state on EQ thread.