NullPointerException using HTTP Basic Authentication

If you try to use use HTTP Basic Authentication headers to invoke a secured Web Service in BPEL

<property name="httpBasicHeaders">credentials</property>
<property name="httpBasicUsername">your_username</property>
<property name="httpBasicPassword">your_password</property>

You may encounter a NullPointerException error ONLY if you use ports 80 or 443 :

<faultstring>business exception</faultstring>
<summary> : Could not invoke 'process'; nested exception is: java.lang.NullPointerException</summary>

The simplest workaround is to try to host your web-service on ports other than 80 (http) /443 (https).

The issue is fixed in MLR 8 for - patch number 8372150.

Posted in Labels: , |


  1. Anonymous Says:

    Thanks dude, this gave me huge headache.

  2. chmj Says:

    I applied MLR 10, and I stilll have this problem

  3. Anonymous Says:

    I applied MLR , and I still get same error, any suggestions?

  4. Anonymous Says:

    I applied MLR 9, gets same error.

  5. Anonymous Says: