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
- :
- Can't execute custom action, class unavailable
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 03, 2013
02:08 AM
Can't execute custom action, class unavailable
Hi, I try a sample custom action by adding an action "Execute custom code", choose the jar file an then set the class name com.zerog.ia.customcode.installpanels.DisplayImage. But it hasn't been executed.
In the log file,
Custom Action: com.zerog.ia.customcode.installpanels.DisplayImage
Status: ERROR
Additional Notes: ERROR - class com.zerog.ia.customcode.installpanels.DisplayImage unavailable.
What's the possible cause?
In the log file,
Custom Action: com.zerog.ia.customcode.installpanels.DisplayImage
Status: ERROR
Additional Notes: ERROR - class com.zerog.ia.customcode.installpanels.DisplayImage unavailable.
What's the possible cause?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 15, 2013
07:38 PM
You need to extend the 'CustomCodeAction'.
Your class declaration needs to look like:
package com.mycompany.whatever;
import com.zerog.ia.api.pub.*;
....
public class Foo extends CustomCodeAction {
....
}
Your class declaration needs to look like:
package com.mycompany.whatever;
import com.zerog.ia.api.pub.*;
....
public class Foo extends CustomCodeAction {
....
}
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)