AnsweredAssumed Answered

I got a error "Central Log Store is not initialized!!!"

Question asked by Li Lee on Apr 7, 2018

When i compile the source of PDI, i got a error "Central Log Store is not initialized!!!".

The environment is WIN10+Intellij IDEA 2018, and i build it in  a console with the command "mvn clean install"

The error message is here:

 

Running org.pentaho.di.core.encryption.CertificateGenEncryptUtilTest

java.lang.RuntimeException: Central Log Store is not initialized!!!

        at org.pentaho.di.core.logging.KettleLogStore.getInstance(KettleLogStore.java:180)

        at org.pentaho.di.core.logging.KettleLogStore.getAppender(KettleLogStore.java:230)

        at org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:123)

        at org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:134)

        at org.pentaho.di.core.logging.LogChannel.logError(LogChannel.java:158)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtil.decryptUsingKey(CertificateGenEncryptUtil.java:132)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtilTest.testPrivatePrivate(CertificateGenEncryptUtilTest.java:101)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)

        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException : DER input, Integer tag error

        at sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(RSAKeyFactory.java:217)

        at java.security.KeyFactory.generatePrivate(KeyFactory.java:372)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtil.decodeTransmittedKey(CertificateGenEncryptUtil.java:94)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtilTest.testImproperSessionKeyEncryptionDecryption2(CertificateGenEncryptUtilTest.java:159)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)

        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

Caused by: java.security.InvalidKeyException: IOException : DER input, Integer tag error

        at sun.security.pkcs.PKCS8Key.decode(PKCS8Key.java:352)

        at sun.security.pkcs.PKCS8Key.decode(PKCS8Key.java:357)

        at sun.security.rsa.RSAPrivateCrtKeyImpl.<init>(RSAPrivateCrtKeyImpl.java:91)

        at sun.security.rsa.RSAPrivateCrtKeyImpl.newKey(RSAPrivateCrtKeyImpl.java:75)

        at sun.security.rsa.RSAKeyFactory.generatePrivate(RSAKeyFactory.java:316)

        at sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(RSAKeyFactory.java:213)

        ... 27 more

java.security.InvalidKeyException: Unwrapping failed

        at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:445)

        at javax.crypto.Cipher.unwrap(Cipher.java:2550)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtil.decodeTransmittedKey(CertificateGenEncryptUtil.java:98)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtilTest.testImproperSessionKeyEncryptionDecryption3(CertificateGenEncryptUtilTest.java:177)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)

        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

Caused by: javax.crypto.BadPaddingException: Decryption error

        at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)

        at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)

        at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)

        at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:440)

        ... 27 more

java.security.InvalidKeyException: Unwrapping failed

        at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:445)

        at javax.crypto.Cipher.unwrap(Cipher.java:2550)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtil.decodeTransmittedKey(CertificateGenEncryptUtil.java:98)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtilTest.testImproperSessionKeyEncryptionDecryption4(CertificateGenEncryptUtilTest.java:195)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)

        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

Caused by: javax.crypto.BadPaddingException: Decryption error

        at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)

        at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)

        at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:356)

        at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:440)

        ... 27 more

java.security.InvalidKeyException: Unwrapping failed

        at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:445)

        at javax.crypto.Cipher.unwrap(Cipher.java:2550)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtil.decodeTransmittedKey(CertificateGenEncryptUtil.java:98)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtilTest.testImproperSessionKeyEncryptionDecryption5(CertificateGenEncryptUtilTest.java:212)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)

        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

Caused by: javax.crypto.BadPaddingException: Decryption error

        at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)

        at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)

        at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)

        at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:440)

        ... 27 more

java.security.InvalidKeyException: Unwrapping failed

        at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:445)

        at javax.crypto.Cipher.unwrap(Cipher.java:2550)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtil.decodeTransmittedKey(CertificateGenEncryptUtil.java:98)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtilTest.testImproperSessionKeyEncryptionDecryption6(CertificateGenEncryptUtilTest.java:229)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)

        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

Caused by: javax.crypto.BadPaddingException: Decryption error

        at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)

        at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)

        at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:356)

        at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:440)

        ... 27 more

java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException: algid parse error, not a sequence

        at sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:205)

        at java.security.KeyFactory.generatePublic(KeyFactory.java:334)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtil.decodeTransmittedKey(CertificateGenEncryptUtil.java:91)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtilTest.testImproperSessionKeyEncryptionDecryption(CertificateGenEncryptUtilTest.java:145)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)

        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

Caused by: java.security.InvalidKeyException: IOException: algid parse error, not a sequence

        at sun.security.x509.X509Key.decode(X509Key.java:398)

        at sun.security.x509.X509Key.decode(X509Key.java:403)

        at sun.security.rsa.RSAPublicKeyImpl.<init>(RSAPublicKeyImpl.java:84)

        at sun.security.rsa.RSAKeyFactory.generatePublic(RSAKeyFactory.java:298)

        at sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:201)

        ... 27 more

java.lang.RuntimeException: Central Log Store is not initialized!!!

        at org.pentaho.di.core.logging.KettleLogStore.getInstance(KettleLogStore.java:180)

        at org.pentaho.di.core.logging.KettleLogStore.getAppender(KettleLogStore.java:230)

        at org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:123)

        at org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:134)

        at org.pentaho.di.core.logging.LogChannel.logError(LogChannel.java:158)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtil.decryptUsingKey(CertificateGenEncryptUtil.java:132)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtilTest.testPrivateAnotherPublic(CertificateGenEncryptUtilTest.java:68)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)

        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

java.lang.RuntimeException: Central Log Store is not initialized!!!

        at org.pentaho.di.core.logging.KettleLogStore.getInstance(KettleLogStore.java:180)

        at org.pentaho.di.core.logging.KettleLogStore.getAppender(KettleLogStore.java:230)

        at org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:123)

        at org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:134)

        at org.pentaho.di.core.logging.LogChannel.logError(LogChannel.java:158)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtil.decryptUsingKey(CertificateGenEncryptUtil.java:132)

        at org.pentaho.di.core.encryption.CertificateGenEncryptUtilTest.testPublicPublic(CertificateGenEncryptUtilTest.java:85)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)

        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

Outcomes