Properties editor exception

IDEA v3290
Properties Editor 1.9.4

New properties file
Entered a property without a value and pressed enter
(e.g. db.name=)
Got this exception:

Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.LinkedList.entry(LinkedList.java:360)
at java.util.LinkedList.get(LinkedList.java:303)
at com.propertiesEditor.propedit.structure.parser.PropertiesFileParser.incrementalParse(PropertiesFileParser.java:112)
at com.propertiesEditor.propedit.model.PropertiesFileDocument.invalidate(PropertiesFileDocument.java:151)
at com.propertiesEditor.propedit.model.PropertiesFileDocument.access$500(PropertiesFileDocument.java:33)
at com.propertiesEditor.propedit.model.PropertiesFileDocument$2.run(PropertiesFileDocument.java:236)
at com.intellij.util.Alarm$1.run(Alarm.java:85)
at com.intellij.util.Alarm$2.run(Alarm.java:227)
at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:1)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:90)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:149)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

1 comment
Comment actions Permalink

I'll fix it in near future.

0

Please sign in to leave a comment.