NPE in JCA ManagedConnectionFactory in EAP 6.0.1
Issue
- NullPointerException (NPE) in Java Connector Architecture (JCA) ManagedConnectionFactory
- Custom Resource Adapter in EAP 6.0.1 is getting the following error:
java.lang.NullPointerException
com.myconnector.smtp.SmtpManagedConnection.getMessage(SmtpManagedConnection.java:235)
com.myconnector.smtp.SmtpConnectionImpl.getMessage(SmtpConnectionImpl.java:57)
org.jboss.as.quickstarts.rshelloworld.HelloService.createHelloMessage(HelloService.java:42)
org.jboss.as.quickstarts.rshelloworld.HelloWorld.getHelloWorldJSON(HelloWorld.java:42)
org.jboss.as.quickstarts.rshelloworld.HelloWorld$Proxy$_$$_WeldClientProxy.getHelloWorldJSON(HelloWorld$Proxy$_$$_WeldClientProxy.java)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Environment
- JBoss Enterprise Application Platform (EAP) 6.0.1
- JCA
- ManagedConnectionFactory
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
