App Connect

Expand all | Collapse all

Deploying kafka node in ACE V11.0.0.7/8 , null pointer exception error.

  • 1.  Deploying kafka node in ACE V11.0.0.7/8 , null pointer exception error.

    Posted Thu May 07, 2020 05:13 AM
    Hi,

    Deploying the Kafka node message flows using ssl tlsv1.2(truststore, keystore), setting the properties at EG level. Kafka policy with all the details.

    Error: 

     

    BIP4395E

    Java exception: 'java.lang.NullPointerException'; thrown from class name: 'java.lang.String', method name: 'valueOf', file: 'String.java', line: '3322'

    Any suggestions please?




    ------------------------------
    Amrita Singh
    ------------------------------


  • 2.  RE: Deploying kafka node in ACE V11.0.0.7/8 , null pointer exception error.

    Posted Mon May 11, 2020 12:26 PM
    Any help please??

    ------------------------------
    Amrita Singh
    ------------------------------



  • 3.  RE: Deploying kafka node in ACE V11.0.0.7/8 , null pointer exception error.

    Posted Tue May 12, 2020 02:08 AM

    Hello,

    can you provide more information on what you exactly did?
    - What message flow did you implement ? 
    - What properties (SecurityProtocol, SSL protocol, ...) did you set on the node ? 
    - What security did you set on the integration server (mqsisetdbparms) ? 

    - Can you share the whole errors ?



    ------------------------------
    Pierre Richelle
    IBM Hybrid Cloud Integration Specialists
    IBM
    bruxelles
    0474681892
    ------------------------------



  • 4.  RE: Deploying kafka node in ACE V11.0.0.7/8 , null pointer exception error.

    Posted Tue May 12, 2020 07:53 AM
    - I used Kafka producer node to send message to a kafka topic secured with TLS mutual authentication.
    -Policy for kafka created with details:
    Bootstrap server
    Security protocol- SSL TLSv1.2
    keystore location and password
    truststore location and password
    Hostname checking =set to false
    -Used this policy in the kafka producer node
    -Properties set on Integration server:
    mqsichangeproperties node -e test_01 -o ComIbmJVMManager -n keystoreFile -v /data/KeyStore/user.p12

    mqsichangeproperties node -e test_01 -o ComIbmJVMManager -n keystoreType -v PKCS12

    mqsichangeproperties node -e test_01 -o ComIbmJVMManager -n keystorePass -v test_01Keystore:password

    mqsichangeproperties node -e test_01 -o ComIbmJVMManager -n truststoreFile -v /data/TrustStore/truststore.p12

    mqsichangeproperties node -e test_01 -o ComIbmJVMManager -n truststoreType -v PKCS12

    mqsichangeproperties node -e test_01 -o ComIbmJVMManager -n truststorePass -v test_01Truststore:password

    mqsisetdbparms node -n test_01Keystore:password -u ignore -p abcdef

    mqsisetdbparms node -n test_01Truststore:password -u ignore -p abcdef

    Error is while deploying the flow to Integration server: 
    Unexpected java exception thrown from the Connector method ''JavaOutputConnector::initialize''.

    The Connector threw an unexpected type of exception. See previous errors for the detail of the java exception thrown.

    The Connector provider is throwing a type of exception that can not be handled by integration node. Contact the supplier of the Connector.

    Java exception: ''java.lang.NullPointerException''; thrown from class name: ''java.lang.String'', method name: ''valueOf'', file: ''String.java'', line: '3322'

    The message contains that data associated with a Java exception.

    No user action required.

    ------------------------------
    Amrita Singh
    ------------------------------



  • 5.  RE: Deploying kafka node in ACE V11.0.0.7/8 , null pointer exception error.

    Posted Wed May 13, 2020 07:47 AM

    Hello,
    Seems that you made the right setup.
    I wasn't able to reproduce your issue. Are you sure the integration node/server is at the right level?

    You might try to trace the deployment.
    https://www.ibm.com/support/pages/node/78039

    It's for V9 but this should still be valid. 



    ------------------------------
    Pierre Richelle
    IBM Hybrid Cloud Integration Specialists
    IBM
    bruxelles
    0474681892
    ------------------------------



  • 6.  RE: Deploying kafka node in ACE V11.0.0.7/8 , null pointer exception error.

    Posted Thu October 15, 2020 02:39 PM

    Were you able to resolve this issue?​

    we are getting similar null point exception trying to connect to Kafka over Mutual Auth 



    ------------------------------
    Mike Bryan
    ------------------------------



  • 7.  RE: Deploying kafka node in ACE V11.0.0.7/8 , null pointer exception error.

    Posted Fri October 16, 2020 04:43 AM

    A similar error message is known. Maybe the solution is the same.
    IT29562: DEPLOYMENT OF KAFKA NODE FLOWS FAILS WITH A NULLPOINTEREXCEPTION

    https://www.ibm.com/support/pages/apar/IT29562

    ------------------------------
    Matthias Jungbauer
    ------------------------------