wokier / gwt-crypto

Automatically exported from code.google.com/p/gwt-crypto
8 stars 1 forks source link

Str,java throws NullPointerException when calling toChars() #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. The following code produces the error:
    TripleDesKeyGenerator kg = new TripleDesKeyGenerator();
    byte[] key = kg.generateNewKey();
    String encodedKey = kg.encodeKey(key));

What is the expected output? What do you see instead?
Expected a key encoded as a printable string; received a
NullPointerException from line 20 of Str.java

What version of the product are you using? On what operating system?
1.0.2

Please provide any additional information below.

Original issue reported on code.google.com by shon.fra...@gmail.com on 29 Dec 2009 at 4:58

GoogleCodeExporter commented 9 years ago
"On what operating system?" - gwt-crypto 1.0.2 on GWT 2.0

Original comment by shon.fra...@gmail.com on 29 Dec 2009 at 5:01

GoogleCodeExporter commented 9 years ago

Original comment by moor...@gmail.com on 30 Dec 2009 at 9:54

GoogleCodeExporter commented 9 years ago
Was due to the multibyte fix (bug #3).  Updated to 1.0.3.

Original comment by moor...@gmail.com on 30 Dec 2009 at 10:57

GoogleCodeExporter commented 9 years ago

Original comment by moor...@gmail.com on 30 Dec 2009 at 10:57