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 79817 - Endless redefines ... in loop
Summary: Endless redefines ... in loop
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker with 1 vote (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-06 11:51 UTC by ulfzibis
Modified: 2007-01-30 23:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ResultSetMetaData {From jdk6.0 JdbcOdbcBugsUML} instead {From sql} (51.14 KB, image/jpeg)
2006-07-06 12:33 UTC, ulfzibis
Details
Now I have it again ... (43.75 KB, image/jpeg)
2006-07-06 15:12 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2006-07-06 11:51:12 UTC
Installation: Netbeans 5.5 Q-build 3 + Enterprise EA-Pack under JDK 1.5.0_07

I have a Project to debug sun.jdbc.odbc.*.

- platform.active=JDK_1.6.0-beta-b59g with additional sources for debugging:
    JDK_1.6.0-beta-b59g\src.zip
    JDK_1.6.0-beta-b59g\src\j2se\src\share\classes\
    JDK_1.6.0-beta-b59g\src\j2se\src\windows\classes\
- run.jvmargs=-Xbootclasspath/p:${build.classes.dir}
- In project's src folder I have the entire sun.jdbc.odbc package and some tests.
- For test-requirement I have modified classes JdbcOdbcResultSet and
JdbcOdbcBoundCol.

- I executed "Reverse Engineering ..." for this project.
- I executed "Generate Dependency Diagram" on Model sun.jdbc.odbc.JdbcOdbcResultSet.

Then I opened JdbcOdbcResultSet.java, JdbcOdbc.java and JdbcOdbcObject.java in
the editor.

... after this I was in an endless loop of message boxes asking if I like to
redefine different enherited members (after 30 minutes I had to kill NetBeans by
Task-Manager).
After some time, also some JdbcOdbc*.java files have been modified (statements
import java.sql.* and import java.util.* have been added) also.
Comment 1 ulfzibis 2006-07-06 12:22:56 UTC
In node "Model" I have:
  java.sql.PreparedStatement
  java.sql.Date
  java.sql.Driver
  java.sql.Time
  java.sql.TimeStamp
  java. ... and more
  sun.jdbc.odbc.<> (7 times, when I delete 1, the 6 others are also deleted)
  sun.jdbc.odbc.Map<String, > (6 times)
  ... and more
but (without package descriptor):
  CallableStatement
  Statement
  Array
  Clob
  double
  Double
  ... and 40 more others



Comment 2 ulfzibis 2006-07-06 12:33:05 UTC
Created attachment 31669 [details]
ResultSetMetaData {From jdk6.0 JdbcOdbcBugsUML} instead {From sql}
Comment 3 ulfzibis 2006-07-06 12:40:53 UTC
After I deleted Node sun.jdbc.odbc.<> in Model, the problem didn't occur anymore.

Comment 4 ulfzibis 2006-07-06 14:47:17 UTC
Also Duplicate Operation Dialog was presented several times.

Comment 5 ulfzibis 2006-07-06 15:12:13 UTC
Created attachment 31675 [details]
Now I have it again ...
Comment 6 Trey Spiva 2006-09-21 19:30:14 UTC
*** Issue 80339 has been marked as a duplicate of this issue. ***
Comment 7 Yang Su 2006-10-06 21:53:38 UTC
This is just another issue caused by UML project and Java source editor cyclic
event invocation, with the design change in UML to disable live roundtrip
synchronization this issue will go away.
Comment 8 Peter Lam 2007-01-30 23:45:24 UTC
live round-trip is disabled.