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 250419 - NullPointerException at org.netbeans.modules.j2ee.persistence.wizard.EntityClosure.isEjbProjectEntity
Summary: NullPointerException at org.netbeans.modules.j2ee.persistence.wizard.EntityCl...
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-13 20:00 UTC by sadimelbouci
Modified: 2016-07-07 08:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 195396


Attachments
stacktrace (2.84 KB, text/plain)
2015-02-13 20:00 UTC, sadimelbouci
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sadimelbouci 2015-02-13 20:00:46 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.76-b04, Java(TM) SE Runtime Environment, 1.7.0_76-b13
OS: Linux

User Comments:
GUEST: a

GUEST: Create Session EJB from entities

GUEST: I  tried to create jsf pages from entity classes, but the dialog froze

GUEST: When creating new entity from database or session for entity class, the scanning halts and stays in the scanning forever.

GUEST: erreur scanning in prossing then nothing is seen

GUEST: Generated an Entity and tried to generate JSF from an entity

GUEST: Use wizard to create new Session beans from Entity classes

sadimelbouci: Try to generate JSF from Entity beans

GUEST: Generating Session Bean foe Entity class
Scaning for Entity class ... never end

GUEST: Added Project JAR files to the WebApplication library and then I tried to create a restfullService from Entity Bean but I have just "Scanning in progress" message and no Entity clases in the list

GUEST: Trying to create JSF page by Wizard.

GUEST: Create entity, clean+build, attmpeted to add JSF from entity.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.persistence.wizard.EntityClosure.isEjbProjectEntity(EntityClosure.java:212)
   at org.netbeans.modules.j2ee.persistence.wizard.EntityClosure.access$600(EntityClosure.java:91)
   at org.netbeans.modules.j2ee.persistence.wizard.EntityClosure$4.run(EntityClosure.java:195)
   at org.netbeans.modules.j2ee.persistence.wizard.EntityClosure$4.run(EntityClosure.java:181)
   at org.netbeans.modules.java.source.parsing.MimeTask.run(MimeTask.java:83)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:598)
Comment 1 sadimelbouci 2015-02-13 20:00:48 UTC
Created attachment 151991 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 08:56:35 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss