netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Entity classes from database wizard not working. NetBeans 21.

Open klermangutierrez opened this issue 1 year ago • 0 comments

Apache NetBeans version

Apache NetBeans 21

What happened

The Entity Classes from Database Wizard doesn't work anymore in version 21. I haven't used it for some time, and I suspect that it doesn't work after a NetBeans upgrade from version 20.

Language / Project Type / NetBeans Component

Java Desktop Maven Hibernate

How to reproduce

In the Services Tab, I have created a new connection to a MySQL Server database. Tables, fields can be seen, and queries execute as expected. In the Projects Tab, I select a project package, right click and select New -> Other -> Persistence -> Entity Classes from Database, and clic on Next. A red label in the wizard window says "Select the table source". At the bottom of the NetBeans Window an information warning appears. "You have one unread notification". In the Notification Tab, I click on the Unexpected exception, and I read "Width and height must be > 0". I click on Show Details, and I get a log of warnings.

Did this work correctly in an earlier version?

Apache NetBeans 20

Operating System

Linux Ubuntu 22.04.4 LTS

JDK

OpenJDK Runtime Environment (build 21.0.1+12-29), OpenJDK 64-Bit Server VM (build 21.0.1+12-29, mixed mode, sharing)

Apache NetBeans packaging

Apache NetBeans Snap Package

Anything else

No response

Are you willing to submit a pull request?

No

klermangutierrez avatar Mar 08 '24 16:03 klermangutierrez