Forum Stats

  • 3,827,218 Users
  • 2,260,751 Discussions
  • 7,897,187 Comments

Discussions

BUG - Cannot copy materialized view to offline database - JDeveloper 11GP4

ow005960
ow005960 Member Posts: 6
edited Sep 9, 2008 3:46AM in JDeveloper and ADF
I was trying to copy a schema with a lots of materialized views from into an off-line database whene I got this stack trace below

09-Sep-2008 08:09:36 oracle.jdbc.driver.T4CConnection assertLoggedOn
SEVERE: Throwing SQLException: 430
09-Sep-2008 08:21:47 oracle.ide.db.transfer.TransferManager prepare
SEVERE: Prepare failed
java.lang.IllegalArgumentException: No enum const class oracle.javatools.db.ora.MaterializedView$Staleness.IMPORT
at java.lang.Enum.valueOf(Enum.java:192)
at oracle.javatools.db.ora.MaterializedView$Staleness.valueOf(MaterializedView.java:175)
at oracle.javatools.db.ora.MaterializedViewBuilder._parseStaleness(MaterializedViewBuilder.java:378)
at oracle.javatools.db.ora.MaterializedViewBuilder.fillInBaseProperties(MaterializedViewBuilder.java:107)
at oracle.javatools.db.ora.MaterializedViewBuilder.fillInProperties(MaterializedViewBuilder.java:63)
at oracle.javatools.db.ora.MaterializedViewBuilder.fillInObject(MaterializedViewBuilder.java:54)
at oracle.javatools.db.AbstractDBObjectBuilder.buildObject(AbstractDBObjectBuilder.java:36)
at oracle.javatools.db.dictionary.DictionaryDBObjectBuilder.buildObject(DictionaryDBObjectBuilder.java:63)
at oracle.javatools.db.AbstractSchemaObject.checkInit(AbstractSchemaObject.java:168)
at oracle.javatools.db.AbstractSchemaObject.checkInit(AbstractSchemaObject.java:205)
at oracle.javatools.db.AbstractSchemaObject.copyToImpl(AbstractSchemaObject.java:64)
at oracle.javatools.db.ora.MaterializedView.copyToImpl(MaterializedView.java:378)
at oracle.javatools.db.ora.MaterializedView.copyTo(MaterializedView.java:367)
at oracle.javatools.db.AbstractDBObject.copyTo(AbstractDBObject.java:89)
at oracle.jdevimpl.offlinedb.transfer.OffToOffPolicy.copyForTransfer(OffToOffPolicy.java:181)
at oracle.ide.db.transfer.TransferManager.prepare(TransferManager.java:155)
at oracle.ide.db.transfer.TransferManager.prepareAndTransfer(TransferManager.java:374)
at oracle.ideimpl.db.transfer.TransferRunnable.run(TransferRunnable.java:79)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:615)
at java.lang.Thread.run(Thread.java:595)

Environment
Windows XP Professional
Studio Edition Version 11.1.1.0.0
Build JDEVADF_MAIN.OTN4_GENERIC_080429.0116.4949
Oracle IDE 11.1.1.0.22.49.49
java.runtime.version 1.5.0_11-b03

Database 10g R2 (10.2.0.3.0)
Tagged:

Answers

This discussion has been closed.