IllegalStateException in Enterprise Integrator for custom ad

Hi

I get the attached Exception in a popup window in Enterprise Integrator v4.1.1 when I click on the adapter instance of my custom adapter (e.g. to create a Configured Operation). The special thing about this is that the same adapter code on the same broker (Enterprise Server 4.1.1 on HP-UX works fine, if I run the adapter instance on my NT workstation (default JDK from wM 1.2.2), but it fails, if I run the adapter on the HP-UX box (JDK 1.2.2). I have to use ADK40.jar.

Does anybody have a solution? Is it due to my adapter code? Any suggestions would be highly appreciated :slight_smile:

Best regards … Rick

java.lang.IllegalStateException: Mismatch: open
at
COM.activesw.api.integration.IntegrationSession.addTrackingIdToCache(Integra
tionSession.java, Compiled Code)
at java.lang.Exception.(Exception.java, Compiled Code)
at java.lang.RuntimeException.(RuntimeException.java, Compiled
Code)
at
java.lang.IllegalStateException.(IllegalStateException.java, Compiled
Code)
at
COM.activesw.api.integration.IntegrationSession.addTrackingIdToCache(Integra
tionSession.java, Compiled Code)
at
COM.activesw.api.integration.UndoManager.startIgnoreUndo(UndoManager.java,
Compiled Code)
at
COM.activesw.api.integration.IntegrationSession.startIgnoreUndo(IntegrationS
ession.java, Compiled Code)
at
COM.activesw.api.integration.EditableOperation.load(EditableOperation.java,
Compiled Code)
at
COM.activesw.api.integration.IntegrationSession.getResourceOperation(Integra
tionSession.java:2797)
at
COM.activesw.api.integration.IntelligentAdapter.getChildOperationsWithNoColl
ection(IntelligentAdapter.java, Compiled Code)
at
COM.activesw.tools.tahoe.tree.IntelligentAdapterNode.discoverChildren(Intell
igentAdapterNode.java:618)
at
COM.activesw.tools.tahoe.tree.TahoeIntegrationNode.discoverChildren(TahoeInt
egrationNode.java:788)
at
COM.activesw.tools.tahoe.model.TreeCard$TreeCardHandler.treeWillExpand(TreeC
ard.java:489)
at javax.swing.JTree.fireTreeWillExpand(JTree.java:1977)
at javax.swing.JTree.setExpandedState(JTree.java:2562)
at javax.swing.JTree.expandPath(JTree.java:1467)
at
javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:1928)
at
javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(BasicTreeUI.java
:1915)
at
javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(BasicTreeUI.
java:1876)
at
javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTreeUI.jav
a:2559)
at java.awt.Component.processMouseEvent(Component.java, Compiled
Code)
at
COM.activesw.ite.util.ActiveTreeWithPopup.processMouseEvent(ActiveTreeWithPo
pup.java, Compiled Code)
at java.awt.Component.processEvent(Component.java, Compiled Code)
at java.awt.Container.processEvent(Container.java, Compiled Code)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled
Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled
Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)

Hi

I found the solution my self. Compiling with the default webMethods compiler didn’t help either. The thing to do was to configure a new Adapter with (important!) a new Client Group and then it worked.

Strange, but solved! … Rick