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.

Bug 5186 - Edit on properties files sometimes opens an empty document although the file is not empty.
Summary: Edit on properties files sometimes opens an empty document although the file ...
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-01-07 03:03 UTC by Jesse Glick
Modified: 2008-12-23 11:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2000-01-07 03:03:34 UTC
I.e. Open correctly opens the table view containing the full list of keys which actually exist in the file, however Edit opens an empty document.

The file I noticed this on has no localized variant, i.e. Bundle.properties only.

I get this:

Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 1 >= 1
        at java.util.Vector.elementAt(Vector.java:409)

        at javax.swing.JTabbedPane.getComponentAt(JTabbedPane.java:746)
        at javax.swing.JTabbedPane.removeTabAt(JTabbedPane.java:603)
        at org.openide.explorer.propertysheet.PropertySheet.refreshPropertySheet(PropertySheet.java:643)
        at org.openide.explorer.propertysheet.PropertySheet.access$15(PropertySheet.java:605)
        at org.openide.explorer.propertysheet.PropertySheet$14.run(PropertySheet.java:1193)
        at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:366)
        at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:362)
        at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java:403)
        at java.awt.Component.dispatchEventImpl(Component.java:2394)
        at java.awt.Component.dispatchEvent(Component.java:2307)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)
        at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Comment 1 Marek Grummich 2000-07-25 09:20:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 16:16:51 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify
Comment 3 Quality Engineering 2003-07-02 16:17:57 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.