Quantcast

Java Null pointer issue with old Http BC Version: httpbc-installer-3.0.0-SNAPSHOT

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Java Null pointer issue with old Http BC Version: httpbc-installer-3.0.0-SNAPSHOT

Akshay
This post has NOT been accepted by the mailing list yet.
Hello Stefan / David,

I did some tests with HTTPS BC provided by you which has SSL implementation support (httpbc-installer-3.0.0-SNAPSHOT), but I am facing java null pointer issue while using this in actual SOA project. When I am replacing my service type from Http BC to SOAP BC, same project works.

Have you come across such issues ever with this release ?

Error message:
2016-12-28T16:23:29.668+0530 SEVERE [com.sun.jbi.httpsoapbc.jaxwssupport.AsyncXmlHttpJBIProvider] (Grizzly-worker(4)) HTTPBC-W00625: An exception occured while processing a request
java.lang.NullPointerException
        at java.lang.StringBuffer.<init>(StringBuffer.java:120)
        at com.sun.jbi.httpsoapbc.OperationResolver2.determineOperationLocation(OperationResolver2.java:138)
        at com.sun.jbi.httpsoapbc.OperationResolver2.resolveOperation(OperationResolver2.java:64)
        at com.sun.jbi.httpsoapbc.InboundMessageProcessor.executePost(InboundMessageProcessor.java:402)
        at com.sun.jbi.httpsoapbc.InboundMessageProcessor.execute(InboundMessageProcessor.java:267)
        at com.sun.jbi.httpsoapbc.jaxwssupport.AsyncXmlHttpJBIProvider.invoke(AsyncXmlHttpJBIProvider.java:122)
        at com.sun.jbi.httpsoapbc.jaxwssupport.AsyncXmlHttpJBIProvider.invoke(AsyncXmlHttpJBIProvider.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.sun.jbi.httpsoapbc.jaxwssupport.InvokerImpl.invoke(InvokerImpl.java:75)
        at com.sun.xml.ws.api.server.Invoker.invokeAsyncProvider(Invoker.java:114)
        at com.sun.xml.ws.server.InvokerTube$2.invokeAsyncProvider(InvokerTube.java:169)
        at com.sun.xml.ws.server.provider.AsyncProviderInvokerTube.processRequest(AsyncProviderInvokerTube.java:89)
        at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)
        at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)
        at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)
        at com.sun.xml.ws.api.pipe.Fiber.run(Fiber.java:813)
        at com.sun.xml.ws.api.pipe.Fiber.start(Fiber.java:420)
        at com.sun.xml.ws.server.WSEndpointImpl.processAsync(WSEndpointImpl.java:368)
        at com.sun.xml.ws.server.WSEndpointImpl.process(WSEndpointImpl.java:398)
        at com.sun.xml.ws.metro.api.config.management.ManagedEndpoint.process(ManagedEndpoint.java:235)
        at com.sun.xml.ws.transport.http.HttpAdapter.invokeAsync(HttpAdapter.java:734)
        at com.sun.xml.ws.transport.http.HttpAdapter.invokeAsync(HttpAdapter.java:698)
        at com.sun.jbi.httpsoapbc.embedded.JAXWSGrizzlyRequestProcessor.processAsynchRequest(JAXWSGrizzlyRequestProcessor.java:358)
        at com.sun.jbi.httpsoapbc.embedded.JAXWSGrizzlyRequestProcessor.service(JAXWSGrizzlyRequestProcessor.java:179)
        at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:222)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
        at java.lang.Thread.run(Thread.java:745)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Java Null pointer issue with old Http BC Version: httpbc-installer-3.0.0-SNAPSHOT

David BRASSELY
Administrator
This post has NOT been accepted by the mailing list yet.
Hello Akshay,

Please send us a sample project and an URL to reproduce the issue.

I think I have already fixed this issue. Can you have a try with this HTTPBC installer: https://www.dropbox.com/s/2i801yhr1r2lzbv/httpbc-installer-3.0.0.jar?dl=0

And let us know.

Regards,
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Java Null pointer issue with old Http BC Version: httpbc-installer-3.0.0-SNAPSHOT

Akshay
This post has NOT been accepted by the mailing list yet.
Hello David,

I tried with your JAR now, this time I am getting out of memory issue. Please see below error.

Is there any way we can increase the memory size ?

Error:
2016-12-28T19:01:11.298+0530 WARNING [com.sun.jbi.engine.bpel.BPELSEInOutThread] (sun-bpel-engine-thread-5) BPJBI-6004: caught exception while processing message
java.lang.OutOfMemoryError: PermGen space
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at com.sun.jbi.framework.CustomClassLoader.loadClass(CustomClassLoader.java:238)
        at com.sun.jbi.framework.CustomClassLoader.loadClass(CustomClassLoader.java:133)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.AssignUnitImpl.getDelegateCtx(AssignUnitImpl.java:585)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.AssignUnitImpl.executeCopies(AssignUnitImpl.java:321)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.AssignUnitImpl.doAction(AssignUnitImpl.java:172)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:66)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:191)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.doAction(StructuredActivityUnitImpl.java:92)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SequenceUnitImpl.doAction(SequenceUnitImpl.java:94)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:66)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:191)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.BPELProcessInstanceImpl.doAction(BPELProcessInstanceImpl.java:662)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:163)
        at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:98)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:1088)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:280)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:1338)
        at com.sun.jbi.engine.bpel.BPELSEInOutThread.processRequest(BPELSEInOutThread.java:430)
        at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:262)
        at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:193)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Java Null pointer issue with old Http BC Version: httpbc-installer-3.0.0-SNAPSHOT

Akshay
This post has NOT been accepted by the mailing list yet.
Hello David,

Sorry for trouble, it is working with the build you provided. Just a question, on Build number tab in Open ESB Admin console, I could see ${BUILD_NUMBER} instead of actual version. Is there any way to set it up ?

Regards,
Akshay
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Java Null pointer issue with old Http BC Version: httpbc-installer-3.0.0-SNAPSHOT

David BRASSELY
Administrator
This post has NOT been accepted by the mailing list yet.
In reply to this post by Akshay
You have to upgrade the permgen space.

Please update openesb.bat or openesb.sh and add the following JAVA_OPTS :
-XX:PermSize=512m -XX:MaxPermSize=512m

Regards,
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Java Null pointer issue with old Http BC Version: httpbc-installer-3.0.0-SNAPSHOT

David BRASSELY
Administrator
This post has NOT been accepted by the mailing list yet.
In reply to this post by Akshay
Oops, too late ;)

No problem, you're welcome.
You see BUILD_NUMBER, because I've build the component by myself after fixing the issue.

Regards,
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Java Null pointer issue with old Http BC Version: httpbc-installer-3.0.0-SNAPSHOT

Akshay
This post has NOT been accepted by the mailing list yet.
Thanks David,

So we cannot able to change Build number then by our self right ?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Java Null pointer issue with old Http BC Version: httpbc-installer-3.0.0-SNAPSHOT

David BRASSELY
Administrator
This post has NOT been accepted by the mailing list yet.
You can.

But generaly, build number is defined by continuous integration (jenkins).
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Java Null pointer issue with old Http BC Version: httpbc-installer-3.0.0-SNAPSHOT

Akshay
This post has NOT been accepted by the mailing list yet.
Thanks David,

I did it myself.

Akshay
Loading...