java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available

Pentaho BI Platform Tracking | Golda David | 6 years ago
  1. 0

    Login to EE repository. create a transformation and save it to the repository. Open a command prompt and execute Carte.bat Create a slave server, in the carte server we just created. Execute the transformation remotely on this slave server. Notice the error that is thrown in the carte server console. ERROR 04-10 14:59:52,870 - Error loading plugin: HIVE/Hadoop Hive{class org.pentaho.di.core.plugins.DatabasePluginType} org.pentaho.di.core.exception.KettlePluginException: Unexpected error loading class: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:381) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240) at org.pentaho.di.core.database.DatabaseMeta.getDatabaseInterfacesMap(DatabaseMeta.java:1302) at org.pentaho.di.core.database.DatabaseMeta.findDatabaseInterface(DatabaseMeta.java:488) at org.pentaho.di.core.database.DatabaseMeta.getDatabaseInterface(DatabaseMeta.java:461) at org.pentaho.di.core.database.DatabaseMeta.setValues(DatabaseMeta.java:536) at org.pentaho.di.core.database.DatabaseMeta.setDefault(DatabaseMeta.java:412) at org.pentaho.di.core.database.DatabaseMeta.<init>(DatabaseMeta.java:402) at org.pentaho.di.core.database.DatabaseMeta.<init>(DatabaseMeta.java:864) at org.pentaho.di.shared.SharedObjects.<init>(SharedObjects.java:120) at org.pentaho.di.trans.TransMeta.readSharedObjects(TransMeta.java:2854) at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2420) at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2387) at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2373) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2360) at org.pentaho.di.trans.TransConfiguration.<init>(TransConfiguration.java:59) at org.pentaho.di.trans.TransConfiguration.fromXML(TransConfiguration.java:66) at org.pentaho.di.www.AddTransServlet.doGet(AddTransServlet.java:85) at org.pentaho.di.www.BaseHttpServlet.doPost(BaseHttpServlet.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:322) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: java.lang.AssertionError: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available at com.pentaho.commons.dsc.tlsup.core.r.getCipher(SourceFile:297) at com.pentaho.commons.dsc.tlsup.core.r.av(SourceFile:251) at com.pentaho.commons.dsc.tlsup.core.r.d(SourceFile:195) at com.pentaho.commons.dsc.f.a(SourceFile:324) at com.pentaho.commons.dsc.f.b(SourceFile:587) at com.pentaho.commons.dsc.tlsup.core.p.ai(SourceFile:491) at com.pentaho.commons.dsc.g.a(SourceFile:37) at org.pentaho.di.core.database.HiveDatabaseMeta.<init>(SourceFile:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:360) ... 35 more Caused by: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available at javax.crypto.SecretKeyFactory.<init>(DashoA13*..) at javax.crypto.SecretKeyFactory.getInstance(DashoA13*..) at com.pentaho.commons.dsc.tlsup.core.r.getCipher(SourceFile:291) ... 49 more INFO 04-10 14:59:53,005 - trans1 - Dispatching started for transformation [trans1] INFO 04-10 14:59:53,028 - trans1 - This transformation can be replayed with replay date: 2010/10/04 14:59:53 INFO 04-10 14:59:53,073 - CSV file input - Header row skipped in file 'C:\Pentaho\dry-runs\testsamples\file1.txt' INFO 04-10 14:59:53,084 - CSV file input - Finished processing (I=123, O=0, R=0, W=122, U=0, E=0) INFO 04-10 14:59:53,097 - Text file output - Finished processing (I=0, O=123, R=122, W=122, U=0, E=0) INFO 04-10 15:17:04,066 - RepositoriesMeta - Reading repositories XML file: C:\Users\Golda\.kettle\repositories.xml INFO 04-10 15:22:51,086 - trans2 - Dispatching started for transformation [trans2] INFO 04-10 15:22:51,088 - trans2 - This transformation can be replayed with replay date: 2010/10/04 15:22:51 INFO 04-10 15:22:51,103 - CSV file input - Header row skipped in file 'C:\Pentaho\dry-runs\testsamples\file1.txt' INFO 04-10 15:22:51,122 - CSV file input - Finished processing (I=123, O=0, R=0, W=122, U=0, E=0) INFO 04-10 15:22:51,185 - Text file output - Finished processing (I=0, O=123, R=122, W=122, U=0, E=0)

    Pentaho BI Platform Tracking | 6 years ago | Golda David
    java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available
  2. 0

    Login to EE repository. create a transformation and save it to the repository. Open a command prompt and execute Carte.bat Create a slave server, in the carte server we just created. Execute the transformation remotely on this slave server. Notice the error that is thrown in the carte server console. ERROR 04-10 14:59:52,870 - Error loading plugin: HIVE/Hadoop Hive{class org.pentaho.di.core.plugins.DatabasePluginType} org.pentaho.di.core.exception.KettlePluginException: Unexpected error loading class: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:381) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240) at org.pentaho.di.core.database.DatabaseMeta.getDatabaseInterfacesMap(DatabaseMeta.java:1302) at org.pentaho.di.core.database.DatabaseMeta.findDatabaseInterface(DatabaseMeta.java:488) at org.pentaho.di.core.database.DatabaseMeta.getDatabaseInterface(DatabaseMeta.java:461) at org.pentaho.di.core.database.DatabaseMeta.setValues(DatabaseMeta.java:536) at org.pentaho.di.core.database.DatabaseMeta.setDefault(DatabaseMeta.java:412) at org.pentaho.di.core.database.DatabaseMeta.<init>(DatabaseMeta.java:402) at org.pentaho.di.core.database.DatabaseMeta.<init>(DatabaseMeta.java:864) at org.pentaho.di.shared.SharedObjects.<init>(SharedObjects.java:120) at org.pentaho.di.trans.TransMeta.readSharedObjects(TransMeta.java:2854) at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2420) at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2387) at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2373) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2360) at org.pentaho.di.trans.TransConfiguration.<init>(TransConfiguration.java:59) at org.pentaho.di.trans.TransConfiguration.fromXML(TransConfiguration.java:66) at org.pentaho.di.www.AddTransServlet.doGet(AddTransServlet.java:85) at org.pentaho.di.www.BaseHttpServlet.doPost(BaseHttpServlet.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:322) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: java.lang.AssertionError: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available at com.pentaho.commons.dsc.tlsup.core.r.getCipher(SourceFile:297) at com.pentaho.commons.dsc.tlsup.core.r.av(SourceFile:251) at com.pentaho.commons.dsc.tlsup.core.r.d(SourceFile:195) at com.pentaho.commons.dsc.f.a(SourceFile:324) at com.pentaho.commons.dsc.f.b(SourceFile:587) at com.pentaho.commons.dsc.tlsup.core.p.ai(SourceFile:491) at com.pentaho.commons.dsc.g.a(SourceFile:37) at org.pentaho.di.core.database.HiveDatabaseMeta.<init>(SourceFile:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:360) ... 35 more Caused by: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available at javax.crypto.SecretKeyFactory.<init>(DashoA13*..) at javax.crypto.SecretKeyFactory.getInstance(DashoA13*..) at com.pentaho.commons.dsc.tlsup.core.r.getCipher(SourceFile:291) ... 49 more INFO 04-10 14:59:53,005 - trans1 - Dispatching started for transformation [trans1] INFO 04-10 14:59:53,028 - trans1 - This transformation can be replayed with replay date: 2010/10/04 14:59:53 INFO 04-10 14:59:53,073 - CSV file input - Header row skipped in file 'C:\Pentaho\dry-runs\testsamples\file1.txt' INFO 04-10 14:59:53,084 - CSV file input - Finished processing (I=123, O=0, R=0, W=122, U=0, E=0) INFO 04-10 14:59:53,097 - Text file output - Finished processing (I=0, O=123, R=122, W=122, U=0, E=0) INFO 04-10 15:17:04,066 - RepositoriesMeta - Reading repositories XML file: C:\Users\Golda\.kettle\repositories.xml INFO 04-10 15:22:51,086 - trans2 - Dispatching started for transformation [trans2] INFO 04-10 15:22:51,088 - trans2 - This transformation can be replayed with replay date: 2010/10/04 15:22:51 INFO 04-10 15:22:51,103 - CSV file input - Header row skipped in file 'C:\Pentaho\dry-runs\testsamples\file1.txt' INFO 04-10 15:22:51,122 - CSV file input - Finished processing (I=123, O=0, R=0, W=122, U=0, E=0) INFO 04-10 15:22:51,185 - Text file output - Finished processing (I=0, O=123, R=122, W=122, U=0, E=0)

    Pentaho BI Platform Tracking | 6 years ago | Golda David
    java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available
  3. 0

    Bug ID: JDK-6446284 PBEWithMD5AndDES SecretKeyFactory not available

    java.com | 8 months ago
    java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available at javax.crypto.SecretKeyFactory.<init>(DashoA13*..) at javax.crypto.SecretKeyFactory.getInstance(DashoA13*..)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't read tc Server property [PropertyDecoder] due to a NoSuchAlgorithmException

    Stack Overflow | 4 years ago | mattblang
    java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available at javax.crypto.SecretKeyFactory.&lt;init&gt;(DashoA13*..) at javax.crypto.SecretKeyFactory.getInstance(DashoA13*..)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.NoSuchAlgorithmException

      PBEWithMD5AndDES SecretKeyFactory not available at javax.crypto.SecretKeyFactory.<init>(DashoA13*..) at javax.crypto.SecretKeyFactory.getInstance(DashoA13*..)

      at com.pentaho.commons.dsc.tlsup.core.r.getCipher()
    2. com.pentaho.commons
      g.a
      1. com.pentaho.commons.dsc.tlsup.core.r.getCipher(SourceFile:291)
      2. com.pentaho.commons.dsc.tlsup.core.r.av(SourceFile:251)
      3. com.pentaho.commons.dsc.tlsup.core.r.d(SourceFile:195)
      4. com.pentaho.commons.dsc.f.a(SourceFile:324)
      5. com.pentaho.commons.dsc.f.b(SourceFile:587)
      6. com.pentaho.commons.dsc.tlsup.core.p.ai(SourceFile:491)
      7. com.pentaho.commons.dsc.g.a(SourceFile:37)
      7 frames
    3. org.pentaho.di
      HiveDatabaseMeta.<init>
      1. org.pentaho.di.core.database.HiveDatabaseMeta.<init>(SourceFile:30)
      1 frame
    4. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      5. java.lang.Class.newInstance0(Class.java:355)
      6. java.lang.Class.newInstance(Class.java:308)
      6 frames
    5. org.pentaho.di
      BaseHttpServlet.doPost
      1. org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:360)
      2. org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240)
      3. org.pentaho.di.core.database.DatabaseMeta.getDatabaseInterfacesMap(DatabaseMeta.java:1302)
      4. org.pentaho.di.core.database.DatabaseMeta.findDatabaseInterface(DatabaseMeta.java:488)
      5. org.pentaho.di.core.database.DatabaseMeta.getDatabaseInterface(DatabaseMeta.java:461)
      6. org.pentaho.di.core.database.DatabaseMeta.setValues(DatabaseMeta.java:536)
      7. org.pentaho.di.core.database.DatabaseMeta.setDefault(DatabaseMeta.java:412)
      8. org.pentaho.di.core.database.DatabaseMeta.<init>(DatabaseMeta.java:402)
      9. org.pentaho.di.core.database.DatabaseMeta.<init>(DatabaseMeta.java:864)
      10. org.pentaho.di.shared.SharedObjects.<init>(SharedObjects.java:120)
      11. org.pentaho.di.trans.TransMeta.readSharedObjects(TransMeta.java:2854)
      12. org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2420)
      13. org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2387)
      14. org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2373)
      15. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2360)
      16. org.pentaho.di.trans.TransConfiguration.<init>(TransConfiguration.java:59)
      17. org.pentaho.di.trans.TransConfiguration.fromXML(TransConfiguration.java:66)
      18. org.pentaho.di.www.AddTransServlet.doGet(AddTransServlet.java:85)
      19. org.pentaho.di.www.BaseHttpServlet.doPost(BaseHttpServlet.java:88)
      19 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    7. Jetty Server
      SocketConnector$Connection.run
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
      3. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      4. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      5. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      6. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      7. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      8. org.mortbay.jetty.Server.handle(Server.java:322)
      9. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
      10. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
      11. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
      12. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      13. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
      14. org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      14 frames
    8. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame