cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
anshuman
Level 2

Getting error while building

I was using InstallAnywhere 2008 earlier, after I shifted to InstallAnywhere 2010 I'm getting the following error while buiding my application. I checked the permissions on the IAClasses.zip its perfectly fine.


java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.ia.installer.actions.UninstallAllOrFeaturesAction.zipTo(DashoA10*..)
at com.zerog.ia.installer.Installer.a(DashoA10*..)
at com.zerog.ia.installer.Installer.zipToResources(DashoA10*..)
at ZeroGl6.a(DashoA10*..)
at ZeroGl6.a(DashoA10*..)
at ZeroGl6.a(DashoA10*..)
at ZeroGl6.a3(DashoA10*..)
at ZeroGl6.a(DashoA10*..)
at ZeroGmi.run(DashoA10*..)
Caused by: java.io.FileNotFoundException: com/zerog/ia/installer/images/typicalIconUninstall.png (Permission denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at com.zerog.common.java.io.FileUtil.getMD5OfFile(DashoA10*..)
at ZeroGc5.c(DashoA10*..)
at ZeroGc5.a(DashoA10*..)
at ZeroGc5.a(DashoA10*..)
at com.zerog.ia.designer.build.ZipToUtility.a(DashoA10*..)
at com.zerog.ia.designer.build.ZipToUtility.allOrFeaturesZipTo(DashoA10*..)
... 13 more
Labels (1)
0 Kudos
(3) Replies
pv7721
Level 20

Update from one IA version to another is not always smooth, sometimes you may want to pass through in an intermediate version (like 2009). It also depends if you had custom code or not.
0 Kudos
anshuman
Level 2

To get round this I unpacked the IAClasses.zip under a tmp location, gave it execute permissions and copied the com directory under IA home. This worked and the build completed without errors. But I don't see this as an actual solution to this.
0 Kudos
pv7721
Level 20

Normally you wouldn't have to do this. I'm wondering if your project doesn't reference an older version of IAClasses.zip.
0 Kudos