We have this really annoying bug in JDeveloper 11.1.1.6 while using the Oracle BPM plugin.
The application crashes approximately every hour with this nice feedback:
and this logging:
oracle.adf.share.ADFContext:Feb 8, 2013 9:49:35 AM oracle.adf.share.ADFContext getCurrent WARNING: Automatically initializing a DefaultContext for getCurrent. Caller should ensure that a DefaultContext is proper for this use. Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly. This message may be avoided by performing initADFContext before using getCurrent(). For more information please enable logging for oracle.adf.share.ADFContext at FINEST level. oracle.adf.share.jndi.ReferenceStoreHelper:Feb 8, 2013 9:49:35 AM oracle.adf.share.jndi.ReferenceStoreHelper getReferencesMapEx WARNING: Incomplete connection reference object for connection:STUB oracle.jps.common:Feb 8, 2013 9:49:36 AM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable. oracle.jps.common:Feb 8, 2013 9:49:36 AM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable. oracle.adf.share.jndi.ReferenceStoreHelper:Feb 8, 2013 9:49:36 AM oracle.adf.share.jndi.ReferenceStoreHelper getReferencesMapEx WARNING: Incomplete connection reference object for connection:SOA_MDS Invoking command: Changes in myProcess Invoking command: Invoking command: Invoking command: Invoking command: Performing action Save[ from oracle.bpm.fusion.studio.editor.ProcessEditor ] Invoking command: [ from oracle.bpm.fusion.studio.editor.ProcessEditor ] Performing action Save All[ from oracle.bpm.fusion.studio.editor.ProcessEditor ] Invoking command: [ from oracle.bpm.fusion.studio.editor.ProcessEditor ] Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ] Invoking command: modify adf-config for soa Invoking command: [ from oracle.ide.runner.RunLogPage ] Invoking command: Invoking command: Invoking command: Invoking command: Uncaught exception java.lang.NullPointerException net.miginfocom.layout.Grid.addLinkIDs() net.miginfocom.layout.Grid.<init>() net.miginfocom.swing.MigLayout.checkCache() net.miginfocom.swing.MigLayout.getSizeImpl() net.miginfocom.swing.MigLayout.preferredLayoutSize() o.bpm.ui.layout.MigLayout.preferredLayoutSize(MigLayout.java:114) j.a.Container.preferredSize(Container.java:1599) j.a.Container.getPreferredSize(Container.java:1584) jx.s.JComponent.getPreferredSize(JComponent.java:1636) o.ii.editor.SplitPane.doLayoutBottomTabs(SplitPane.java:537) o.ii.editor.SplitPane.doLayout(SplitPane.java:523) j.a.Container.validateTree(Container.java:1507) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validate(Container.java:1480) jx.s.RepaintManager.validateInvalidComponents(RepaintManager.java:669) jx.s.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:124) j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209) j.a.EventQueue.dispatchEventImpl(EventQueue.java:642) j.a.EventQueue.access$000(EventQueue.java:85) j.a.EventQueue$1.run(EventQueue.java:603) j.a.EventQueue$1.run(EventQueue.java:601) j.security.AccessController.doPrivileged(Native Method) j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) j.a.EventQueue.dispatchEvent(EventQueue.java:612) j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) j.a.EventDispatchThread.run(EventDispatchThread.java:122) Uncaught exception java.lang.NullPointerException net.miginfocom.layout.Grid.addLinkIDs() net.miginfocom.layout.Grid.<init>() net.miginfocom.swing.MigLayout.checkCache() net.miginfocom.swing.MigLayout.getSizeImpl() net.miginfocom.swing.MigLayout.preferredLayoutSize() o.bpm.ui.layout.MigLayout.preferredLayoutSize(MigLayout.java:114) j.a.Container.preferredSize(Container.java:1599) j.a.Container.getPreferredSize(Container.java:1584) jx.s.JComponent.getPreferredSize(JComponent.java:1636) o.ii.editor.SplitPane.doLayoutBottomTabs(SplitPane.java:537) o.ii.editor.SplitPane.doLayout(SplitPane.java:523) j.a.Container.validateTree(Container.java:1507) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validateTree(Container.java:1513) j.a.Container.validate(Container.java:1480) jx.s.RepaintManager.validateInvalidComponents(RepaintManager.java:669) jx.s.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:124) j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209) j.a.EventQueue.dispatchEventImpl(EventQueue.java:642) j.a.EventQueue.access$000(EventQueue.java:85) j.a.EventQueue$1.run(EventQueue.java:603) j.a.EventQueue$1.run(EventQueue.java:601) j.security.AccessController.doPrivileged(Native Method) j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) j.a.EventQueue.dispatchEvent(EventQueue.java:612) j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Marc Nelson mentions this in his blogpost but Oracle Support seemed more confused then us about this error. So in the end we discovered a quick fix solution on the Oracle forums here.
Solution:
The bug is in one of the third party librararies which is named: MigLayout from Mig Infocom AB.
According to their support forum this bug is fixed with Version 3.6.3:
You can download the fix in version 3.6.3 here
and replace the Library 3.6 which is shipped with Jdeveloper in directory:
%JDEV_HOME%\jdeveloper\ide\lib\miglayout-3.6-swing.jar
Dont forget to rename the downloaded 3.6.3 version and overwrite the old file, JDev will be looking for the exact 3.6 name.
References:
- Marc Nelson blog – BPM Process Editor problems in 11.1.1.6
- Oracle Forums – JDeveloper craches every 10 minutes requiring restart
KendoHoang
19-04-2013 at 13:46
Hi, I install Oracle BPM 11.1.1.7.0 on windows 7 64 bit and and I also had this problem. I downloaded miglayout-3.6.3-swing.jar in http://www.migcalendar.com/miglayout/versions/3.6.3/,
rename the downloaded 3.6.3 version and overwrite the old file (miglayout-3.6-swing.jar). But The problem is not solved. Can you help me ? Thank a lot.
This is the message when I start Jdeveloper:
Apr 19, 2013 6:01:58 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Invalid xml content was found. SchemaLocation: schemaLocation value = ‘http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd’ must have even number of URI’s. Location: unavailable.
Apr 19, 2013 6:02:02 PM oracle.adf.share.ADFContext getCurrent
WARNING: Automatically initializing a DefaultContext for getCurrent.
Caller should ensure that a DefaultContext is proper for this use.
Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
jvzoggel
24-04-2013 at 15:46
I had the problem with Oracle JDeveloper/BPM 11.1.1.6.0 so I’m not sure if the fix also works for the new release to be honest. I haven’t got time to try it yet.
Vijay
07-05-2013 at 20:39
are you able to fix the issue
. Shannara
19-11-2013 at 18:08
Has this been fixed yet? v11.1.1.1.7 stil shows this horrible bug, making it unable to use BPM … aka, the whole reason to use JDeveloper …
jvzoggel
19-11-2013 at 22:02
Hello Shannara, we are using JDev PS6 now for months and to be honest havent seen the problem occur anymore. Can you post your stacktrace ?