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.
Build: NetBeans IDE Dev (Build 201302112300) VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_13-b20 OS: Windows 7 Stacktrace: java.lang.AssertionError at org.netbeans.spi.editor.completion.support.CompletionUtilities.renderHtml(CompletionUtilities.java:167) at org.netbeans.modules.editor.java.JavaCompletionItem.render(JavaCompletionItem.java:363) at org.netbeans.modules.editor.completion.CompletionJList$RenderComponent.paintComponent(CompletionJList.java:364) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.CellRendererPane.paintComponent(CellRendererPane.java:151) at javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:227)
Created attachment 131330 [details] stacktrace
Exception occurs when using Netbeans Metal L&F when switching to Windows L&F anther Exception[1] (already reported) occurs just once then completion works fine. [1] Exception that occurs with Windows L&F (already reported elsewhere): java.lang.NoSuchMethodError: org.netbeans.modules.glassfish.spi.ServerUtilities.getAssociatedJavaDoc()[Ljava/lang/String; at org.netbeans.modules.glassfish.javaee.ide.Hk2PluginProperties.getJavadocs(Hk2PluginProperties.java:310) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformImpl$2.run(Hk2JavaEEPlatformImpl.java:456) Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to at org.openide.util.RequestProcessor.post(RequestProcessor.java:424) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformImpl.initLibraries(Hk2JavaEEPlatformImpl.java:450) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformImpl.<init>(Hk2JavaEEPlatformImpl.java:116) at org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformFactory.getJ2eePlatformImpl(Hk2JavaEEPlatformFactory.java:125) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getJ2eePlatformImpl(ServerInstance.java:347) at org.netbeans.modules.j2ee.deployment.devmodules.api.J2eePlatform.create(J2eePlatform.java:281) at org.netbeans.modules.j2ee.deployment.devmodules.api.ServerInstance.getJ2eePlatform(ServerInstance.java:147) at org.netbeans.modules.glassfish.javaee.JavaEEServerModule.<init>(JavaEEServerModule.java:83) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.createModule(JavaEEServerModuleFactory.java:165) at org.netbeans.modules.glassfish.common.GlassfishInstance.updateFactories(GlassfishInstance.java:1136) at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(GlassfishInstance.java:312) at org.netbeans.modules.glassfish.common.GlassfishInstanceProvider.init(GlassfishInstanceProvider.java:428) at org.netbeans.modules.glassfish.common.GlassfishInstanceProvider.getEe6(GlassfishInstanceProvider.java:135) at org.netbeans.modules.glassfish.spi.ServerUtilities.getEe6Utilities(ServerUtilities.java:98) at org.netbeans.modules.glassfish.javaee.Hk2OptionalFactory.createEe6(Hk2OptionalFactory.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.netbeans.core.startup.layers.BinaryFS$AttrImpl$MethodAndParams.invoke(BinaryFS.java:773) at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:703) at org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(BinaryFS.java:549) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:944) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:877) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:940) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:877) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:798) at org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1398) at org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:846) at org.openide.loaders.FolderLookup$ICItem.getInstance(FolderLookup.java:597) at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:422) at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:223) at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:223) at org.netbeans.modules.j2ee.deployment.impl.Server.getOptionalFactory(Server.java:249) at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.init(ServerRegistry.java:160) at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.instancesMap(ServerRegistry.java:184) at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.getInstanceURLs(ServerRegistry.java:291) at org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties.getInstanceList(InstanceProperties.java:326) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.getServerInstanceIDs(Deployment.java:346) at org.netbeans.modules.j2ee.deployment.impl.query.J2eePlatformSourceForBinaryQuery.findSourceRoots2(J2eePlatformSourceForBinaryQuery.java:96) at org.netbeans.modules.j2ee.deployment.impl.query.J2eePlatformSourceForBinaryQuery.findSourceRoots(J2eePlatformSourceForBinaryQuery.java:132) at org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots(SourceForBinaryQuery.java:96) at org.netbeans.api.java.source.SourceUtils.getFile(SourceUtils.java:499) at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:289) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:223) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2048)
I can confirm this bug and tested at least with nightly builds from Feb 12th and Feb 18th 2013. It happens with dark theme enabled when attempting to do auto-completion. I have the following additions in ./etc/netbeans.conf: --laf Metal -J-Dnetbeans.plaf.dark.theme=true --fontsize 10
Can confirm for both OS, GNU/Linux (Ubuntu 12.10) and MacOS Mountain Lion.
*** Bug 226464 has been marked as a duplicate of this bug. ***
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/b3b0329032b0
Integrated into 'main-golden', will be available in build *201303042300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b3b0329032b0 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #226040: AssertionError at org.netbeans.spi.editor.completion.support.CompletionUtilities.renderHtml - fixed.
Works perfectly - thank you very much!
Yes works perfect! Thank you! Is there a way to change the font-colors in the completion window. Some colors are very dark...
v.