Community
Participate
Working Groups
Build Identifier: When description or name attributes in metatype.xml are set to an empty string calling getDescription() or getName() will cause the following exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:686) at org.eclipse.equinox.metatype.LocalizationElement.getLocalized(LocalizationElement.java:38) at org.eclipse.equinox.metatype.AttributeDefinitionImpl.getDescription(AttributeDefinitionImpl.java:117) Reproducible: Always Steps to Reproduce: Create metatype.xml where name or description attributes are empty string. For example: <AD id="present" description="" type="Boolean" default="true" />
Created attachment 192599 [details] Patch for this issue.
Created attachment 192601 [details] Test Patch Original patch is fine. Here's a companion patch that adds a new test to compendium tests.
Comment on attachment 192599 [details] Patch for this issue. Thanks for the patch! I released this to HEAD.
Comment on attachment 192601 [details] Test Patch Thanks for the patch. I released it to HEAD.
.