This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Automation API and IBM LAP Plugin Problem
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Oct 02, 2009
09:15 AM
Automation API and IBM LAP Plugin Problem
We are using IA 2009 SP1. We are trying to generate a number of projects using the Project Automation API. These projects need to use the LAP plugin (the licensing pluing) from IBM.
First of all adding the plugin through the code (the com.zerog.ia.auto.project.actions.PlugInAction doesn't seem to work properly)
Secondly, even if we put the LAP in the base project that is loaded (so that we can add the rest of the actions through the code), the code fails to load the project with the following error:
[java] com.zerog.ia.auto.project.ProjectAutomationException: The class 'com.zerog.ia.installer.util.VariablePropertyDataNonBiDi' is not supported by the project automation API.
[java] at com.zerog.ia.auto.project.file.ProjAutoObjectBuilder.create(ProjAutoObjectBuilder.java:135)
[java] at com.zerog.ia.project.file.base.properties.IAPVectorBuilder.create(DashoA10*..)
[java] at com.zerog.ia.auto.project.file.ProjAutoObjectBuilder.create(ProjAutoObjectBuilder.java:155)
[java] at com.zerog.ia.project.file.base.properties.IAPVectorBuilder.create(DashoA10*..)
[java] at com.zerog.ia.auto.project.file.ProjAutoObjectBuilder.create(ProjAutoObjectBuilder.java:155)
[java] at com.zerog.ia.auto.project.file.ProjAutoIAPReaderImpl.loadInstaller(ProjAutoIAPReaderImpl.java:39)
[java] at com.zerog.ia.auto.project.ProjectAutomation.loadProject(ProjectAutomation.java:110)
[java] at com.zerog.ia.auto.project.ProjectAutomation.loadProject(ProjectAutomation.java:89)
...
[java] Caused by: java.lang.NullPointerException
[java] at java.lang.Class.forName(Class.java:130)
[java] at com.zerog.ia.auto.project.file.ProjAutoObjectBuilder.create(ProjAutoObjectBuilder.java:130)
[java] ... 9 more
This is when we set the value for the LA_HOME property.
If we don't set the value (which is not really an option for us), the following errors are thrown, although this time the project doens't fail to load:
[java] Unable to invoke the method:
[java] PlugInPanelAction.setStepTitle(String)
[java] Some installer configuration information may be lost
[java] java.lang.NoSuchMethodException
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.c(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGlg.a(DashoA10*..)
[java] at ZeroGlg.a(DashoA10*..)
[java] at ZeroGlg.c(DashoA10*..)
[java] at ZeroGlg.v(DashoA10*..)
[java] at com.zerog.ia.designer.build.ProjAutoRuntimeFacade.loadAndSaveInstaller(DashoA10*..)
[java] at com.zerog.ia.auto.project.ProjectAutomation.saveProject(ProjectAutomation.java:160)
[java] at com.zerog.ia.auto.project.ProjectAutomation.saveProject(ProjectAutomation.java:178)
[java] at com.ibm.cognos.express.module.updater.autogenerate.AbstractIAProjectCreator.create(AbstractIAProjectCreator.java:41)
[java] at com.ibm.cognos.express.module.updater.autogenerate.shell.AutoGenerateMain.main(AutoGenerateMain.java:33)
[java] Unable to invoke the method:
[java] PlugInPanelAction.setPrompt(String)
[java] Some installer configuration information may be lost
[java] java.lang.NoSuchMethodException
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.c(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGlg.a(DashoA10*..)
[java] at ZeroGlg.a(DashoA10*..)
[java] at ZeroGlg.c(DashoA10*..)
[java] at ZeroGlg.v(DashoA10*..)
[java] at com.zerog.ia.designer.build.ProjAutoRuntimeFacade.loadAndSaveInstaller(DashoA10*..)
[java] at com.zerog.ia.auto.project.ProjectAutomation.saveProject(ProjectAutomation.java:160)
[java] at com.zerog.ia.auto.project.ProjectAutomation.saveProject(ProjectAutomation.java:178)
[java] at com.ibm.cognos.express.module.updater.autogenerate.AbstractIAProjectCreator.create(AbstractIAProjectCreator.java:41)
[java] at com.ibm.cognos.express.module.updater.autogenerate.shell.AutoGenerateMain.main(AutoGenerateMain.java:33)
[java] Unable to invoke the method:
[java] PlugInPanelAction.setAdditionalText(String)
[java] Some installer configuration information may be lost
[java] java.lang.NoSuchMethodException
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.c(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGlg.a(DashoA10*..)
[java] at ZeroGlg.a(DashoA10*..)
[java] at ZeroGlg.c(DashoA10*..)
[java] at ZeroGlg.v(DashoA10*..)
[java] at com.zerog.ia.designer.build.ProjAutoRuntimeFacade.loadAndSaveInstaller(DashoA10*..)
[java] at com.zerog.ia.auto.project.ProjectAutomation.saveProject(ProjectAutomation.java:160)
[java] at com.zerog.ia.auto.project.ProjectAutomation.saveProject(ProjectAutomation.java:178)
[java] at com.ibm.cognos.express.module.updater.autogenerate.AbstractIAProjectCreator.create(AbstractIAProjectCreator.java:41)
[java] at com.ibm.cognos.express.module.updater.autogenerate.shell.AutoGenerateMain.main(AutoGenerateMain.java:33)
[java] Merged locals dir path: wow
This problem is blocking us from using the automation API; any idea when the automation API is going to support plugins/LAP/VariablePropertyDataNonBiDi? Is there a way to request a fix for this?
Thanks
First of all adding the plugin through the code (the com.zerog.ia.auto.project.actions.PlugInAction doesn't seem to work properly)
Secondly, even if we put the LAP in the base project that is loaded (so that we can add the rest of the actions through the code), the code fails to load the project with the following error:
[java] com.zerog.ia.auto.project.ProjectAutomationException: The class 'com.zerog.ia.installer.util.VariablePropertyDataNonBiDi' is not supported by the project automation API.
[java] at com.zerog.ia.auto.project.file.ProjAutoObjectBuilder.create(ProjAutoObjectBuilder.java:135)
[java] at com.zerog.ia.project.file.base.properties.IAPVectorBuilder.create(DashoA10*..)
[java] at com.zerog.ia.auto.project.file.ProjAutoObjectBuilder.create(ProjAutoObjectBuilder.java:155)
[java] at com.zerog.ia.project.file.base.properties.IAPVectorBuilder.create(DashoA10*..)
[java] at com.zerog.ia.auto.project.file.ProjAutoObjectBuilder.create(ProjAutoObjectBuilder.java:155)
[java] at com.zerog.ia.auto.project.file.ProjAutoIAPReaderImpl.loadInstaller(ProjAutoIAPReaderImpl.java:39)
[java] at com.zerog.ia.auto.project.ProjectAutomation.loadProject(ProjectAutomation.java:110)
[java] at com.zerog.ia.auto.project.ProjectAutomation.loadProject(ProjectAutomation.java:89)
...
[java] Caused by: java.lang.NullPointerException
[java] at java.lang.Class.forName(Class.java:130)
[java] at com.zerog.ia.auto.project.file.ProjAutoObjectBuilder.create(ProjAutoObjectBuilder.java:130)
[java] ... 9 more
This is when we set the value for the LA_HOME property.
If we don't set the value (which is not really an option for us), the following errors are thrown, although this time the project doens't fail to load:
[java] Unable to invoke the method:
[java] PlugInPanelAction.setStepTitle(String)
[java] Some installer configuration information may be lost
[java] java.lang.NoSuchMethodException
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.c(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGlg.a(DashoA10*..)
[java] at ZeroGlg.a(DashoA10*..)
[java] at ZeroGlg.c(DashoA10*..)
[java] at ZeroGlg.v(DashoA10*..)
[java] at com.zerog.ia.designer.build.ProjAutoRuntimeFacade.loadAndSaveInstaller(DashoA10*..)
[java] at com.zerog.ia.auto.project.ProjectAutomation.saveProject(ProjectAutomation.java:160)
[java] at com.zerog.ia.auto.project.ProjectAutomation.saveProject(ProjectAutomation.java:178)
[java] at com.ibm.cognos.express.module.updater.autogenerate.AbstractIAProjectCreator.create(AbstractIAProjectCreator.java:41)
[java] at com.ibm.cognos.express.module.updater.autogenerate.shell.AutoGenerateMain.main(AutoGenerateMain.java:33)
[java] Unable to invoke the method:
[java] PlugInPanelAction.setPrompt(String)
[java] Some installer configuration information may be lost
[java] java.lang.NoSuchMethodException
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.c(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGlg.a(DashoA10*..)
[java] at ZeroGlg.a(DashoA10*..)
[java] at ZeroGlg.c(DashoA10*..)
[java] at ZeroGlg.v(DashoA10*..)
[java] at com.zerog.ia.designer.build.ProjAutoRuntimeFacade.loadAndSaveInstaller(DashoA10*..)
[java] at com.zerog.ia.auto.project.ProjectAutomation.saveProject(ProjectAutomation.java:160)
[java] at com.zerog.ia.auto.project.ProjectAutomation.saveProject(ProjectAutomation.java:178)
[java] at com.ibm.cognos.express.module.updater.autogenerate.AbstractIAProjectCreator.create(AbstractIAProjectCreator.java:41)
[java] at com.ibm.cognos.express.module.updater.autogenerate.shell.AutoGenerateMain.main(AutoGenerateMain.java:33)
[java] Unable to invoke the method:
[java] PlugInPanelAction.setAdditionalText(String)
[java] Some installer configuration information may be lost
[java] java.lang.NoSuchMethodException
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.c(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGfg.a(DashoA10*..)
[java] at ZeroGlg.a(DashoA10*..)
[java] at ZeroGlg.a(DashoA10*..)
[java] at ZeroGlg.c(DashoA10*..)
[java] at ZeroGlg.v(DashoA10*..)
[java] at com.zerog.ia.designer.build.ProjAutoRuntimeFacade.loadAndSaveInstaller(DashoA10*..)
[java] at com.zerog.ia.auto.project.ProjectAutomation.saveProject(ProjectAutomation.java:160)
[java] at com.zerog.ia.auto.project.ProjectAutomation.saveProject(ProjectAutomation.java:178)
[java] at com.ibm.cognos.express.module.updater.autogenerate.AbstractIAProjectCreator.create(AbstractIAProjectCreator.java:41)
[java] at com.ibm.cognos.express.module.updater.autogenerate.shell.AutoGenerateMain.main(AutoGenerateMain.java:33)
[java] Merged locals dir path: wow
This problem is blocking us from using the automation API; any idea when the automation API is going to support plugins/LAP/VariablePropertyDataNonBiDi? Is there a way to request a fix for this?
Thanks
(1) Reply
Oct 09, 2009
11:06 PM
Do not use the crapy automation api. Its of no use. If your project data is substantial, it cannot digest. Better to use xsl transforms.
I also faced the similar issue.
http://community.acresso.com/showthread.php?t=189990
I also faced the similar issue.
http://community.acresso.com/showthread.php?t=189990