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 79013 - [55cat] Exception thrown when generating Entities from database
Summary: [55cat] Exception thrown when generating Entities from database
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
: 78216 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-24 06:19 UTC by hsalameh
Modified: 2006-07-28 10:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (17.06 KB, text/plain)
2006-06-24 06:20 UTC, hsalameh
Details
derby db schema (5.98 KB, text/plain)
2006-06-26 14:43 UTC, hsalameh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hsalameh 2006-06-24 06:19:15 UTC
[ BUILD # : 200606230200 ]
[ JDK VERSION : 1.5.0_05 ]

When generating entities from database, I get the exception shown in the attached messages.log.

The entities are generated, but nothing is added to faces-config.xml

this happens in the build 2006-06-23
Comment 1 hsalameh 2006-06-24 06:20:24 UTC
Created attachment 31353 [details]
messages.log
Comment 2 hsalameh 2006-06-24 06:48:40 UTC
never mind about the faces-config.xml comment. That will be in the "JSF from
entities" wizard, and is not relevant here.

But the exceptions still occurs.

Comment 3 Martin Adamek 2006-06-26 11:46:22 UTC
Andrei, is this yours?
Comment 4 Jan Horvath 2006-06-26 14:37:33 UTC
Could you please provide more details, I cannot reproduce this issue
Comment 5 hsalameh 2006-06-26 14:42:16 UTC
Here are some more details. If you need any more info, please let me know.
Create a web app and use the bundled tomcat.
Use a derby database, with the schema that i will attach below in a second.

Let me know other information you want me to include.
Comment 6 hsalameh 2006-06-26 14:43:05 UTC
Created attachment 31380 [details]
derby db schema
Comment 7 Andrei Badea 2006-06-26 16:32:54 UTC
Hopefully fixed, I wasn't able to reproduce it on Windows. I did reproduce the
exception on Linux though, but I had to resize the progress dialog a bit so that
the progress bar had a zero height. Looks like a Swing bug in JDK 1.5 (wasn't
able to reproduce on Mustang).

Checking in
src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/ProgressPanel.form;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Attic/ProgressPanel.form,v
 <--  ProgressPanel.form
new revision: 1.1.2.1.2.1; previous revision: 1.1.2.1
done
Checking in
src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/ProgressPanel.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Attic/ProgressPanel.java,v
 <--  ProgressPanel.java
new revision: 1.1.2.1.2.2; previous revision: 1.1.2.1.2.1
done
RCS file:
/cvs/j2ee/persistence/test/unit/src/org/netbeans/modules/j2ee/persistence/util/Attic/ProgressPanelTest.java,v
done
Checking in
test/unit/src/org/netbeans/modules/j2ee/persistence/util/ProgressPanelTest.java;
/cvs/j2ee/persistence/test/unit/src/org/netbeans/modules/j2ee/persistence/util/Attic/ProgressPanelTest.java,v
 <--  ProgressPanelTest.java
new revision: 1.1.2.1; previous revision: 1.1
done
RCS file:
/cvs/j2ee/persistence/test/unit/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Attic/ProgressPanelTest.java,v
done
Checking in
test/unit/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/ProgressPanelTest.java;
/cvs/j2ee/persistence/test/unit/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Attic/ProgressPanelTest.java,v
<--  ProgressPanelTest.java
new revision: 1.1.2.1; previous revision: 1.1
done
Comment 8 Andrei Badea 2006-07-28 10:50:43 UTC
*** Issue 78216 has been marked as a duplicate of this issue. ***