Summary
Fatal Exception : java.lang.IndexOutOfBoundsException: Index
Symptoms
After making several adjustments to the settings and constructing the project, we mostly encountered errors,
java.lang.IndexOutOfBoundsException: Index :0 out of bounds for length 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at com.zerog.ia.designer.customizers.ApplianceHardwareInfo.refreshSettings(Unknown Source)
at com.zerog.ia.designer.customizers.VMConfigurationCustomizer.aa(Unknown Source)
at com.zerog.ia.designer.customizers.VMConfigurationCustomizer.setup(Unknown Source)
at com.zerog.ia.designer.customizers.TBuildAppliance.setupThisApplianceBuildConfiguration(Unknown Source)
at com.zerog.ia.designer.customizers.TBuildAppliance.setup(Unknown Source)
at com.zerog.ia.designer.Dashboard.setObject(Unknown Source)
Resolution
sssssIndexOutOfBoundsException when opening a project typically indicate corruption in the project file. Killing a build process without letting it exit is one way in which a project may become corrupted.
To resolve this issue, create a new project. When you open the project file with a text editor and search for the word ex :BuildAppliance/Virtual,Then, upon examining that section, you may notice that some parts are missing.
Once you find the appropriate missing property, if you compare the section with the original project xml file, you will see that chunk of sections are missing. This is what was causing the exception. Now, copy that entire element from the new project to your original project.
For Example:
Corrupted file:
<property name="virtualHardwareInformation">
<object class="com.flexera.ia.vapp.datastructures.hardware.VirtualHardwareInformation" objectID="7a696a669fce"/>
</property>
<property name="startupInfo">
<object class="com.flexera.ia.vapp.datastructures.VirtualSystemEntityStartupInfo" objectID="7a696a659fd7"> <property name="startupDelaySeconds">
The Actual Virtual appliance section is,
<property name="virtualHardwareInformation">
<object class="com.flexera.ia.vapp.datastructures.hardware.VirtualHardwareInformation" objectID="a7bf5d8ca5ac">
<property name="virtualHardwareProfileList">
<object class="java.util.ArrayList" list="true">
<method name="add">
<object class="com.flexera.ia.vapp.datastructures.hardware.VirtualHardwareProfile" objectID="a7bf5d8ca5ad">
<property name="profileId">
<string><![CDATA[A Virtual Machine]]></string>
</property>
<property name="profileDescription">
<string><![CDATA[Ubuntu 12.0 Linux]]></string>
</property>
<property name="hardwareItems">
<object class="java.util.ArrayList" list="true">
<method name="add">
<object class="com.flexera.ia.vapp.datastructures.hardware.VirtualCPU" objectID="a7bf5d8ba5ae">
<property name="id">
<int>53</int>
</property>Related Articles
Fatal exception during ARL import with enabled FIPS-related policies and use of proxy credentials 5Number of Views "Populate userAppUsage from API" step reading data from Flexera One SaaS Manager may fail with error: API call failed afte… 8Number of Views ISDEV : Fatal Error -6041: Internal Build Error 9Number of Views java.lang.Exception: The index xxx/workspaces/yyy/index is unavailable for create 6Number of Views Release Notes Index: Snow for ServiceNow 528Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago