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.
For the second time in just a few days, the IDE just opened a small, empty window. Deleting var/cache in the user dir did not help. Removing the whole user dir helps, but then I loose all configurations (->P1 data loss)
Please read : http://wiki.netbeans.org/IssueReportingGuidelines We would expect at least : NetBeans version/build number, JDK version/build number, OS, messages.log file (as attachment!), ... and in this case also screenshot might be helpful ... thanks in advance.
Product Version: NetBeans IDE 7.1 (Build 201112071828) Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10 System: Linux version 2.6.38-13-generic-pae running on i386; UTF-8; de_CH (nb) I will get you the other info if the issue pops up again and I remember.
Created attachment 117456 [details] NetBeans IDE after start NetBeans IDE after start
Created attachment 117457 [details] NetBeans IDE after start - then resized window NetBeans IDE after start - then resized window
What window manager are you using on Lin ? What is the Lin distribution name (Ubuntu, Debian, RH, ...) ? Thanks in advance.
Created attachment 117459 [details] messages.log
(In reply to comment #5) - Kubuntu 11.04 (natty) - KDE
Is there a workaround/ something I can delete without loosing all my configurations? (which will happen if I delete <user-home>/.netbeans/7.1)
(In reply to comment #8) > Is there a workaround/ something I can delete without loosing all my > configurations? (which will happen if I delete <user-home>/.netbeans/7.1) Try deleting <user-home>/.netbeans/7.1/config/Windows2Local only.
(In reply to comment #9) It worked! Thanks a lot! The data loss seems now to be minimal (but the issue is still annoying). Feel free to reprioritize this issue.
The problem is that Local History is attaching its TopComponent listener too soon. When the window system loads it fires TC_OPENED events which end up in that listener where the editor component is instantiated. When an exception is thrown at that time (probably because some bug in Maven module), the whole window system falls over... Versioning team will postpone the listener to some later step in the startup process.
> Versioning team will postpone the listener to some later step in the startup > process. core-main #d16f358e1f0a
The root exception seems to be Maven-related (feel free to reassign). But I'm not sure if it will be still reproducible after the fix in versioning...
are we talking about this stacktrace? java.lang.IndexOutOfBoundsException: Index: 0 at java.util.Collections$EmptyList.get(Collections.java:3204) at org.netbeans.modules.xml.xdm.nodes.XMLSyntaxParser.parse(XMLSyntaxParser.java:152) at org.netbeans.modules.xml.xdm.XDMModel.prepareSync(XDMModel.java:179) at org.netbeans.modules.xml.xdm.XDMModel.sync(XDMModel.java:159) at org.netbeans.modules.xml.xdm.xam.XDMAccess.sync(XDMAccess.java:139) at org.netbeans.modules.xml.xam.AbstractModel.sync(AbstractModel.java:283) at org.netbeans.modules.xml.xam.AbstractModelFactory.getModel(AbstractModelFactory.java:140) at org.netbeans.modules.maven.model.pom.POMModelFactory.getModel(POMModelFactory.java:82) at org.netbeans.modules.maven.hints.pom.StatusProvider$StatusProviderImpl.initializeModel(StatusProvider.java:234) at org.netbeans.modules.maven.hints.pom.StatusProvider$StatusProviderImpl.<init>(StatusProvider.java:144) at org.netbeans.modules.maven.hints.pom.StatusProvider.createUpToDateStatusProvider(StatusProvider.java:121) at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.createStatusProviders(AnnotationViewDataImpl.java:226)
reassigning to xml/xdm, exception thrown out of the model sync method
OK, reproduced on sample: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> </project> </eee> (when typing / closing the 'eee' unmatched tag)
Changeset: e6b1c285ec3e Author: Svata Dedic <sdedic@netbeans.org> Date: 2012-09-11 13:06 Message: Issue #209628 - The IDE opens just a small, empty windows: fixed Covered case of empty (no tokens) parent elements, i.e. closing unmatched tag in Document without any PIs
*** Bug 213211 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201209120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e6b1c285ec3e User: Svata Dedic <sdedic@netbeans.org> Log: Issue #209628 - The IDE opens just a small, empty windows: fixed Covered case of empty (no tokens) parent elements, i.e. closing unmatched tag in Document without any PIs