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 and later
Information in this document applies to any platform.


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 ( in Application Navigator and select 'Create Web Service..'

the following exception occurs





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

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