title: NullPointerException in MQQueueConnectionFactory object creation
body: <p>I am getting the below error on instantiating MQConnectionFactory() object using com.ibm.mq.jar using v8.0.0.4.While the same is working fine in com.ibm.mq.jar v6.0.0.1.</p>
  
  <p>Maintain ThreadPool size     :-  false
  |   Maximum ThreadPool size      :-  -1
  |   ThreadPool inactive timeout  :-  0
  |   unavailable -                :-  com.ibm.msg.client.commonservices.CSIException: JMSCS0002</p>
  
  <blockquote>
    <p>java.lang.NullPointerException
        at com.ibm.msg.client.jms.internal.JmsFactoryFactoryImpl.getInstance(JmsFactoryFactoryImpl.java:170)
        at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.setProviderFactory(JmsConnectionFactoryImpl.java:167)
        at com.ibm.mq.jms.MQConnectionFactory.(MQConnectionFactory.java:271)
        at com.ibm.mq.jms.MQQueueConnectionFactory.(MQQueueConnectionFactory.java:72)
        at com.SendMessage.putToQueue(SendMessage.java:66)
        at com.SendMessage.main(SendMessage.java:123)</p>
  </blockquote>
  
  <pre><code>//Sending the certs
  System.setProperty("javax.net.ssl.trustStore","C:\\trustStore.jks");
  System.setProperty("javax.net.ssl.keyStore","C:\\keyStore.jks");
  System.setProperty("com.ibm.mq.cfg.useIBMCipherMappings","false");
  
  //Check for JCE Unlimited Strength Jurisdiction Policy files 
  int maxKeyLen = Cipher.getMaxAllowedKeyLength("AES");
  System.out.println(maxKeyLen);
  
  host = s;
  channel = s1;
  port = j;
  requestQ = s2;
  factory = new MQQueueConnectionFactory();
  factory.setTransportType(mqClient);
  factory.setQueueManager(qmgr);
  factory.setHostName(host);
  factory.setChannel(channel);
  factory.setPort(port);
  
  
  //Use this for SSL ciphersuites 
  factory.setSSLCipherSuite("TLS_RSA_WITH_AES_256_CBC_SHA");
  
  connection = factory.createQueueConnection();
  
  session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
  
  int i = 1;
  sQueue = new MQQueue();
  sQueue.setBaseQueueName(requestQ);
  sQueue.setPersistence(-1);
  sQueue.setExpiry(0L);
  sQueue.setTargetClient(i);
  sQueue.setPriority(5);
  
  outTextMessage = session.createTextMessage();
  outTextMessage.setText(s3);
  
  
  sender = session.createSender(sQueue);
  
  sender.send(outTextMessage);
  msgId = outTextMessage.getJMSMessageID();
  System.out.println(msgId);
  
  sender.close();
  
  session.close();
  
  connection.close();
  </code></pre>