apache / apache/netbeans

Troubles in the Wizard : "New JSF Pages from Entity Classes"

Open
#7,100 6 comments 0 reactions 0 assignees View on GitHub
Java EE/Jakarta EE kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 21 release candidate

### What happened

When I try to use the Wizard "New JSF Pages from Entity Classes", :

1. I get entity classes in the list that not exist in my project (those classes exist in an other project)
2. I get the message :

![Screenshot from 2024-02-22 22-59-40](https://github.com/apache/netbeans/assets/101929111/5576377e-e41a-4e21-8192-24defd9ffbeb)

### Language / Project Type / NetBeans Component

_No response_

### How to reproduce

On Ubuntu 22.04, Apache netbeans 21, OpenJkd 11,17, GlassFish 7, Jakarta 10 :
1. Create a maven project and add some new Entity classes from database.
2. Delete the project
3. Create an other maven project and add some other new Entity classes from database.
4. Create new JSF pages from entity classes

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Linux (Ubuntu 22.04)

### JDK

11, 17

### Apache NetBeans packaging

Apache NetBeans Snap Package

### Anything else

I created a Virtualbox instance (windows 10) and I installed apache netbeans 21, Openjdk 17, GlassFish 7 and all things work fine.

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start at the “New JSF Pages from Entity Classes” wizard and reproduce the sequence involving deleted and newly created Maven projects; done means entities from the deleted project are absent and the reported error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.