Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
10.0
-
None
-
Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
Description
Hello,
When I start writing a code (such as a class name), it says "please wait" and then a list of possible classes is displayed.
Or, if I write a dot after the object name, the same is done, and then a list of related methods and fields is displayed.
Sometimes it happens that "please wait" is displayed for a few seconds and then it will throw an error.
A java.lang.RuntimeException exception has occurred.
However, the system should continue working without further problems.
Clicking Show Details will appear.
java.lang.IllegalArgumentException: Argument compositeType cannot be null. at java.management/javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:206) at java.management/javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:118) at java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130) at java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72) Caused: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178) Caused: java.lang.RuntimeException at org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184) at org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44) at org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285) at org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253) at org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202) at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231) at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197) [catch] at org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84) at org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29) at org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Sometimes he does it only once, sometimes several times in a row.
Additionally, each error will add Saving snapshot,
which can not be canceled. (Only by closing the application)
This bug does not limit me, but it is quite annoying.
Please repair
Thank you
Attachments
Attachments
Issue Links
- Is contained by
-
NETBEANS-1654 Slow Code Completion Detected under JDK 12
- Open