PDA

View Full Version : java.io.FileNotFoundException: null\removablesList.txt in IA 2011



tpaladug
07-28-2011, 05:30 AM
Hi ,

Our project has been build based on IA 2008 and recently we have upgraded to IA 2011.
In the debug log file we see the below exception and because of this exception installation is not getting terminated successfully.

If any one has encountered similar issue please share the solution.

REGISTRY ALREADY STORED!

(X) shutting down service manager
(X) cleaning up temporary directories
Exiting with exit code: 1
I/O error occured writing additional files list
java.io.FileNotFoundException: null\removablesList.txt (The system cannot find the path specified)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileWriter.<init>(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.at(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at ZeroGh7.a(DashoA10*..)
at com.zerog.ia.installer.Installer.a(DashoA10*..)
at com.zerog.ia.installer.Installer.exit(DashoA10*..)
at com.zerog.ia.installer.AAMgr.e(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.f(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.n(DashoA10*..)
at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.f(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.n(DashoA10*..)
at com.zerog.ia.installer.AAMgr.g(DashoA10*..)
at com.zerog.ia.installer.AAMgr.actionPerformed(DashoA10*..)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
java.lang.NullPointerException
at com.zerog.ia.installer.LifeCycleManager.at(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at ZeroGh7.a(DashoA10*..)
at com.zerog.ia.installer.Installer.a(DashoA10*..)
at com.zerog.ia.installer.Installer.exit(DashoA10*..)

bikash
08-01-2011, 01:43 AM
Hi,

This looks like there is some issue with a particular action (which creates/modifies removablesList.txt). If you can post your project file/details about the action, we may help you to propose some solution if any.

Thanks,

tpaladug
08-01-2011, 07:12 AM
Hi Bikash,

Thanks for throwing insight on this problem.We are not creating or modifying removablesList.txt file. This file is getting created under 'Uninstall' folder after installation along with other files like InstallScript.iap_xml,installvariables.properties,Uninstall Product.exe.

This file will not get created when we build installer using IA 2008. Only change made after moving to IA 2011 is adding Uninstaller component and assiging it to Uninstaller action.
we use merge modules to install multiple products.Unfortunately i cannot post the project.

pcerasuolo
08-01-2011, 04:24 PM
We are also currently experiencing the same issue and we do not even use the uninstaller function of IA, we did find that IA2011 had a checkbox selected in the Organization>Components section of the install and the installer had an uninstall component listed. We are trying to remove this component selection and reinstall the product....I can update when we complete the process

pcerasuolo
08-02-2011, 08:27 AM
Any answers to this issue yet? We do not even use an uninstaller and we are still seeing this appear when we run our install. FYI, the action that uses this file is not generated by the end user, rather by IA2011 as far as we can tell we are not generating or looking for this file. Another update...when I search the xml file of the project the removablesList.txt does not appear anywhere....

pcerasuolo
08-02-2011, 05:32 PM
So we found a way to make this stop happening. It was two things on our end, first we did not have an uninstaller in our project and secondly the uninstaller needs to be linked to a key file from your install directory.

If you have an existing uninstaller you can fix this by deleting your component from the Organization>Components section for your uninstall, then readding the component, and finally linking the component in your install section.

This appears to have corrected the issue for us, regardless if you do not currently utilize an uninstaller you will need to place one into your project to avoid this error...even if you do not plan to use it.

glogic
08-18-2011, 02:58 PM
FYI an issue has been created for this: IOA-000065089

I'm told engineering will fix this in their next release.

WolfgangH
02-06-2014, 06:12 AM
FYI an issue has been created for this: IOA-000065089

I'm told engineering will fix this in their next release.

This issue still exist in InstallAnywhere 2013 Premier Edition.

nesrivas
01-31-2017, 06:44 AM
I am also facing same issue in IA-2012.
Is there anyone found the fix or any alternative to this problem ?

Does latest version of InstallAnyWhere contain the fix or not?