My Oracle Support Banner

IllegalStateException while creating BusinessObject based on external schema without 'copy to project' option (Doc ID 1354737.1)

Last updated on MARCH 27, 2019

Applies to:

Oracle Business Process Management Suite - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms


Create a business object in BPM Studio based to an external schema, without 'copy to project'  option, but by just referring to the XSD location using the URL. Following error is seen and Business object will not be saved:


Performing action Business Object[ from oracle.bpm.fusion.studio.navigator.ProjectNavigatorWindow ]
Exception while performing action Business Object
java.lang.IllegalStateException: oracle.bpm.bpmobject.design.BpmObjectTypeDescriptionHelper$CannotFindAttributesObjectException: Missing xml schema for: Test1.BusinessObject
o.bpm.project.CatalogObjectImpl$BpmObjectImpl.<init>(CatalogObjectImpl.java:1350)
o.bpm.project.CatalogObjectImpl$BpmObjectImpl.<init>(CatalogObjectImpl.java:1274)
o.bpm.project.CatalogObjectImpl.newInstance(CatalogObjectImpl.java:1157)
o.bpm.project.FuegoProject.createCatalogObjectInternal(FuegoProject.java:946)
o.bpm.project.CatalogObjectImpl.create(CatalogObjectImpl.java:210)
o.bpm.project.CatalogObjectImpl.newBpmObjectFromExternalSchema(CatalogObjectImpl.java:398)
o.bpm.designer.action.NewBpmObjectAction$1.run(NewBpmObjectAction.java:84)
o.bpm.designer.action.NewBpmObjectAction$1.run(NewBpmObjectAction.java:76)
o.bpm.ui.peer.swing.SwingToolkit$MyJob.run(SwingToolkit.java:198)
foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
j.security.AccessController.doPrivileged(Native Method)
foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
foxtrot.workers.DefaultWorkerThread.run(DefaultWorkerThread.java:153)
j.lang.Thread.run(Thread.java:619)
Caused by:
oracle.bpm.bpmobject.design.BpmObjectTypeDescriptionHelper$CannotFindAttributesObjectException: Missing xml schema for: Test1.BusinessObject
o.bpm.bpmobject.design.BpmObjectTypeDescriptionHelper.getAttributesObject(BpmObjectTypeDescriptionHelper.java:454)
o.bpm.project.CatalogObjectImpl$BpmObjectImpl.<init>(CatalogObjectImpl.java:1290)
o.bpm.project.CatalogObjectImpl$BpmObjectImpl.<init>(CatalogObjectImpl.java:1274)
o.bpm.project.CatalogObjectImpl.newInstance(CatalogObjectImpl.java:1157)
o.bpm.project.FuegoProject.createCatalogObjectInternal(FuegoProject.java:946)
o.bpm.project.CatalogObjectImpl.create(CatalogObjectImpl.java:210)
o.bpm.project.CatalogObjectImpl.newBpmObjectFromExternalSchema(CatalogObjectImpl.java:398)
o.bpm.designer.action.NewBpmObjectAction$1.run(NewBpmObjectAction.java:84)
o.bpm.designer.action.NewBpmObjectAction$1.run(NewBpmObjectAction.java:76)
o.bpm.ui.peer.swing.SwingToolkit$MyJob.run(SwingToolkit.java:198)
foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
j.security.AccessController.doPrivileged(Native Method)
foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
foxtrot.workers.DefaultWorkerThread.run(DefaultWorkerThread.java:153)
j.lang.Thread.run(Thread.java:619)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.