https://bz.apache.org/bugzilla/show_bug.cgi?id=66115
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from [email protected] --- Code snippet used to read the file: Biff8EncryptionKey.setCurrentUserPassword(null); Biff8EncryptionKey.setCurrentUserPassword(password); try { workbook = new HSSFWorkbook((InputStream) inputStream); } catch (IOException e1) { throw e1; } finally { Biff8EncryptionKey.setCurrentUserPassword(null); } Error Message: Caused by: java.lang.IllegalArgumentException: Name is too long: �J�mA��}-LR����M��2'n���0ՀC>�.}�2�O���$�LJ%�� � ze\��������C9�Xko%i�]��d�rhd_���[�=�@|%�*�~� at org.apache.poi.hssf.record.WriteAccessRecord.setUsername(WriteAccessRecord.java:102) at org.apache.poi.hssf.record.WriteAccessRecord.<init>(WriteAccessRecord.java:70) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.poi.hssf.record.RecordFactory$ReflectionConstructorRecordCreator.create(RecordFactory.java:84) ... 92 more -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
