jcryptool / crypto

JCrypTool Crypto Plug-ins
https://www.cryptool.org
Eclipse Public License 1.0
68 stars 39 forks source link

NPE when launching ADFGVX wizard #92

Closed dschadow closed 10 years ago

dschadow commented 10 years ago

java.lang.NullPointerException at org.jcryptool.crypto.classic.adfgvx.ui.AdfgvxWizardPage$1.getDefaultResult(AdfgvxWizardPage.java:167) at org.jcryptool.crypto.classic.adfgvx.ui.AdfgvxWizardPage$1.getDefaultContent(AdfgvxWizardPage.java:200) at org.jcryptool.crypto.classic.adfgvx.ui.AdfgvxWizardPage$1.getDefaultContent(AdfgvxWizardPage.java:1) at org.jcryptool.core.util.input.AbstractUIInput.tryToSetDefaultValues(AbstractUIInput.java:125)

dschadow commented 10 years ago

Alphabet was stored as "ADFGVX-Alphabet" in XML, but was loaded as "ADFGVX Alphabet", causing the NPE.