cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ravikumarj
Level 4

Custom Action class unavailable

Hello there.

When trying to use a custom action class, during installation, I get a message in the installation log saying that my class is unavailable.

I am testing this by bundling various versions of JVM with my installer. The custom class is found when I bundle JRE 1.6.0.02 whereas when I bundle JRE 1.4.1_01, this fails.

Any ideas on this?

Thank you.
Labels (1)
0 Kudos

(5) Replies
pv7721
Level 20

You custom code has been compiled against what JVM version? While it is perfectly possible to compile it with JVM 1.4 and it'll work even if you bundle JVM 1.6, but obviously it won't work the other way around (compiling it with a newer compiler and attempting to run with an older version won't work because the JVM won't understand the newer generated bytecode).
0 Kudos
ravikumarj
Level 4

Thank you PV. That one worked well. My mistake was, I compiled my custom action classes with 1.6. Now the problem is when bundling the latest version of JRE - 1.6.0_10. Am able to build the installer successfully, but when i try installing, I face this error...

This Application has Unexpectedly Quit
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)


When I look into the details, I see the following exception. Any idea why this is behaving so...?

java.lang.NumberFormatException: For input string: "0-b15"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.(Unknown Source)
at com.zerog.ia.installer.util.BidiUtilImpl.handleBidiString(DashoA10*..)
at com.zerog.ia.installer.util.MnemonicString.(DashoA10*..)
at com.zerog.ia.installer.util.MnemonicString.(DashoA10*..)
at com.zerog.ia.installer.actions.ProgressPanelAction.getTitle(DashoA10*..)
at com.zerog.ia.installer.installpanels.ProgressActionPanel.getTitleProxy(DashoA10*..)
at ZeroGrh.getTitle(DashoA10*..)
at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
at com.zerog.ia.installer.AAMgr.d(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.e(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.m(DashoA10*..)
at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.e(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.m(DashoA10*..)
at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
at com.zerog.ia.installer.AAMgr.b(DashoA10*..)
at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.l(DashoA10*..)
at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.d(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.h(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
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.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)

Thank you.
0 Kudos
pv7721
Level 20

Please see this thread: http://community.acresso.com/showthread.php?t=178472&highlight=input+string (it's a known issue for which a fix is available).
0 Kudos
ravikumarj
Level 4

Thanks PV. Read thru that... am confident, the fix would solve my problem!

Thank a lot!
0 Kudos
hai12345
Level 3

Hi,

i am also facing same problem. i am using JVM 1.4 and also JRE 1.4.


Installation: Successful with errors.

691 Successes
0 Warnings
2 NonFatalErrors
0 FatalErrors

Action Notes:

None

Install Log Detail:

Custom Action: com.myproj.LogMessage
Status: ERROR
Additional Notes: ERROR - class com.myproj.LogMessage unavailable.

Custom Action: com.myproj.ValidateInstallPath
Status: ERROR
Additional Notes: ERROR - class com.myproj.ValidateInstallPath unavailable.

is anything i am missing?

thanks in advance.
0 Kudos