Forum Discussion
FICO
9 years agoCommunity Manager
Exception while generating ADB using command line
I am getting ArrayStoreException while generating ADB...what can be the probable reasons? Please help me with the same. Pasting the error below:
C:\Workspace>
java -mx256m com.blazesoft.server.deploy.tools.NdAdvisorProjectCompiler -server <the server file name>.server
Exception while compiling and serializing the Advisor project
com.blazesoft.security.NdSecurityException: java.lang.ArrayStoreException
Possible cause
java.lang.ArrayStoreException
Please help me to find out the issue and fix it asap.
1 Reply
- FICOCommunity Manager
The Exception Looks like you have declared an array of some data type and storing the values or appending the values of different type.
For Example - Below array O is of type String, but when i tried to append it with Integer during runtime it throws me the same error.
Object[] o = "a;b;c".split(";");
o[0] = 42;
throws
- java.lang.ArrayStoreException: java.lang.Integer