java.lang.NullPointerException: The Key password cannot be null

MuleSoft JIRA | eldokp eldokp | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Please find my connector configuration, <connector name="axisConnector" className="org.mule.providers.soap.axis.AxisConnector"> <properties> <property name="doAutoTypes" value="false"/> <property name="keyStore" value="muletest.keystore" /> <property name="storePassword" value="password" /> <property name="keyPassword" value="keypassword" /> <property name="trustStorePassword" value="password" /> <property name="trustStore" value="muletest.truststore" /> <property name="requireClientAuthentication" value="false" /> <list name="beanTypes"> <entry value="com.effigent.payAuth.common.AuthorizationRequest"/> <entry value="com.effigent.payAuth.common.ReversalRequest"/> <entry value="com.effigent.payAuth.common.AuthorizationResponse"/> </list> </properties> </connector> and end point address as <inbound-router> <endpoint address="axis:https://localhost:10080/mule"/> </inbound-router> Please see the stack trace as follows, java.lang.NullPointerException: The Key password cannot be null at org.mule.providers.http.HttpsConnector.doInitialise(HttpsConnector.java:76) at org.mule.providers.AbstractConnector.initialise(AbstractConnector.java:303) at org.mule.MuleManager.registerConnector(MuleManager.java:526) at org.mule.providers.service.ConnectorFactory.createEndpoint(ConnectorFactory.java:87) at org.mule.impl.ImmutableMuleEndpoint.createEndpointFromUri(ImmutableMuleEndpoint.java:523) at org.mule.impl.ImmutableMuleEndpoint.getOrCreateEndpointForUri(ImmutableMuleEndpoint.java:582) at org.mule.impl.ImmutableMuleEndpoint.<init>(ImmutableMuleEndpoint.java:229) at org.mule.impl.endpoint.MuleEndpoint.<init>(MuleEndpoint.java:76) at org.mule.providers.soap.axis.AxisConnector.registerReceiverWithMuleService(AxisConnector.java:343) at org.mule.providers.soap.axis.AxisMessageReceiver.doConnect(AxisMessageReceiver.java:295) at org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:342) at org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:28) at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:67) at org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:336) at org.mule.impl.model.AbstractComponent.connectListeners(AbstractComponent.java:613) at org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:224) at org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:205) at org.mule.impl.model.AbstractModel.start(AbstractModel.java:302) at org.mule.MuleManager.start(MuleManager.java:761) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:226) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:198) at org.mule.MuleServer.initialize(MuleServer.java:235) at org.mule.MuleServer.run(MuleServer.java:164) at org.mule.MuleServer.start(MuleServer.java:153) at org.mule.MuleServer.main(MuleServer.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:292) at java.lang.Thread.run(Thread.java:595)

    MuleSoft JIRA | 1 decade ago | eldokp eldokp
    java.lang.NullPointerException: The Key password cannot be null
  2. 0

    Please find my connector configuration, <connector name="axisConnector" className="org.mule.providers.soap.axis.AxisConnector"> <properties> <property name="doAutoTypes" value="false"/> <property name="keyStore" value="muletest.keystore" /> <property name="storePassword" value="password" /> <property name="keyPassword" value="keypassword" /> <property name="trustStorePassword" value="password" /> <property name="trustStore" value="muletest.truststore" /> <property name="requireClientAuthentication" value="false" /> <list name="beanTypes"> <entry value="com.effigent.payAuth.common.AuthorizationRequest"/> <entry value="com.effigent.payAuth.common.ReversalRequest"/> <entry value="com.effigent.payAuth.common.AuthorizationResponse"/> </list> </properties> </connector> and end point address as <inbound-router> <endpoint address="axis:https://localhost:10080/mule"/> </inbound-router> Please see the stack trace as follows, java.lang.NullPointerException: The Key password cannot be null at org.mule.providers.http.HttpsConnector.doInitialise(HttpsConnector.java:76) at org.mule.providers.AbstractConnector.initialise(AbstractConnector.java:303) at org.mule.MuleManager.registerConnector(MuleManager.java:526) at org.mule.providers.service.ConnectorFactory.createEndpoint(ConnectorFactory.java:87) at org.mule.impl.ImmutableMuleEndpoint.createEndpointFromUri(ImmutableMuleEndpoint.java:523) at org.mule.impl.ImmutableMuleEndpoint.getOrCreateEndpointForUri(ImmutableMuleEndpoint.java:582) at org.mule.impl.ImmutableMuleEndpoint.<init>(ImmutableMuleEndpoint.java:229) at org.mule.impl.endpoint.MuleEndpoint.<init>(MuleEndpoint.java:76) at org.mule.providers.soap.axis.AxisConnector.registerReceiverWithMuleService(AxisConnector.java:343) at org.mule.providers.soap.axis.AxisMessageReceiver.doConnect(AxisMessageReceiver.java:295) at org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:342) at org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:28) at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:67) at org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:336) at org.mule.impl.model.AbstractComponent.connectListeners(AbstractComponent.java:613) at org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:224) at org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:205) at org.mule.impl.model.AbstractModel.start(AbstractModel.java:302) at org.mule.MuleManager.start(MuleManager.java:761) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:226) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:198) at org.mule.MuleServer.initialize(MuleServer.java:235) at org.mule.MuleServer.run(MuleServer.java:164) at org.mule.MuleServer.start(MuleServer.java:153) at org.mule.MuleServer.main(MuleServer.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:292) at java.lang.Thread.run(Thread.java:595)

    MuleSoft JIRA | 1 decade ago | eldokp eldokp
    java.lang.NullPointerException: The Key password cannot be null
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    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.lang.NullPointerException

      The Key password cannot be null

      at org.mule.providers.http.HttpsConnector.doInitialise()
    2. org.mule.providers
      AbstractConnector.initialise
      1. org.mule.providers.http.HttpsConnector.doInitialise(HttpsConnector.java:76)
      2. org.mule.providers.AbstractConnector.initialise(AbstractConnector.java:303)
      2 frames
    3. Mule Core
      MuleManager.registerConnector
      1. org.mule.MuleManager.registerConnector(MuleManager.java:526)
      1 frame
    4. org.mule.providers
      ConnectorFactory.createEndpoint
      1. org.mule.providers.service.ConnectorFactory.createEndpoint(ConnectorFactory.java:87)
      1 frame
    5. org.mule.impl
      MuleEndpoint.<init>
      1. org.mule.impl.ImmutableMuleEndpoint.createEndpointFromUri(ImmutableMuleEndpoint.java:523)
      2. org.mule.impl.ImmutableMuleEndpoint.getOrCreateEndpointForUri(ImmutableMuleEndpoint.java:582)
      3. org.mule.impl.ImmutableMuleEndpoint.<init>(ImmutableMuleEndpoint.java:229)
      4. org.mule.impl.endpoint.MuleEndpoint.<init>(MuleEndpoint.java:76)
      4 frames
    6. org.mule.providers
      AbstractMessageReceiver.connect
      1. org.mule.providers.soap.axis.AxisConnector.registerReceiverWithMuleService(AxisConnector.java:343)
      2. org.mule.providers.soap.axis.AxisMessageReceiver.doConnect(AxisMessageReceiver.java:295)
      3. org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:342)
      4. org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:28)
      5. org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:67)
      6. org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:336)
      6 frames
    7. org.mule.impl
      AbstractModel.start
      1. org.mule.impl.model.AbstractComponent.connectListeners(AbstractComponent.java:613)
      2. org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:224)
      3. org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:205)
      4. org.mule.impl.model.AbstractModel.start(AbstractModel.java:302)
      4 frames
    8. Mule Core
      MuleServer.main
      1. org.mule.MuleManager.start(MuleManager.java:761)
      2. org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:226)
      3. org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:198)
      4. org.mule.MuleServer.initialize(MuleServer.java:235)
      5. org.mule.MuleServer.run(MuleServer.java:164)
      6. org.mule.MuleServer.start(MuleServer.java:153)
      7. org.mule.MuleServer.main(MuleServer.java:129)
      7 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    10. Java Service Wrapper
      WrapperSimpleApp.run
      1. org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:292)
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame