Article - CS259869
Import of classification zip file fails with error: java.lang.IllegalArgumentException: MALFORMED in Windchill PartsLink
Modified: 12-Nov-2023
Applies To
- Windchill PartsLink 12.0.2.0
- Windchill PDMLink 12.0.2.0
- Windchill PartsLink 10.0 to 11.0
Description
- Import of classification zip file fails with error in Method Server log:
java.lang.IllegalArgumentException: MALFORMED 2017-02-27 17:10:22,030 INFO [ajp-bio-8010-exec-1] wt.system.err wcadmin - java.lang.IllegalArgumentException: MALFORMED 2017-02-27 17:10:22,030 INFO [ajp-bio-8010-exec-1] wt.system.err wcadmin - at java.util.zip.ZipCoder.toString(ZipCoder.java:58) 2017-02-27 17:10:22,030 INFO [ajp-bio-8010-exec-1] wt.system.err wcadmin - at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:297) 2017-02-27 17:10:22,030 INFO [ajp-bio-8010-exec-1] wt.system.err wcadmin - at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121) 2017-02-27 17:10:22,030 INFO [ajp-bio-8010-exec-1] wt.system.err wcadmin - at wt.util.FileUtil.unzipFile(FileUtil.java:455) 2017-02-27 17:10:22,030 INFO [ajp-bio-8010-exec-1] wt.system.err wcadmin - at wt.util.FileUtil.unzipFile(FileUtil.java:410) 2017-02-27 17:10:22,030 INFO [ajp-bio-8010-exec-1] wt.system.err wcadmin - at com.ptc.windchill.csm.client.utils.CSMUtils.extractZipArchive(CSMUtils.java:353) 2017-02-27 17:10:22,030 INFO [ajp-bio-8010-exec-1] wt.system.err wcadmin - at com.ptc.windchill.csm.CSMCommands.importStructure(CSMCommands.java:1215) 2017-02-27 17:10:22,030 INFO [ajp-bio-8010-exec-1] wt.system.err wcadmin - at com.ptc.windchill.csm.CSMCommands.importClasssificationStructure(CSMCommands.java:1175) [...] 2017-02-27 17:10:22,061 ERROR [ajp-bio-8010-exec-1] com.ptc.jca.mvc.controllers.ActionController wcadmin - java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) [...] Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.ptc.core.components.forms.FormDispatcher.callWizardCommand(FormDispatcher.java:112) at com.ptc.core.components.forms.FormDispatcher.execute(FormDispatcher.java:98) ... 73 more Caused by: java.lang.NullPointerException at com.ptc.windchill.csm.CSMCommands.importStructure(CSMCommands.java:1237) at com.ptc.windchill.csm.CSMCommands.importClasssificationStructure(CSMCommands.java:1175) ... 79 more
This is a printer-friendly version of Article 259869 and may be out of date. For the latest version click CS259869