Forum Discussion

FICO's avatar
FICO
Community Manager
9 years ago

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.NdAdvis

orProjectCompiler -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

  • FICO's avatar
    FICO
    Community 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

    1. java.lang.ArrayStoreException: java.lang.Integer