从 Jdeveloper 打开 EO 时出现对象加载错误
我对 Oracle ADF 还很陌生,并且正在处理一个现有项目。我想向现有 EO 添加一些属性(通过表)。但每当我尝试从 Jdeveloper 打开 EO 时,都会收到以下异常,并且 EO 仍然不可编辑。
Caused by: java.lang.NullPointerException
at oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile(JboBaseObject.java:4403)
... 56 more
oracle.jbo.dt.objects.JboException: Object Load Error.
Name: oracle.apps.financials.assets.additions.model.entity.AdditionInterfaceEO
at oracle.jbo.dt.objects.JboException.throwException(JboException.java:81)
at oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile(JboBaseObject.java:4454)
at oracle.jbo.dt.objects.JboBaseObject.getPDefObject(JboBaseObject.java:6260)
at oracle.jbo.dt.objects.JboBaseObject.getPDefObject(JboBaseObject.java:6182)
at oracle.jbo.dt.jdevx.ui.editors.common.panels.JepNamePage.updatePDefObject(JepNamePage.java:472)
at oracle.jbo.dt.jdevx.ui.editors.common.panels.JepNamePage.refreshPanel(JepNamePage.java:356)
at oracle.jbo.dt.jdevx.ui.editors.entity.EoeNamePage.refreshPanel(EoeNamePage.java:178)
at oracle.jbo.dt.jdevx.ui.editors.common.JeoEditorPage.callRefreshPanel(JeoEditorPage.java:141)
at oracle.jbo.dt.jdevx.ui.editors.common.JeoPagedEditor.doRefreshPanel(JeoPagedEditor.java:461)
at oracle.jbo.dt.jdevx.ui.editors.common.JeoPagedEditor.refreshPanel(JeoPagedEditor.java:452)
at oracle.jbo.dt.jdevx.ui.editors.common.JeoEditorPage$1.run(JeoEditorPage.java:161)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
请参阅我无法添加任何属性的 EO 的图像描述:
任何帮助将不胜感激。
I am pretty new to Oracle ADF, and I am working on an existing project. I want to add some attributes (via table) to an existing EO. But whenever I'm trying to open the EO from Jdeveloper, I am getting the following exception, and the EO remains uneditable.
Caused by: java.lang.NullPointerException
at oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile(JboBaseObject.java:4403)
... 56 more
oracle.jbo.dt.objects.JboException: Object Load Error.
Name: oracle.apps.financials.assets.additions.model.entity.AdditionInterfaceEO
at oracle.jbo.dt.objects.JboException.throwException(JboException.java:81)
at oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile(JboBaseObject.java:4454)
at oracle.jbo.dt.objects.JboBaseObject.getPDefObject(JboBaseObject.java:6260)
at oracle.jbo.dt.objects.JboBaseObject.getPDefObject(JboBaseObject.java:6182)
at oracle.jbo.dt.jdevx.ui.editors.common.panels.JepNamePage.updatePDefObject(JepNamePage.java:472)
at oracle.jbo.dt.jdevx.ui.editors.common.panels.JepNamePage.refreshPanel(JepNamePage.java:356)
at oracle.jbo.dt.jdevx.ui.editors.entity.EoeNamePage.refreshPanel(EoeNamePage.java:178)
at oracle.jbo.dt.jdevx.ui.editors.common.JeoEditorPage.callRefreshPanel(JeoEditorPage.java:141)
at oracle.jbo.dt.jdevx.ui.editors.common.JeoPagedEditor.doRefreshPanel(JeoPagedEditor.java:461)
at oracle.jbo.dt.jdevx.ui.editors.common.JeoPagedEditor.refreshPanel(JeoPagedEditor.java:452)
at oracle.jbo.dt.jdevx.ui.editors.common.JeoEditorPage$1.run(JeoEditorPage.java:161)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
See the image description for the EO that I couldn't able to add any attribute:
Any help would be highly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是所有表或仅针对单个实体发生的吗?
我对较旧版本的ADF也有类似的问题。发生的事情是,数据库表中的列名的长度超过20个字符,而Jdeveloper无法处理,因此,对于这种情况,我对EO进行了手动编辑或使EO基于使用的视图同一表,但具有较短的列名称。
Is this happening for all tables or only for a single entity?
I have a similar issue with an older version of ADF. What happens is that my column names in the database table have longer than 20 characters in length and JDeveloper can't handle that, so for that case I make a manual edit of the EO or make the EO to be based on a view that uses the same table but with shorter column names.
我认为可以通过更新的最新版本来解决此错误。
I think this error could be fixed by update JDeveloper to newest version.