This content has been marked as final.
Show 4 replies
-
1. Re: ArrayIndexOutOfBoundsException during field interception
kabirkhan May 10, 2005 10:16 AM (in response to hengels)Can you post your KernelAbstract and KernelOptionsDefault classes?
-
2. Re: ArrayIndexOutOfBoundsException during field interception
hengels May 10, 2005 10:25 AM (in response to hengels)KernelOptionsDefault is more or less a plain java bean:
public class KernelOptionsDefault implements KernelOptions, KernelConstants { public static String _ARVERSION_ = "_AV_ KernelOptionsDefault 3103 029470 pflaum 02.05.2005-18:53 _AV_"; protected int processType = ProcessManagementConstants.PROCESSTYPE_JAVACLIENT; protected boolean simulateApplication = false; protected boolean mdi = false; protected boolean exitVMAfterStop = true; protected boolean use2Tier = false; // this was line 121 before comment stripping protected boolean skipIntro = false; protected char purpose = PURPOSE_PRODUCTIVE; protected AppConfigurationEntry[] entries = null; protected WProject project = GUIProject.getInstance(); protected String loginContextName = null; protected GraphicConfiguration graphicConfiguration = null; public AppConfigurationEntry[] getEntries() { return entries; } public void setEntries( AppConfigurationEntry[] newEntries ) { entries = newEntries; } public GraphicConfiguration getGraphicConfiguration() { return graphicConfiguration; } public boolean isExitVMAfterStop() { return exitVMAfterStop; } // ... }
-
3. Re: ArrayIndexOutOfBoundsException during field interception
kabirkhan May 11, 2005 5:39 AM (in response to hengels)Hi,
I had a very brief look (using my own class) but could not reproduce the error. If you have the time, could you please put together a simple test case that reproduces the problem and send it to me?
Thanks -
4. Re: ArrayIndexOutOfBoundsException during field interception
chlabreu May 24, 2005 7:04 PM (in response to hengels)O don´t know why, but it happens to me when I name a field begining with "_" character in the interceptor class to prevent recursive behaviour (interceptor trying to intercept its own fields)
--
minduim