My Oracle Support Banner

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

Last updated on NOVEMBER 06, 2021

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

  
 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.