This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi, ArrayIndexOutOfBoundsException occurs on mobile device/simulator when trying to transfer byte arrays with more than 32768 elements calling EndToEndClient generated methods. Example: calling the EndToEndClient generated method: public long service_Service_startSavingPicture(String a0, long a1, String a2, byte[] a3) throws IOException { Object[] args = new Object[] { a0, new Long(a1), a2, a3 }; return ((Long) invokeServer(7, args)).longValue(); } with argument array with size 20k works perfectly, but if array size is 40k (large picture) method call fails with exception.
This is a known limitation of 4.1 version. It should be fixed in next version, also complex types other than Strings should be supported as well.
This is fixed in 5.0. You can use range of INTEGER.MAX.
verifying all old issues