[ https://issues.apache.org/jira/browse/NETBEANS-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16672126#comment-16672126 ]
Geertjan Wielenga commented on NETBEANS-1423: --------------------------------------------- No, I don't, but you can try JDK 12 EA 18 here: https://jdk.java.net/12/ > IllegalArgumentException when searching for possible code writing/completion. > ----------------------------------------------------------------------------- > > Key: NETBEANS-1423 > URL: https://issues.apache.org/jira/browse/NETBEANS-1423 > Project: NetBeans > Issue Type: Bug > Components: editor - Completion & Templates > Affects Versions: 10.0 > Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1 > Reporter: Michal Rama > Assignee: ARUNAVA SINHA > Priority: Critical > Labels: editor > Attachments: picture1.png > > > 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. > {code:java} > 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){code} > Sometimes he does it only once, sometimes several times in a row. > Additionally, each error will add Saving snapshot, > !picture1.png! > 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 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists