-
Type:
Bug
-
Status: Done (View Workflow)
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: 3.3.2
-
Fix Version/s: 3.3.3
-
Labels:None
-
Critical Points:0
Export might fail in some cases with this stack trace:
java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.awnaba.projectconfigurator.projectconfigserialize.AbstractGlobalTable.getId(AbstractGlobalTable.java:115) at com.awnaba.projectconfigurator.projectconfigserialize.AbstractGlobalTable.findOrInsertObject(AbstractGlobalTable.java:56) at com.awnaba.projectconfigurator.projectconfigserialize.CustomFieldGlobalTable.findOrInsertObject(CustomFieldGlobalTable.java:107) at com.awnaba.projectconfigurator.projectconfigserialize.FilterNotVisibleCFTable.flush(FilterNotVisibleCFTable.java:92) at com.awnaba.projectconfigurator.projectconfigserialize.ExportManager.createJAXBTree(ExportManager.java:248) at com.awnaba.projectconfigurator.projectconfigserialize.ExportManager.dumpConfigurations(ExportManager.java:92)
The same problem can break the export and show as a java.lang.ClassCastException, however examination of the stack trace (this might require a look at the log file) shows that the origin of the exception is the same in both cases.