This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256862

Summary: NullPointerException at org.netbeans.modules.j2ee.persistence.action.EntityManagerGenerator.generate
Product: javaee Reporter: thruminds
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 221373
Attachments: stacktrace

Description thruminds 2015-11-30 08:23:48 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 7

User Comments:
GUEST: I was generating a RESTful web service from database. By the way, several times, because when I tried to deploy to Glassfish it gives me an error: org.eclipse.persistence.exceptions.ValidationException, with this explication: Entity name must be unique in a persistence unit. Entity name [Idioma] is used for the entity classes [com.sauki.service.Idioma] and [com.sauki.model.Idioma].

I don
Comment 1 thruminds 2015-11-30 08:23:50 UTC
Created attachment 157552 [details]