Re: JD3 show stopper error reloading BC4J prjs
Date: Thu, 09 Dec 1999 15:51:09 -0600
Message-ID: <3850244D.AF74A1E1_at_TemporalArts.COM>
JDeveloper Team (guest) wrote:
: Hello Randall, : Your message has been forwarded to the relevant internal list. : Will keep you posted. : Regards,
Do you want additional information regarding this error and its consequences? I think I have narrowed it down to having a ViewLink object in my project (see below)
For example, this error will cause JD3 to get caught in an endless loop at "Add Application Module", "Application Module Wizard: Step 2 of 4" which can only be exited by ending the JD3 task from the NT task manager.
For example, in a BC4J project, make and/or rebuild will cause a reload of the entire package, this error will be hit, click OK, the compilation will continue and report "Successful with no errors".
For example, I created two separate workspace/projects.
- In one I generated the BC4J including default ViewObjects, ViewLinks, and AppModule for 18 tables. Package compiles with out error and saves 210 files without error. Exit. Reload. Touch package in any way and I get the reloading error.
- In two I generated the BC4J but NOT the ViewObjects, ViewLinks, and AppModule for the same 18 tables. Package compiles with out error and saves 107 files. Exit. Reload. Touch package. NO ERROR. I then selected each Entity and right clicked to create a default ViewObject for each table/entity and a default AppModule containing all the default ViewObjects. Compile, exit, reload, touch package, all without error. I selected the package and added a ViewLink equivalent to the first ViewLink in project "1"; compiles, saves without error. Attempting to edit the ViewLink (before exit/reopen) gives a "Copy error" (detailed below). Exit. Reload. Touch package and I get the reloading error. Remove this ViewLink and the reloading errors go away.
THUS, THIS RELOADING PROBLEM IS CAUSED BY HAVING EVEN A SINGLE GENERATED VIEWLINK OBJECT IN MY BC4J PROJECT OF 18 TABLES. Copy error was:
Copy operation failed: some edit may not be cancellable oracle.jbo.dt.objects.JboEntityUsage
java.lang.ClassCastException
>
> Thanks
> R.Parr
> Temporal Arts
> 608.833.4578
Received on Thu Dec 09 1999 - 22:51:09 CET