http://download.oracle.com/docs/cd/E15523_01/doc.1111/e14770/bpel.htm#BABECHBF
Using the Expression Builder to build XPath expressions may cause
Oracle JDeveloper to hang. If that happens, perform the following steps:
Kill the Oracle JDeveloper process.
Restart Oracle JDeveloper.
Select Tools > Preferences > SOA, and deselect the Validate Expression checkbox.
After performing these steps, Oracle JDeveloper should no longer hang.