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.
Hello, As soon as I started the machine today, I get this Assertion error :- ****************************** >Log Session: Friday, January 20, 2006 9:13:25 AM IST >System Info: Product Version = NetBeans IDE 5.0 Beta 2 (Build 200511141730) Operating System = Windows 2000 version 5.0 running on x86 Java; VM; Vendor; Home = 1.4.2_03; Java HotSpot(TM) Client VM 1.4.2_03-b02; Sun Microsystems Inc.; C:\j2sdk1.4.2_03\jre System Locale; Encoding = en_GB (nb); Cp1252 Home Dir.; Current Dir. = C:\Documents and Settings\user; C:\Program Files\netbeans-5.0beta2 Installation; User Dir. = C:\Program Files\netbeans-5.0beta2\nb5.0;C:\Program Files\netbeans-5.0beta2\ide6;C:\Program Files\netbeans-5.0beta2\enterprise2;C:\Program Files\netbeans-5.0beta2\harness;C:\Program Files\netbeans-5.0beta2\platform6; C:\Documents and Settings\user\.netbeans\5.0beta2 Boot & Ext. Classpath = C:\j2sdk1.4.2_03\jre\lib\rt.jar;C:\j2sdk1.4.2_03\jre\lib\i18n.jar;C:\j2sdk1.4.2_03\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_03\jre\lib\jsse.jar;C:\j2sdk1.4.2_03\jre\lib\jce.jar;C:\j2sdk1.4.2_03\jre\lib\charsets.jar;C:\j2sdk1.4.2_03\jre\classes;C:\j2sdk1.4.2_03\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_03\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_03\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_03\jre\lib\ext\sunjce_provider.jar Application Classpath = C:\Program Files\netbeans-5.0beta2\platform6\lib\boot.jar;C:\Program Files\netbeans-5.0beta2\platform6\lib\org-openide-modules.jar;C:\Program Files\netbeans-5.0beta2\platform6\lib\org-openide-util.jar;C:\j2sdk1.4.2_03\lib\dt.jar;C:\j2sdk1.4.2_03\lib\tools.jar Startup Classpath = C:\Program Files\netbeans-5.0beta2\platform6\core\core.jar;C:\Program Files\netbeans-5.0beta2\platform6\core\org-openide-filesystems.jar;C:\Program Files\netbeans-5.0beta2\nb5.0\core\org-netbeans-upgrader.jar;C:\Program Files\netbeans-5.0beta2\nb5.0\core\locale\core_nb.jar;C:\Program Files\netbeans-5.0beta2\ide6\core\org-netbeans-modules-utilities-cli.jar ------------------------------------------------------------------------------- [WARNING] Warning: the module org.netbeans.modules.projectimport.jbuilder uses OpenIDE-Module-IDE-Dependencies which is deprecated. See http://openide.netbeans.org/proposals/arch/modularize.html [WARNING] Warning - had to upgrade dependencies for module org.netbeans.modules.projectimport.jbuilder: added = [module org.openide.compat > 6.0, module org.openide.actions > 6.0, module org.openide.util > 6.0, module org.openide.util.enumerations > 6.0, module org.openide.loaders > 5.3, module org.openide.awt > 6.0, module org.openide.modules > 6.0, module org.openide.filesystems > 6.0, module org.openide.options > 6.0, module org.openide.windows > 6.0, module org.openide.dialogs > 6.0, module org.openide.nodes > 6.0, module org.openide.text > 6.0, module org.openide.explorer > 6.0] removed = [module org.openide.loaders, module org.openide/1 > 5.1]; details: [openide.jar split into smaller parts. See http://openide.netbeans.org/proposals/arch/modularize.html and use 'ant fix-dependencies' if your project is projectized.] [org.netbeans.core.modules #2] Disabling openide load optimizations due to use of org.openide.compat [org.netbeans.core.modules #2] Warning: the module org.netbeans.modules.projectimport.jbuilder uses org.openide.compat which is deprecated: The classes in this API are all deprecated and can be replaced by more modern APIs. [org.netbeans.core.modules #2] Warning: the module org.netbeans.modules.projectimport.jbuilder uses org.openide.util.enumerations which is deprecated: Use org.openide.util.Enumerations instead of this module. [org.netbeans.core.modules #2] Warning: the module org.netbeans.modules.collab.ui uses org.openide.compat which is deprecated: The classes in this API are all deprecated and can be replaced by more modern APIs. Turning on modules: org.openide.util [6.5.1 200511141730] org.openide.modules [6.4.1 200511141730] org.openide.awt [6.6.1 200511141730] org.netbeans.modules.editor.util/1 [1.7.1 200511141730] org.openide.dialogs [6.3.1 200511141730] org.openide.filesystems [6.3.1 200511141730] org.openide.nodes [6.6.1 200511141730] org.openide.windows [6.4.1 200511141730] org.openide.options [6.3.1 200511141730] org.openide.text [6.8.1 200511141730] org.openide.explorer [6.4.1 1 200511141730] org.openide.actions [6.4.1 200511141730] org.openide.loaders [5.8.1 200511141730] org.netbeans.modules.editor.mimelookup/1 [1.2.1 200511141730] org.netbeans.modules.editor.fold/1 [1.4.1 200511141730] org.netbeans.modules.editor.lib/1 [1.8.1.1 1 200511141730] org.netbeans.modules.editor.structure/1 [1.10.1.1 1 200511141730] org.netbeans.modules.java.editor.lib/1 [1.3.1 200511141730] org.netbeans.modules.servletapi24/1 [2.5.1 2.4 200511141730] org.netbeans.api.progress/1 [1.3.1 200511141730] org.netbeans.modules.queries/1 [1.6.1 200511141730] org.openidex.util/3 [3.8.1 200511141730] org.netbeans.modules.editor.settings/1 [1.3.1 200511141730] org.netbeans.modules.editor.settings.storage/1 [1.3.1 200511141730] org.netbeans.modules.editor/3 [1.25.1.1 200511141730] org.netbeans.modules.editor.completion/1 [1.5.1 200511141730] org.netbeans.modules.html.editor.lib/1 [1.3.1 200511141730] org.netbeans.modules.html.editor/1 [1.3.1 200511141730] org.netbeans.modules.projectapi/1 [1.8.1 200511141730] org.netbeans.modules.classfile/1 [1.16.1 200511141730] javax.jmi.reflect/1 [1.6.1 200511141730] org.netbeans.jmi.javamodel/2 [1.20.1 200511141730] org.netbeans.api.mdr/1 [1.3.1 200511141730] javax.jmi.model/1 [1.6.1 200511141730] org.netbeans.modules.jmiutils/1 [1.4.1.2 2 200511141730] org.netbeans.modules.mdr/1 [1.4.1.2.2 2 200511141730] org.openide.io [1.8.1 200511141730] org.openide.execution [1.7.1 200511141730] org.netbeans.api.java/1 [1.9.1 200511141730] org.netbeans.modules.javacore/1 [1.16.1.2.2 200511141730] org.jdesktop.layout/1 [1.2.1 0.9 200511141730] org.netbeans.api.xml/1 [1.11.1 200511141730] org.netbeans.spi.navigator/1 [1.1.1 200511141730] org.netbeans.core.output2/1 [1.6.1.1 1 200511141730] org.netbeans.libs.formlayout/1 [1.1.1 1 200511141730] org.netbeans.modules.options.api/0 [1.1.1 200511141730] org.netbeans.bootstrap/1 [2.2.1 200511141730] org.netbeans.core.startup/1 [1.4.1 200511141730] org.netbeans.swing.plaf [1.4.1 200511141730] org.netbeans.core/2 [3.1.1.1 200511141730] org.netbeans.core.execution/1 [1.8.1 200511141730] org.apache.tools.ant.module/3 [3.23.1.1 1 200511141730] org.netbeans.modules.java.platform/1 [1.6.1 200511141730] org.netbeans.modules.favorites/1 [1.10.1 200511141730] org.netbeans.core.ui/1 [1.8.1 200511141730] org.netbeans.modules.xml.core/2 [1.10.1.4 4 200511141730] org.netbeans.modules.xml.catalog/2 [1.9.1.4.4 4 200511141730] org.netbeans.modules.masterfs/1 [1.6.1 200511141730] org.netbeans.modules.projectuiapi/1 [1.12.1.5 5 200511141730] org.netbeans.modules.projectui [1.6.1.5 200511141730] org.netbeans.modules.project.ant/1 [1.11.1 200511141730] org.openide.src [1.7.1 200511141730] org.netbeans.modules.editor.errorstripe.api/1 [2.1.1.1 1 200511141730] org.netbeans.modules.java/1 [1.24.1.2.2.2 2 200511141730] org.netbeans.modules.project.libraries/1 [1.12.1 200511141730] org.netbeans.modules.java.project/1 [1.7.1 200511141730] org.netbeans.modules.javahelp/1 [2.7.1 200511141730] org.netbeans.modules.refactoring/1 [1.14.1.3.2 3 200511141730] org.openide.compat [6.3.1 200511141730] org.netbeans.modules.java.j2seplatform/1 [1.5.1.2 2 200511141730] org.openide.util.enumerations [6.3.1 200511141730] org.netbeans.modules.ant.browsetask [1.10.1 200511141730] org.netbeans.modules.websvc.clientapi [1.3.1 200511141730] org.netbeans.spi.viewmodel/2 [1.8.1 200511141730] org.netbeans.api.debugger/1 [1.6.1 200511141730] org.netbeans.api.debugger.jpda/2 [2.3.1 200511141730] org.netbeans.modules.debugger.jpda/2 [1.15.1 200511141730] org.netbeans.spi.debugger.ui/1 [2.7.1 200511141730] org.netbeans.modules.debugger.jpda.ui/1 [1.4.1 200511141730] org.netbeans.modules.debugger.jpda.ant [1.6.1 200511141730] org.netbeans.core.multiview/1 [1.7.1 200511141730] org.netbeans.modules.junit/2 [2.18.1 200511141730] org.netbeans.modules.java.j2seproject [1.5.1.42 42 200511141730] org.netbeans.modules.projectimport.jbuilder/1 [1.2 200511141730] org.netbeans.modules.settings/1 [1.9.1 200511141730] org.netbeans.tasklistapi/1 [1.19.1.7 7 200511141730] org.netbeans.modules.tasklist.core/2 [1.36.1.16.7 16 200511141730] org.netbeans.modules.suggestions_framework/2 [1.14.1.9.16.7 9 200511141730] org.netbeans.core.ide/1 [1.8.1 200511141730] org.netbeans.modules.diff/1 [1.14.1.42 42 200511141730] org.netbeans.modules.editor.hints/1 [1.8.1.1 1 200511141730] org.netbeans.modules.j2ee.debug/1 [1.2.1 200511141730] org.netbeans.modules.utilities/1 [1.20.1 200511141730] org.netbeans.modules.servletapi/1 [1.8.1 200511141730] org.netbeans.modules.tasklist.docscan/2 [1.22.1.9.16.7 200511141730] org.netbeans.swing.tabcontrol [1.5.1 200511141730] org.netbeans.core.windows/2 [2.6.1.1 200511141730] org.netbeans.modules.j2eeapis/1 [1.5.1 200511141730] org.netbeans.modules.schema2beans/1 [1.13.1 200511141730] org.netbeans.modules.j2eeserver/4 [1.12.1 200511141730] org.netbeans.modules.j2ee.genericserver [1.3.1 200511141730] org.netbeans.modules.projectimport/1 [1.22.2.42 200511141730] org.netbeans.modules.utilities.project/1 [1.4.1 200511141730] org.netbeans.modules.properties/1 [1.16.1 200511141730] org.netbeans.modules.jmxri/1 [1.1.1 1 200511141730] org.netbeans.modules.httpserver/2 [2.4.1.42 42 200511141730] org.netbeans.modules.extbrowser/1 [1.8.1 200511141730] org.netbeans.libs.xerces/1 [1.7.1 2.6.2 200511141730] org.netbeans.modules.websvc.jaxrpc16_xml/1 [1.0 200511141730] org.netbeans.modules.j2ee.sun.dd/1 [1.4.1 200511141730] org.netbeans.modules.db/0 [1.14.1.3 3 200511141730] org.netbeans.modules.db.core [1.1.1 200511141730] org.netbeans.modules.db.sql.editor [1.1.1.3 200511141730] org.netbeans.libs.commons_logging/1 [1.2.1 1.0.4 200511141730] org.netbeans.modules.web.jspparser/2 [2.4.1 200511141730] org.netbeans.api.web.webmodule [1.5.1 200511141730] org.netbeans.modules.j2ee.dd/1 [1.6.1.2 2 200511141730] org.netbeans.modules.editor.codetemplates/1 [1.1.1 200511141730] org.netbeans.modules.java.editor/1 [1.3.1 200511141730] org.netbeans.modules.j2ee.common/1 [1.3.1 200511141730] org.netbeans.modules.xml.text/2 [1.10.1.4.4 4 200511141730] org.netbeans.modules.editor.plain.lib/1 [1.2.1 200511141730] org.netbeans.modules.web.core.syntax/1 [1.21.1.4 200511141730] org.netbeans.modules.web.struts/1 [1.1.1.1 1 200511141730] org.netbeans.modules.welcome/1 [1.9.1 200511141730] org.netbeans.modules.j2ee.platform/1 [1.2.1 200511141730] org.netbeans.modules.tomcat5/1 [1.6.1 200511141730] org.netbeans.modules.tomcat5.bundled/1 [1.5.1 200511141730] org.netbeans.modules.xml.tax/2 [1.10.1.4.4 4 200511141730] org.netbeans.modules.xml.tools/2 [1.10.1.4.4.4 4 200511141730] org.netbeans.modules.dbschema/1 [1.6.1.3.3 3 200511141730] org.netbeans.modules.j2ee.sun.appsrv/1 [1.2.1 1 200511141730] org.netbeans.modules.j2ee.sun.ddui/1 [1.5.1 200511141730] org.netbeans.modules.j2ee.sun.appsrv81/1 [1.0.1.1.1.4 1 200511141730] org.netbeans.modules.web.debug/1 [2.7.1 200511141730] org.netbeans.modules.autoupdate/1 [2.15.1 200511141730] org.netbeans.modules.updatecenters/1 [1.5.1 200511141730] org.netbeans.modules.j2ee.api.ejbmodule [1.3.1 200511141730] org.netbeans.modules.usersguide/1 [1.18.1 200511141730] org.netbeans.modules.javadoc/1 [1.17.1 200511141730] org.netbeans.modules.jemmy.idemodule/2 [2.2.4.18 200511141730] org.netbeans.modules.defaults/1 [1.1.1 200511141730] org.netbeans.modules.ant.debugger/1 [1.6.1.1 200511141730] org.netbeans.modules.xml.multiview/1 [1.3.1.2 2 200511141730] org.netbeans.modules.j2ee.dd.webservice [1.2.1 200511141730] org.netbeans.modules.websvc.websvcapi [1.3.1 200511141730] org.netbeans.modules.j2ee.ejbcore [1.3.1 200511141730] org.netbeans.modules.j2ee.ddloaders/1 [1.5.1.2.2.4 200511141730] org.apache.tools.ant.module.docs [2.20 200511141730] org.netbeans.modules.ant.grammar/1 [1.13.1 200511141730] org.netbeans.modules.websvc.registry [1.2.1 200511141730] org.netbeans.modules.websvc.core [1.4.1.1.4.4 1 200511141730] org.netbeans.spi.palette/0 [1.4.1 200511141730] org.netbeans.modules.web.core/1 [1.24.1.42.2 42 200511141730] org.netbeans.modules.j2ee.refactoring/1 [1.4.1.42.1 200511141730] org.netbeans.modules.image/1 [1.16.1 200511141730] org.netbeans.modules.ant.freeform/1 [1.9.1 200511141730] org.netbeans.modules.websvc.jaxrpc16/1 [1.1.1 200511141730] org.netbeans.modules.versioning/1 [1.2.1.1 1 200511141730] org.netbeans.modules.websvc.dev/1 [1.4.1.1 200511141730] org.netbeans.modules.form/2 [1.18.1 1 200511141730] org.netbeans.modules.options.editor/1 [1.1.1 200511141730] org.netbeans.modules.editor.plain/1 [1.2.1 200511141730] org.netbeans.modules.web.project [1.3.1 200511141730] org.netbeans.modules.web.jstl11/1 [2.5.1 1.1.2 200511141730] org.netbeans.modules.java.hints/1 [1.9.1.1 1 200511141730] org.netbeans.modules.java.navigation/1 [1.1.1 200511141730] org.netbeans.modules.j2ee.jboss4/1 [1.3.1 200511141730] org.netbeans.modules.editor.bookmarks/1 [1.2.1 200511141730] org.netbeans.modules.jemmysupport/1 [1.24 200511141730] org.netbeans.modules.i18n/1 [1.19.1 200511141730] org.netbeans.upgrader [4.4.1 200511141730] org.netbeans.modules.java.freeform/1 [1.4.1 200511141730] org.netbeans.modules.web.freeform [1.3.1 200511141730] org.netbeans.modules.css/2 [1.10.1 200511141730] org.netbeans.modules.apisupport.feedreader/1 [1.1.1 200511141730] org.netbeans.modules.apisupport.ant [2.28.1 200511141730] org.netbeans.modules.web.monitor/1 [1.14.1 200511141730] org.netbeans.modules.java.examples/1 [1.4.1 200511141730] org.netbeans.modules.j2ee.blueprints/1 [1.8.1 200511141730] com.sun.collablet/1 [1.0.1 200511141730] org.netbeans.modules.collab.provider.im [1.0.5 200511141730] org.netbeans.modules.collab.ui/1 [1.0.8 200511141730] org.netbeans.modules.apisupport.project [1.10.1.5.4 5 200511141730] org.netbeans.modules.html/1 [1.18.1 200511141730] org.netbeans.modules.web.examples/1 [1.4.1 200511141730] org.netbeans.modules.properties.syntax/1 [1.16.1 200511141730] org.netbeans.modules.j2ee.ant [1.6.1 200511141730] org.netbeans.lib.cvsclient/1 [1.13.1 200511141730] org.netbeans.modules.xml.schema/1 [1.10.1.4 200511141730] org.netbeans.modules.editor.errorstripe/2 [2.1.1.1.1 1 200511141730] org.netbeans.modules.j2ee.ejbjarproject [1.3.1 200511141730] org.netbeans.modules.j2ee.earproject [1.4.1 200511141730] com.sun.collablet.moxc/1 [1.0.1 200511141730] org.netbeans.libs.jsch/1 [1.3.1 0.1.23 200511141730] org.netbeans.modules.apisupport.refactoring [1.1.1.5 200511141730] org.netbeans.modules.j2ee.ejbfreeform [1.5.1 200511141730] org.netbeans.modules.versioning.system.cvss/1 [1.6.1.1.42.1 1 200511141730] org.netbeans.modules.xsl/1 [1.10.1.4 200511141730] org.netbeans.modules.i18n.form/2 [1.17.1 200511141730] org.netbeans.modules.clazz/1 [1.18.1 200511141730] org.netbeans.modules.j2ee.weblogic9/1 [1.3.1 200511141730] org.netbeans.modules.web.jsf/1 [1.1.1.1 1 200511141730] org.netbeans.modules.beans/1 [1.16.1 200511141730] *********** Exception occurred ************ at 9:17 AM on Jan 20, 2006 java.lang.AssertionError at org.netbeans.modules.editor.completion.CompletionImpl.stateChanged(CompletionImpl.java:314) at org.netbeans.editor.Registry.fireChange(Registry.java:489) at org.netbeans.editor.Registry.activate(Registry.java:231) at org.netbeans.editor.EditorUI$2.focusGained(EditorUI.java:270) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:162) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:161) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:161) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:161) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:161) at java.awt.Component.processFocusEvent(Component.java:5003) at java.awt.Component.processEvent(Component.java:4888) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:768) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:453) at java.awt.Component.dispatchEventImpl(Component.java:3506) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.KeyboardFocusManager.processCurrentLightweightRequests(KeyboardFocusManager.java:2385) at java.awt.KeyboardFocusManager.retargetFocusEvent(KeyboardFocusManager.java:2610) at java.awt.Component.dispatchEventImpl(Component.java:3501) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.Container.addImpl(Container.java:675) at javax.swing.JToolBar.addImpl(JToolBar.java:583) at java.awt.Container.add(Container.java:307) at com.sun.java.swing.plaf.windows.WindowsFileChooserUI$ShortCutPanel.<init>(WindowsFileChooserUI.java:623) at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponents(WindowsFileChooserUI.java:361) at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:130) at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(WindowsFileChooserUI.java:176) at javax.swing.JComponent.setUI(JComponent.java:449) at javax.swing.JFileChooser.updateUI(JFileChooser.java:1701) at org.netbeans.core.Issue38479Workaround.updateUI(Issue38479Workaround.java:57) at javax.swing.JFileChooser.setup(JFileChooser.java:345) at javax.swing.JFileChooser.<init>(JFileChooser.java:320) at javax.swing.JFileChooser.<init>(JFileChooser.java:273) at org.netbeans.core.Issue38479Workaround.<init>(Issue38479Workaround.java:44) at org.netbeans.core.Issue38479Workaround.run(Issue38479Workaround.java:50) at org.netbeans.core.WarmUpSupport.run(WarmUpSupport.java:56) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:471) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:904) ******************** Hope that helps, regards, ajit.
reassigning back to core. Incorrect using of swing outside of EDT.
Radime, any chance you know what's going on here? Thanks.
This is a workaround for bug described in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4711700 and also in our bug #38479. Perhaps we can close this as a wontfix - dev may require 1.5 soon and this will be obsolete. If we want to fix we can fix threading and call this workaround from EDT. That's why focus listener in editor (correctly) throws assertion error. It should be OK in 1.5 because according to bugparade it is fixed in 1.4.2_04 (and the log show older version). Last note: please create a bug and then attach log file next time. It is easier to read.
Ok, we switched to JDK 1.5.0 for next release, so this is wontfix.
v/c