NPE when invoking secured service without credentials
-----------------------------------------------------
Key: JBESB-2105
URL:
https://jira.jboss.org/jira/browse/JBESB-2105
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Rosetta, Security
Affects Versions: 4.4
Reporter: Martin Vecera
Following exception is thrown when secured service is invoked directly using
ServiceInvoker without credentials in the message. I'd expect SecurityServiceException
instead.
11:20:34,090 INFO [ESBCallback] Cleaning message store
11:20:37,190 ERROR [STDERR] Exception in thread "pool-57-thread-1"
11:20:37,190 ERROR [STDERR] java.lang.NullPointerException
11:20:37,190 ERROR [STDERR] at
java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
11:20:37,190 ERROR [STDERR] at
org.jboss.soa.esb.services.security.PublicCryptoUtil.decrypt(PublicCryptoUtil.java:198)
11:20:37,190 ERROR [STDERR] at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipelineSecured(ActionProcessingPipeline.java:428)
11:20:37,190 ERROR [STDERR] at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:389)
11:20:37,190 ERROR [STDERR] at
org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:538)
11:20:37,190 ERROR [STDERR] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
11:20:37,190 ERROR [STDERR] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
11:20:37,190 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira