I ran into an error recently where I wasn't able to create a Business Service when developing an Oracle Service Bus (OSB) project in Oracle JDeveloper

The error received was this:

Failed to generate the business service
Can't set the text value, current token can have no text value

And here's a screenshot of the popup:

Apparently, this error is not reproducible in JDeveloper, and Oracle identified it as a bug in Oracle Doc ID 2323781.1 as being specific to the Database Adapter.

The solution is to apply patch 26851310 in the local Oracle JDeveloper installation. Simply unzip the patch under ORACLE_HOME\OPatch, then change into that directory and run opatch.bat apply.