Error loading business components
Hi,
When I start JDeveloper I get message "Error loading business components".
Does it have any impact on further activities ?
How to correct this ?
Mark
I have similar problems in latest JDev 10.1.3 update 3.
In JDeveloper 10.1.2 this happened on VO based on entities from different packages.
In this version it seems to happen after the garbage collection does its job (I'm supposing).
What's more annoying is that in JDev 10.1.2 I had a workaround (open a simple VO when entering the IDE) and even when the error occured, you could stll enter all model component and their classes in edit mode.
In JDev 10.1.3 it's a blocking error, ALL model components become read-only + their classes (EntityImpl) are NOT reachable and the Data component palette is unusable??
The only workaround is to reopen the IDE??
Thanks
Fred
Similar Messages
-
Error Loading Business Components for Project
Good Afternoon,
I am running JDeveloper ver. 10.1.2
when I open JDeveloper I get the pop up:
Error Loading Business Components for Project
U:\Jdev\mywork\CUSTLEVR\CUSTLEVR\CUSTLEVR.jprYou could simply edit the .jpr file outside the Jdeveloper and remove <ownerMap /> element.
Additionaly, there are some <properties> in the bottom of the file, that need to be removed as well - try experimenting with them. -
"Error loading Business Component" in all projects (10.1.3 EA)
I have just started getting the following error message prompt when I attempt to expand any of my projects in the Appplication Navigator:
Error loading Business Component:
<path to>\Model.jpr
Exception: java.lang.NullPointerException
Here is a sample stack trace:
java.lang.NullPointerException
at oracle.jbo.dt.jdevx.ui.JdxVcsListener.<init>(JdxLoader.java:1723)
at oracle.jbo.dt.jdevx.ui.JdxJboAddin.initVCSListener(JdxJboAddin.java:684)
at oracle.jbo.dt.jdevx.ui.JdxJboAddin.initJboProject(JdxJboAddin.java:203)
at oracle.jbo.dt.jdevx.ui.JdxLoader.doOpenProject(JdxLoader.java:1500)
at oracle.jbo.dt.jdevx.ui.JdxLoader.openProject(JdxLoader.java:1454)
at oracle.jbo.dt.jdevx.ui.JdxLoader.update(JdxLoader.java:147)
at oracle.ide.model.IdeSubject.notifyObservers(IdeSubject.java:94)
at oracle.ide.model.Node.notifyObservers(Node.java:458)
at oracle.ide.model.UpdateMessage.fireObjectOpened(UpdateMessage.java:681)
at oracle.ide.model.Node$1$4.run(Node.java:1527)
at oracle.ide.model.Node$1.invokeLaterIfNeeded(Node.java:1587)
at oracle.ide.model.Node$1.nodeOpened(Node.java:1520)
at oracle.ide.model.Node.fireNodeOpened(Node.java:1139)
at oracle.ide.model.Node.open(Node.java:573)
at oracle.ide.model.Node.ensureOpen(Node.java:976)
at oracle.ide.model.DataContainer$2.run(DataContainer.java:147)
at oracle.ide.model.Node.runWhileSynchronized(Node.java:809)
at oracle.ide.model.DataContainer.getSharedPropertiesOnly(DataContainer.java:152)
at oracle.ide.model.Project.getPropertiesImpl(Project.java:1047)
at oracle.ide.model.Project.getProperties(Project.java:320)
at oracle.jdeveloper.model.PathsConfiguration.getInstance(PathsConfiguration.java:89)
at oracle.jdeveloper.model.PathsConfiguration.getInstance(PathsConfiguration.java:84)
at oracle.jdeveloper.library.ProjectLibrary.getSourcePath(ProjectLibrary.java:67)
at oracle.jdeveloper.model.PathsConfiguration.getSourcePath(PathsConfiguration.java:146)
at oracle.jdeveloper.model.JavaProject$5.getValue(JavaProject.java:523)
at oracle.jdeveloper.model.JavaProject$CachingProjectChangeListener.projectOpened(JavaProject.java:478)
at oracle.ide.model.Project$StorageListener.fireProjectOpened(Project.java:1118)
at oracle.ide.model.Project$StorageListener.mav$fireProjectOpened(Project.java)
at oracle.ide.model.Project$NL.nodeOpened(Project.java:1077)
at oracle.ide.model.Node.fireNodeOpened(Node.java:1139)
at oracle.ide.model.Node.open(Node.java:573)
at oracle.adf.dt.providers.DCXDataControlProvider.addControlsToArrayList(DCXDataControlProvider.java:51)
at oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.java:128)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:50)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:81)
at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
at oracle.adf.dt.controls.DataControlsTree.internalPopulateFromActiveWorkSpace(DataControlsTree.java:76)
at oracle.adf.dt.dbpanel.DataBindingPanelTree.update(DataBindingPanelTree.java:102)
at oracle.ide.model.IdeSubject.notifyObservers(IdeSubject.java:94)
at oracle.ide.model.Node.notifyObservers(Node.java:458)
at oracle.ide.IdeViewHandler.fireActiveProjectChanged(IdeViewHandler.java:147)
at oracle.ide.IdeViewHandler.activateProjectInWorkspace(IdeViewHandler.java:135)
at oracle.ide.IdeViewHandler.viewSelectionChanged(IdeViewHandler.java:166)
at oracle.ide.view.View.fireViewSelectionChanged(View.java:531)
at oracle.ideri.navigator.DefaultNavigatorWindow.fireViewSelectionChanged(DefaultNavigatorWindow.java:613)
at oracle.ide.view.View.updateSelectionImpl(View.java:484)
at oracle.ide.view.View.updateSelection(View.java:324)
at oracle.ideri.navigator.DefaultNavigatorWindow$3.viewSelectionChanged(DefaultNavigatorWindow.java:1011)
at oracle.ide.view.View.fireViewSelectionChanged(View.java:531)
at oracle.ide.view.View$4.actionPerformed(View.java:356)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
I am unable to edit any of my business components. I get NullPointerExceptions when I try.
Any clue what's going on here and how to fix it? If I need to re-install, which directories do I need to copy over from the original installation to the new one in order to pick up where I left off (minus the errors, of course! )?
Thanks for any help!
AndyPardon the -bump-. I figured I'd give it one more try for feedback before I re-install and transfer all my settings, connections etc.
Thanks,
Andy -
Error Loading Business Component : oracle.jbo.dt.jdevx.JdvXmlNode
Hi all,
We are using JDev 10.1.3.1. When I first open JDeveloper and click on Model Project to expand the node, I always get this error below:
When I rebuild, It compiles without error, but I just want to get rid of this error..
Thanks,
xtanto
Error Loading Business Component :
......\Model\Model.jpr
oracle.jbo.dt.jdevx.JdvXmlNode
Exception : java.lang.ClassCastException
java.lang.ClassCastException: oracle.jbo.dt.jdevx.JdvXmlNode
at oracle.jbo.dt.jdevx.JdvApplication.loadFromProject(JdvApplication.java:1611)
at oracle.jbo.dt.jdevx.JdvApplication.doOpenProject(JdvApplication.java:1932)
at oracle.jbo.dt.jdevx.JdvApplication.openProject(JdvApplication.java:1915)
at oracle.jbo.dt.jdevx.ui.JdxLoader.doOpenProject(JdxLoader.java:1537)
at oracle.jbo.dt.jdevx.ui.JdxLoader.openProject(JdxLoader.java:1488)
at oracle.jbo.dt.jdevx.ui.JdxLoader.update(JdxLoader.java:147)
at oracle.ide.model.IdeSubject.notifyObservers(IdeSubject.java:94)
at oracle.ide.model.Node.notifyObservers(Node.java:458)
at oracle.ide.model.UpdateMessage.fireObjectOpened(UpdateMessage.java:681)
at oracle.ide.model.Node$1$4.run(Node.java:1548)
at oracle.ide.model.Node$1.invokeLaterIfNeeded(Node.java:1608)
at oracle.ide.model.Node$1.nodeOpened(Node.java:1541)
at oracle.ide.model.Node.fireNodeOpened(Node.java:1139)
at oracle.ide.model.Node.open(Node.java:573)
at oracle.ide.model.Node.ensureOpen(Node.java:976)
at oracle.ide.model.DataContainer$2.run(DataContainer.java:147)
at oracle.ide.model.Node.runWhileSynchronized(Node.java:809)
at oracle.ide.model.DataContainer.getSharedPropertiesOnly(DataContainer.java:152)
at oracle.ide.model.Project.getPropertiesImpl(Project.java:1097)
at oracle.ide.model.Project.getProperties(Project.java:323)
at oracle.ide.model.ProjectContent.getInstance(ProjectContent.java:122)
at oracle.ide.model.ContentLevel.initChildren(ContentLevel.java:88)
at oracle.ide.model.ContentSetFilter.initChildren(ContentSetFilter.java:28)
at oracle.ide.model.ContentFilter.getChildrenImpl(ContentFilter.java:121)
at oracle.ide.model.ContentFilter.getChildren(ContentFilter.java:64)
at oracle.ideimpl.explorer.BaseTreeExplorer.addChildren(BaseTreeExplorer.java:360)
at oracle.ideimpl.explorer.BaseTreeExplorer.open(BaseTreeExplorer.java:872)
at oracle.ideimpl.explorer.BaseTreeExplorer$2.run(BaseTreeExplorer.java:1788)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)I am getting the exact same error after updates someone did yesterday on our project. We can't figure out what is causing them. Everything in our model.jpr appears to be correct from a quick look-over. Any thoughts on this?
-
Oracle.jbo.dt.jdevx.JdvXmlNode Error Loading Business component
When I bring up JDev 1.3, why do I all of a sudden get this error? I click ok, then jdev continues.
Help!I am getting the exact same error after updates someone did yesterday on our project. We can't figure out what is causing them. Everything in our model.jpr appears to be correct from a quick look-over. Any thoughts on this?
-
Business Components Load Error
Hi.
I'm using JDeveloper 11.1.2.1.0 and I can see the following message in the Message log;
Business Components: Load error - (null)
Business Components: Load error.
Object: (null)
With a reference to the Model jpr file for the project.
The application runs ok despite this message, but I'm concerned there may be problems lurking. I'm guessing this may be a hangover from attempting to remove a View Object definition from the Model project - which itself seems quite problematic (running into caching problems etc).
So, does anybody:
a) know how to resolve this load error issue and / or remove the null object reference
b) know of any problems it may cause if it cannot be removed
Thanks for your help.Do you have a source control system (svn, git,...) you use with the application?
The Model,jpr file is corrupt which may cause trouble later. Right now everything looks working, but there might some display problems when you open e.g. the application module or VO.
Save the current (corrupt?) jpr file and try to restore it from the repository until you find one which loads without the problem. Once you have on select the project in the application navigator and click on refresh (ctrl-r). This should add missing content back again.
Timo -
Load Error - Business Components
I created a project that has business components and when I close down JDeveloper and reopen I get the following message below
More Information:
We use a central objects and import them into each project that must use them. I am assuming that the issue is the projects are not seeing the central ADF Objects. But I would like to know how to Fix this without rebuilding everything all over again....
JDeveloper Version: 10.1.3.0.4.3673
Enviroment: Creating ADF Client ( Swing ) Application
Error Messages:
Object prices.phoenix.conformity.adf
Project: xxx
The following object refeered to object that could not be found:
Prices.phoenix.conformity.adf.CProductOfferView
Could not find the following objects:
Prices.phoenix.dbo.Banner
Stack Trace:
[ pre]
oracle.jbo.dt.objects.JboException: The following object(s) referred to
objects that could not be found:
prices.phoenix.conformity.adf.C_ProductOfferViewEx
Could not find the following referenced object(s):
prices.phoenix.dbo.Banner
at
oracle.jbo.dt.objects.JboException.throwException(JboException.java:81)
at
oracle.jbo.dt.objects.JboPackage.loadResolveReferencesXML(JboPackage.jav
a:1397)
at
oracle.jbo.dt.objects.JboPackage.finishObjectsLoad(JboPackage.java:1042)
at
oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:972)
at
oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:951)
at
oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile(JboBaseObject.java:2
555)
at
oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:880)
at
oracle.jbo.dt.objects.JboPackage.checkForLoad(JboPackage.java:451)
at
oracle.jbo.dt.objects.JboPackage.findContainedObjectByName(JboPackage.ja
va:440)
at
oracle.jbo.dt.objects.JboPackage.findObjectByName(JboPackage.java:1999)
at
oracle.jbo.dt.objects.JboApplication.findObjectByName(JboApplication.jav
a:943)
at
oracle.adf.dt.providers.BC4JDataControlProvider.createDataControls(BC4JD
ataControlProvider.java:153)
at
oracle.adf.dt.providers.BC4JDataControlProvider.addControlsToArrayList(B
C4JDataControlProvider.java:98)
at
oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.j
ava:129)
at
oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
lsTreeModel.java:50)
at
oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
lsTreeModel.java:35)
at
oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
lsTreeModel.java:30)
at
oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
lsTreeModel.java:25)
at
oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(Data
ControlsTree.java:81)
at
oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
at
oracle.adf.dt.controls.DataControlsTree.internalPopulateFromActiveWorkSp
ace(DataControlsTree.java:76)
at
oracle.adf.dt.dbpanel.DataBindingPanelTree.dataControlSetChanged(DataBin
dingPanelTree.java:115)
at
oracle.adf.dt.DataControlManager.notifyDataControlSetChanged(DataControl
Manager.java:54)
at
oracle.adf.dt.dbpanel.DataBindingPanel.populateTreeIfNecessary(DataBindi
ngPanel.java:99)
at
oracle.adf.dt.dbpanel.DataBindingDockeableWindow.dockableShown(DataBindi
ngDockeableWindow.java:140)
at
oracle.ide.docking.DockableWindow$ShowHideTranslator.dockableShown(Docka
bleWindow.java:68)
at
oracle.ideimpl.docking.DockStationImpl.fireDockableEvent(DockStationImpl
.java:961)
at
oracle.ideimpl.docking.DockStationImpl.fireDockableEvent(DockStationImpl
.java:1001)
at
oracle.ideimpl.docking.TitledPanel.fireDockableShown(TitledPanel.java:62
7)
at
oracle.ideimpl.docking.TitledPanel.setPageVisible(TitledPanel.java:828)
at
oracle.ideimpl.docking.TitledPanel.showClient(TitledPanel.java:758)
at
oracle.ideimpl.docking.TitledPanel.setClientVisible(TitledPanel.java:745
at
oracle.ideimpl.docking.TitledPanel.setClientVisible(TitledPanel.java:738
at
oracle.ideimpl.docking.TitledPanel.loadVisibilityLayout(TitledPanel.java
:1799)
at
oracle.ideimpl.docking.DockPanel.loadVisibilityLayout(DockPanel.java:200
at
oracle.ideimpl.docking.AbstractDockPanelHost.loadVisibilityLayout(Abstra
ctDockPanelHost.java:94)
at
oracle.ideimpl.docking.DockStationImpl.onStartup(DockStationImpl.java:14
08)
at
oracle.ideimpl.docking.DockStationImpl.loadLayout(DockStationImpl.java:1
353)
at
oracle.ideimpl.docking.DockStationListener.init(DockStationListener.java
:36)
at oracle.ide.layout.Layouts.activate(Layouts.java:758)
at oracle.ide.layout.Layouts.activateLayout(Layouts.java:176)
at
oracle.ideimpl.MainWindowImpl$2.runImpl(MainWindowImpl.java:743)
at
oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea
d.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.
java:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
[ /pre]
Message was edited by:
cchobanik
Message was edited by:
cchobanik
Message was edited by:
cchobanikJust to let everyone know the issue is a result of this error:
Compile Errors
Cory -
Error Message - Unable to Load Needed Components
0Error Message - Unable to Load Needed Components] Creative Sound Blaster 24-Li've came installed on my Dell PC and I have had no problems for 2 years.
Now when I click on Speaker Settings, Surround Mixer, Graphic Equaliser etc... I get the message "Unable to Load needed components - please reinstall the application".
So obviously, I used the Creative CD that came with my Dell PC and reinstalled the application.
And guess what, nothing changed, and I suppose this should not surprise me by now, having been in this industry for 20 years.
So I went searching for the components that could not be loaded, and guess again - yes they are all on my PC but will not load.
They are files like Speaker Manager (SpkMgr.spc) and Mixer Manager (MxMgr.mxc) and so on.
So I attempt to load them directly, and - you guessed it - another message saying "Invalid Public Key Security Object File - This file is invalid for use as the following: PKCS #7". (which means nothing to anyone). What a load of old rubbish.
I was under the impression that I purchased this software with my Dell PC, I certainly got the disk with it and now I cannot reinstall because of some certificate revocation error that I am sure almost no-one in the world knows what this means or can help. So this is what the industry has come to.
There is no point in reinstalling from the disk - the same problem reoccurs.
There is no point uninstalling all creative software, and then reinstalling - the same problem occurs.
Dell do not want to know, because the support people I spoke to were living in Katmandu or Tibet or Mumbai or somewhere cheap and remote, and probably being paid 2 dollars a day juggling their support work for Dell with milking the Yaks and fighting off the Maoist rebels.
Is there a miracle out there, or at least someone with a clue.
Cheers
MarkLooks like the installation did not complete successfully. Try the following:
<FONT face=Arial>
- Uninstall Creative MediaSource
- Delete the following 2 registry nodes:
HKEY_LOCAL_MACHINE\SOFTWARE\Creative Tech\Software Installed\MediaSource
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall\5CDDF96A-BC34-4D72-9ABA-EFFF0C39977
- Delete the following folder:
C:\Program Files\Creative\MediaSource
- Reinstall MediaSource -
Associations and Links does not load when creating Business Components
Hi guys,
I am having a problem when I create my business components from table. Let's say that I start a new fusion web application. I then create my business components, enter the proper database connection settings. After everything is done, I am only getting my entities and my views, without any associations and links.
The thing is that it worked the first time. Everything loaded as it should. I then asked a collegue of mine to try on his computer. Surprise, everything loads perfectly just like it did the first time I did it.
I then tried on one of my linux virtual machine, via the same PC that I am having the problem. Again, the same problem, even if this is another JDeveloper instance (vm).
I have read the thread 2187263 that mentions to re-create the DB connection. Again, it is not working.
Associations and View Links missing in JDeveloper 11.1.1.3 and 11.1.1.4
I saw this under the "Messages - Log" tab in JDeveloper :
Aug 7, 2012 11:09:06 AM oracle.jdbc.driver
SEVERE: 3F794B56 Throwing SQLException: 3
Aug 7, 2012 11:09:06 AM oracle.jdbc.driver
SEVERE: 6C9DD8BE Throwing SQLException: ORA-00936: missing expression
I am using JDeveloper 11.1.1.6.
Any help would do, since I do not want to uninstall JDeveloper and reinstall it again and again...Yes. In SQL Developer, when I click "Modify" on one of my tables, and then on "Foreign Keys", I can see them all.
Like I said, it worked on a different workstation, and it worked before on my computer. -
How to load data from XML DOM into tables using Business Components
<p>
Hi,
</p>
<p>
I need to upload XML file (it's not a problem) an load data (DOM tree) from this file into relationan tables. This filelooks like this:
</p>
<p>
<font face="courier new,courier" size="2"><Departments>
<Department>
<DepartmentName>OPERATIONS</DepartmentName>
<Localization>BOSTON</Localization>
<Employees>
<Employee>
<LastName>TURNER</LastName>
<Job>SALESMAN</Job>
<Manager>7698</Manager>
<HireDate>1981-09-08</HireDate>
<Salary>1500</Salary>
<Commerce>0</Commerce>
</Employee>
</Employees>
</Department>
</Departments></font>
</p>
<p>
Is there any Business Components support to obtain this ? What about primary and foreign keys values (there is no in XML file). How to place this XML data in appropriate tables ?
</p>
<p>
Kuba
</p>Pl post details of exact OS and database versions, along with a sample of the XML file and description of the tables. What have you tried so far ?
http://docs.oracle.com/cd/E11882_01/server.112/e22490/ldr_control_file.htm#i1005614
HTH
Srini -
Hi,
When i tried LOADing Business Group using 'Product Foundation' selection set, I am getting the below error in Log file.
Name: HR_BusinessGroup
Type: BC4J
Path: oracle.apps.per.isetup.schema.server.BusinessGroupAM
Time Taken(seconds): 4.0
oracle.apps.fnd.framework.OAException: An exception occurred in API 'Business Groups API'.
at oracle.apps.az.fwk.BEUtil.wrapperException(BEUtil.java:388)
at oracle.apps.az.fwk.server.BEImport.importXML(BEImport.java:447)
at oracle.apps.az.fwk.server.BEApplicationModuleImpl.importFromXML(BEApplicationModuleImpl.java:420)
at oracle.apps.per.isetup.schema.server.BusinessGroupAMImpl.importFromXML(BusinessGroupAMImpl.java:276)
at oracle.apps.az.r12.api.BC4JAPI.importAPI(BC4JAPI.java:927)
at oracle.apps.az.r12.loader.cpserver.APILoader$APIExecuter.run(APILoader.java:649)
## Detail 0 ##
oracle.apps.fnd.framework.OAException: There are warnings in this API and the commitWithWarnings flag is set to false.
at oracle.apps.az.fwk.server.BEImport.commit(BEImport.java:1900)
at oracle.apps.az.fwk.server.BEImport.endElement(BEImport.java:782)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:210)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1310)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:328)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:295)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
at oracle.apps.az.fwk.server.BEImport.importXML(BEImport.java:410)
at oracle.apps.az.fwk.server.BEApplicationModuleImpl.importFromXML(BEApplicationModuleImpl.java:420)
at oracle.apps.per.isetup.schema.server.BusinessGroupAMImpl.importFromXML(BusinessGroupAMImpl.java:276)
at oracle.apps.az.r12.api.BC4JAPI.importAPI(BC4JAPI.java:927)
at oracle.apps.az.r12.loader.cpserver.APILoader$APIExecuter.run(APILoader.java:649)
Importing rows from xml file, and validating rows ......
An error occurred in API 'Business Groups API'
View Object 'BusinessGroupVO'
Short Name = 'POC_BG'
Location = 'Head Quarter'
Cont Worker Gen = 'Automatic'
App Gen Method = 'Automatic'
Name = 'POC Business Group'
Competence Flex Id = 'Competence Flexfield'
Emp Gen Method = 'Automatic'
Job Flex Id = 'Job Flexfield'
Grade Flex Id = 'Grade Flexfield'
Group Flex Id = 'People Group Flexfield'
Type = 'BG'
Cost Flex Id = 'Cost Allocation KF'
Sec Group Name = 'Standard'
Classification = 'HR_BG'
Legislation Code = 'India'
Date From = '2009-01-01'
Position Flex Id = 'Position Flexfield'
Internal External Flag = 'INT'
Currency Code = 'INR'
The location does not exist
3 rows processed, now posting changes to the database ......
Processed API:HR_BusinessGroup
Status: ERROR
Could anyone suggest me to resolve this?
Thanks,
Harish Nunna.Hi Srini and Mugunthan,
Thanks for replying.
Yes, the location is already available in the Target instance.
One more update, the BG which I am going to Load now is also available in the Target instance. Is that the reason?
Thanks,
Harish Nunna. -
Customizing Business Components Error Messages sample
hi i have been following this sample and this: http://jobinesh.blogspot.de/2011/03/customizing-business-components-error.html,i have follow the instruction but its not working win my application i re-create the problem,i have check with the working sample i have done everything i can see be done in the working sample but mine still not work can somebody check what am i missing i have upload in this hostfile i used hr schema http://www.datafilehost.com/download-9d37bd8a.html. am using jdeveloper 11.1.1.6.0
i have created the two class and one of them
<Application xmlns="http://xmlns.oracle.com/adfm/application"
version="11.1.1.59.23" id="DataBindings" SeparateXMLFiles="false"
Package="view" ClientType="Generic"
ErrorHandlerClass="view.CustomErrorHandler"
what else am i missing what have i not done,i know am mssing something but don't know what,the sample does not show step by step implementation,it just have a working solution,if somebody know step by step implementation can you pls explain to meEdited by: adf009 on 2013/03/12 12:09 PM
Edited by: adf009 on 2013/03/20 2:44 PMis not working in my application,in my application am checking primary key constraint not unique constrains like in sample is there a diffirent
this is my class,i have re-create the problem http://www.datafilehost.com/download-9c3e5f17.html
import java.util.ListResourceBundle;
public class CustomMessageBundle extends ListResourceBundle {
private static final Object[][] sMessageStrings =
new String[][] { { "UAM_ORGUSERSLINK_PK",
"Hello, The user Already Belong to this organisation" }, };
/**Return String Identifiers and corresponding Messages in a two-dimensional array.
protected Object[][] getContents() {
return sMessageStrings;
i have follow steps in the sample
am geting this log error,instead of geting my error message
<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
javax.servlet.ServletException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[assist03 3099 ].
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: oracle.jbo.TooManyObjectsException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25013. Error message parameters are {0=oracle.jbo.Key[assist03 3099 ]}
at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:604)
at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:613)
at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1020)
at oracle.jbo.server.EntityCache.replaceForAltKey(EntityCache.java:1820)
at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:4094)
at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:3676)
at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3301)
at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:2012)
at ecadastre.gov.za.uam.model.entities.UamOrganisationUserImpl.setUsername(UamOrganisationUserImpl.java:137)
at OrgDetails.onRowCreate(OrgDetails.java:2057)
at OrgDetails.addMember(OrgDetails.java:1978)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 38 morehi can anybody help me please
Edited by: adf009 on 2013/03/26 4:59 PM -
JBO-25001 Business Components Error
Hi to all,
I am experiencing some VERY STRANGE behaviour in JDeveloper ADFBC.
I am using Jdeveloper 10.1.3.1.0.3984 to build an application using ADF and Business Components.
I have four tables, JAAS_USERS, JAAS_ROLES, JAAS_REALMS and JAAS_MAPPINGS. The only associations are that JAAS_MAPPINGS have JAAS_USERS_ID, JAAS_ROLES_ID and JAAS_REALMS_ID.
I created my entities (package: datamodel.entities) and i have specified that JAAS_USERS entity use a DBSequence for USER_ID. Please note that i included control hints for every entity.
Then i created my first view (package: datamodel.views), called JaasUsers
that simply selects all attributes of the entity.
I then created an application module (package: datamodel) and i included the view. When i test the application module everything is fine!
I created a jsf and i dragged the view as a table -> read only table and everything was fine.
I then run the page and again everything is fine.
I then realized that i needed to change the control hint for some columns. Instead of changing the control hint of the entity (JAAS_USERS) i changed the object view (JAAS_USERS).
From this point and on NOTHING WORKS!!!!!!!!!!!!!!!!!!!
Here is the error message:
(oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (.110255D7D2E) failed to checkout an application module due to the following exception:
----- LEVEL 1: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NameClashException, msg=JBO-25001: Name JaasMappings of object type Attribute already exists
----- LEVEL 2: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.NameClashException, msg=JBO-25001: Name JaasMappings of object type Attribute already exists
----- LEVEL 3: DETAIL 0 -----
(oracle.jbo.NameClashException) JBO-25001: Name JaasMappings of object type Attribute already exists
Please help me becuase i don;t know hot to fix this BUG!Hey ppl , I got an exact similar error when trying to migrate from a 10g R2 to R3 version in Jdeveloper. Quite irritating this error,
Well i guess most would have figured this out , but for benefit of all , theres a slightly easier way to tackle this ( JDEV Release 3)
in the Application Navigator view Double click your Association , within association properties un-check your expose accessor checkboxes for both the source and destination .Apply changes and do a compile. If it is required , jdev will throw an error. Simply follow the process again and check the Expose accessor boxes again. This solves the problem most of the time.
Main advantage being , you can avoid the tedious task of manually changing the xml information on Notepad or the kind.
Hope this helps.... -
Error While Create Business Components From Tables Wizard -- need help asap
Hi , i have created a view and while create Business Components through wizard for that view i am getting following error.
ENTITY CREATION FAILED FOR THE FOLLOWING DATABASE OBJECT
NO PRIMARY KEY ATTRIBUTES AND DOES NOT SUPPORT ROWID . USE ENTITY WIZARD TO CREATE THE ENTITY OBJECT.
very urgent.
Regards
bhanu prakashthanks shay .
Jdeveloper version :: 10.1.3.1.0
view Syntax is :
SELECT
oh.order_number||'- ('||ol.line_number||'-'||ol.shipment_number||')' so_line,
oh.cust_po_number customer_po,
ol.flow_status_code status,
ol.shipping_method_code carrier,
ol.ordered_item item_no,
nvl(xxapplication_express_pkg.getcustomerpart(ol.inventory_item_id, hca.cust_account_id), ' ') customer_item_number,
nvl(mtl.description , 'na') description,
nvl(org.organization_name , 'oak park') ship_from,
hcsu.location||' ('||hl.city||' '||hl.state||' '||hl.postal_code||')' ship_to,
nvl(ol.promise_date, sysdate) promised_date,
nvl(ol.ordered_quantity, 0) order_quality ,
xxapps.xx_eg_calculated_onhand(ol.line_id) available_qty,
nvl(ol.shipped_quantity, 0) shipped_quality ,
ol.order_quantity_uom uom,
hp.party_name customer_name,
jrs.name sales_person_name,
0 refer
FROM
oe_order_headers_all oh,
oe_order_lines_all ol,
hz_cust_accounts hca,
hz_parties hp ,
hz_cust_site_uses_all hcsu,
hz_cust_acct_sites_all hcas,
hz_party_sites hps,
hz_locations hl,
org_organization_definitions org ,
mtl_system_items_b mtl ,
jtf_rs_salesreps jrs
WHERE
oh.header_id = ol.header_id and
oh.org_id = ol.org_id and
oh.sold_to_org_id = hca.cust_account_id and
hca.party_id = hp.party_id and
hcas.cust_account_id = hca.cust_account_id and
hcsu.cust_acct_site_id = hcas.cust_acct_site_id and
hcas.party_site_id = hps.party_site_id and
hps.location_id = hl.location_id and
hcsu.site_use_id = oh.ship_to_org_id and
hcsu.site_use_code = 'SHIP_TO' and
org.organization_id = ol.ship_from_org_id and
org.organization_id = mtl.organization_id and
ol.inventory_item_id = mtl.inventory_item_id and
ol.ship_from_org_id = mtl.organization_id and
ol.salesrep_id = jrs.salesrep_id and
ol.org_id = jrs.org_id
Regards
Bhanu Prakash -
New Business Components doesn't load with their foreign keys
Hi,
When your database schema has already been defined and nothing moves, the creation of Business Components in JDeveloper works pretty well.
When you are developing a real application and sometimes the customer changes his mind or something, you have to add some Business Components later in the process.
My question, why associations and links doesn't follow the creation of new business object?
Example 1
I load every database object I need. All associations and links are created.
Example 2
I have let say three tables. I create my new Business Components by selecting only 2 tables out of 3. If there are foreign keys, they are loaded.
Now, I want to create the last business components (table 3 of 3), and this table got foreign keys pointing to one of the two previous tables I just loaded.
Surprise, it won't load any foreign key.
I have tried multiples ways to synchronise object, I don't see it working. So I have to create every associations and links myself. Anybody knows a trick that they want to share for this kind of situation?
Thanks
Edited by: benster on Feb 7, 2013 3:01 PMHi,
actuallly Chris Muir brought up the idea to make the entity wizard more intelligent of this. However, this is currently a suggestion by him and we work with the developers to get this idea validated and eventually in the product. Since then you will have to create relations manually. Note however that in this ADF BC behaves like the EJB entities from table wizard that also can only look up dependencies if the table is part of the selection. In your case, you select a single table and the table has a FK to another table. However, the other table is not part of the selection so why would ADF BC want to create the key relation ship. Before you say, it could parse your project, let me add that related objects may be saved in ADF libraries, which means we would parse the class path, which may be a long time waiting for you for the IDE to get back to you. So this requzrement - though valid - needs a different approach in the wizards. Until then you will have to build it manually.
Frank
Maybe you are looking for
-
Trying to develop a blocking method
This seems like it should be simple, but I've been trying to figure it out all morning. Basically, I want to develop a way to lock object across all instances to make it writeable. Creating a static boolean class variable will get me most of the way
-
What's going on with iCloud 3/11/15?
What's going on with iCloud on 3/11/15? I can't sign in & asked over & over to log in. I need to get into iCloud pages to create a document. Same issues with iTunes.
-
Can't open my Creative Suite 6 Master Collection
I have Creative Suite 6 Master Collection. I think I must have trialled Creative Cloud at some point. Recently, on opening, say, InDesign or Photoshop, I'm getting a menu asking me if I wish to continue with my trial or Licence this software. I h
-
I am on OSX 10.7.5 and recently had to reinstall it due to 'mail' not working correctly. That problem was resolved but now my I can't use the 'right click' function on the apple usb mouse. I only have a previous version re-install disc as I bought
-
Where does the password for Elgamal algorithm is stored
hi, i am doing a project in Intelligent security in java using Elagamal algorithm. The feature of Elgamal is that the password is not stored in database . Then where is the password is stored to check for a existing user . If i am an existing user th