NullPointerException while Creating Webservices From A JAVA Class in JDeveloper 12c (Doc ID 1908409.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

Launch JDeveloper in Java EE Developer role with a clean system folder and do the following steps

  1. create a new Java EE project
  2. create a new entities from table (in Model project). Select DEPT, EMP with foreign keys 
  3. and click Finish 
  4. create a new Session bean. Accept all defaults and Finish. 
  5. Right click on the session bean (SessionEJBBean.java) in Application Navigator and select 'Create Web Service..'

the following exception occurs

  
 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms