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.
Summary: | Editor shows empty source window | ||
---|---|---|---|
Product: | javame | Reporter: | Andrei Chistiakov <ca-nb> |
Component: | Visual Designer | Assignee: | Karol Harezlak <kharezlak> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | mslama |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 175590 | ||
Bug Blocks: | |||
Attachments: | screen shot |
Description
Andrei Chistiakov
2009-11-03 14:35:08 UTC
Created attachment 90449 [details]
screen shot
most likely it is caused by common issue 175590 While not sure, set as 'depends on', but not duplicate. Since we did not change anything in this part of the code for this 6.8 it looks like problem on platform side. Fragment of logs: | Pane is null WARNING: org.netbeans.modules.vmd.io.editor.CodeEditorTopComponent.getEditorPane(CodeEditorTopComponent.java:69) org.netbeans.core.multiview.MultiViewCloneableTopComponent.getEditorPane(MultiViewCloneableTopComponent.java:224) Marku, I think this is an optimization issue which was rounding around for a while. I am looking at it. Seems the same as issue #175590. You must call CloneableEditor.componentShowing. Form editor does it as follows: at org.openide.text.CloneableEditor.componentShowing(CloneableEditor.java:208) at org.netbeans.modules.form.FormEditorSupport$JavaEditorTopComponent.componentShowing(FormEditorSupport.java:1240) at org.netbeans.core.multiview.MultiViewPeer.showCurrentElement(MultiViewPeer.java:295) at org.netbeans.core.multiview.MultiViewPeer.showCurrentElement(MultiViewPeer.java:265) at org.netbeans.core.multiview.MultiViewPeer$SelectionListener.selectionChanged(MultiViewPeer.java:676) at org.netbeans.core.multiview.MultiViewModel.fireSelectionChanged(MultiViewModel.java:243) at org.netbeans.core.multiview.MultiViewModel.setActiveDescription(MultiViewModel.java:115) at org.netbeans.core.multiview.MultiViewModel$BtnGroup.setSelected(MultiViewModel.java:293) at javax.swing.JToggleButton$ToggleButtonModel.setSelected(JToggleButton.java:237) at javax.swing.ButtonGroup.setSelected(ButtonGroup.java:147) at org.netbeans.core.multiview.MultiViewModel$BtnGroup.setSelected(MultiViewModel.java:289) ... This change was done in CloneableEditor to fix semantics of CloneableEditor.close. fixed in main, changeset: http://hg.netbeans.org/main/rev/407feb634612 Additional modification for fix: changeset: http://hg.netbeans.org/main/rev/5560af683b70 Verified with NetBeans IDE Dev (Build 200911050201). |