Edit trading partner profile fails

I’ve just inherited a few webMethods 6.1 systems, with which I’m pretty much completely unfamiliar. After spending a bunch of time in documentation and messing around with developer and other things, I’m coming to grips with what’s going on, but I have a few persistent problems, the most pressing of which is I can’t edit trading partner profiles. I start the TNConsole application, switch from viewing something called “Enterprise” to “Trading Partners” with a button on the toolbar, and see a list of several hundred trading partners. If I right-click on one to edit any particular trading partner, the console spits the following exception to STDOUT. Any suggestions?

2006-10-09 09:58:16 MDT [ISU.0000.9999D] PipeIn: >>>BasicData:partnerID=vg00010013qukofs000002rk<<<
2006-10-09 09:58:16 MDT [ISU.0000.9999D] PipeOut: >>>BasicData:signInfo=null,decryptInfo=null,encryptInfo=null,verifyInfo=null<<<
java.lang.NullPointerException
at com.wm.app.tn.ui.profile.CertificatePanel.setIsHost(CertificatePanel.java:775)
at com.wm.app.tn.ui.profile.AccessPanel.setTabDataAt(AccessPanel.java:275)
at com.wm.app.tn.ui.profile.AccessPanel.resetData(AccessPanel.java:256)
at com.wm.app.tn.ui.profile.AccessPanel.setData(AccessPanel.java:269)
at com.wm.app.tn.ui.profile.ProfilePanel.setAccessData(ProfilePanel.java:888)
at com.wm.app.tn.ui.profile.ProfilePanel.setData(ProfilePanel.java:822)
at com.wm.app.tn.ui.profile.AddNewDialog.layoutDialog(AddNewDialog.java:309)
at com.wm.app.tn.ui.profile.AddNewDialog.(AddNewDialog.java:88)
at com.wm.app.tn.ui.profile.partner.TradingPartnerPanel$1.actionPerformed(TradingPartnerPanel.java:163)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
I’ve removed the rest for brevity… it’s all from calls either to the java.swing or java.awt packages. Thanks for any help you can give.

-eggyknap

I should add I’m running the console on a linux system now, but get the same behavior on Windows. It has happened on every trading partner I’ve tried to edit, though I admit not having tried all 1200+ of them :slight_smile:

Do your TNConsole login user acccount have TNAdministrators,TNPartners rights?? I mean is it comes under the above mentioned User Groups?? Please check it with your wM IS Admin and make sure you have all necessary permissions just in case.

HTH,
RMG

I didn’t have TNPartner’s rights. I modified that, and have the same problem. In case it’s helpful, the full log from the TNConsole is below. The first exception, on line 3, happens while the console is starting up, the second happens when I switch from the Enterprise view to the Trading Partners view, and the third is what I get when trying to edit a profile.

2006-10-09 12:41:04 MDT [ISU.0000.9999W] Version: webMethods Trading Networks 6.1 Build 705
2006-10-09 12:41:09 MDT [ISU.0000.9999D] Connected as jtolley to 166.70.106.26 server v6.1, TN v6.1
2006-10-09 12:41:10 MDT [ISU.0000.9999D] com.wm.app.b2b.server.UnknownServiceException: wm.tn.profile:getProfileMappings
at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:58)
at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:167)
at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:298)
at com.wm.util.pool.PooledThread.run(PooledThread.java:105)
at java.lang.Thread.run(Thread.java:534)

2006-10-09 12:41:10 MDT [ISU.0000.9999D] Get The Server DBLimits values
2006-10-09 12:41:11 MDT [ISU.0000.9999D] Received 11 profile ID types
2006-10-09 12:41:11 MDT [ISU.0000.9999D] Received descriptions = 11 profile ID types
2006-10-09 12:41:11 MDT [ISU.0000.9999D] Received 0 profile ID types
2006-10-09 12:41:11 MDT [ISU.0000.9999D] Received 2 profile contact types
2006-10-09 12:41:12 MDT [ISU.0000.9999D] Received Scheduled Services = 3 delivery services
2006-10-09 12:41:12 MDT [ISU.0000.9999D] Received Immediate Services = 14 delivery services
2006-10-09 12:41:13 MDT [ISU.0000.9999D] ProfileService.getProfile: profileCalls= 1
2006-10-09 12:41:13 MDT [ISU.0000.9999D] ProfileService.getProfile: partnerID= 000000000000000000000000
2006-10-09 12:41:16 MDT [ISU.0000.9999D] Get Required External ID Type
2006-10-09 12:41:17 MDT [ISU.0000.9999D] SecurityService: getSecurity
2006-10-09 12:41:17 MDT [ISU.0000.9999D] PipeIn: >>>BasicData:partnerID=000000000000000000000000<<<
2006-10-09 12:41:17 MDT [ISU.0000.9999D] PipeOut: >>>BasicData:signInfo=null,decryptInfo=null,encryptInfo=null,verifyInfo=null<<<
java.lang.NullPointerException
at com.wm.app.tn.ui.profile.CertificatePanel.setIsHost(CertificatePanel.java:775)
at com.wm.app.tn.ui.profile.AccessPanel.setTabDataAt(AccessPanel.java:275)
at com.wm.app.tn.ui.profile.AccessPanel.resetData(AccessPanel.java:256)
at com.wm.app.tn.ui.profile.AccessPanel.setData(AccessPanel.java:269)
at com.wm.app.tn.ui.profile.enterprise.EnterprisePanel.setAccessData(EnterprisePanel.java:702)
at com.wm.app.tn.ui.profile.enterprise.EnterprisePanel.setData(EnterprisePanel.java:636)
at com.wm.app.tn.ui.profile.enterprise.EnterpriseView.setModel(EnterpriseView.java:162)
at com.wm.app.tn.ui.profile.enterprise.EnterpriseModel.createView(EnterpriseModel.java:83)
at com.wm.app.tn.ui.TNMainFrame.getView(TNMainFrame.java:1034)
at com.wm.app.tn.ui.TNMainFrame.showModel(TNMainFrame.java:1105)
at com.wm.app.tn.ui.TNMainFrame$36.actionPerformed(TNMainFrame.java:890)
at com.wm.app.tn.ui.SelectorPanel$SelectorButtonPanel.selectButton(SelectorPanel.java:534)
at com.wm.app.tn.ui.SelectorPanel.selectButton(SelectorPanel.java:240)
at com.wm.app.tn.ui.TNMainFrame.doConnect(TNMainFrame.java:1259)
at com.wm.app.tn.ui.TradingNetworks$1.run(TradingNetworks.java:147)
at java.lang.Thread.run(Thread.java:534)
at com.wm.ui2.UiFrame$5.run(UiFrame.java:340)
2006-10-09 12:41:21 MDT [ISU.0000.9999D] Get Field Definitions
2006-10-09 12:41:21 MDT [ISU.0000.9999D] type: extended
2006-10-09 12:41:21 MDT [ISU.0000.9999D] all: false
2006-10-09 12:41:22 MDT [ISU.0000.9999D] Successful in getting Field Definitions
2006-10-09 12:41:23 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:24 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:25 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:26 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:26 MDT [ISU.0000.9999D] Get Field Definitions
2006-10-09 12:41:26 MDT [ISU.0000.9999D] type: extended
2006-10-09 12:41:26 MDT [ISU.0000.9999D] all: false
2006-10-09 12:41:26 MDT [ISU.0000.9999D] Successful in getting Field Definitions
2006-10-09 12:41:27 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:28 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:29 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:30 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:31 MDT [ISU.0000.9999D] Received 1402 byte partner binary
2006-10-09 12:41:32 MDT [ISU.0000.9999D] Get Field Definitions
2006-10-09 12:41:32 MDT [ISU.0000.9999D] type: extended
2006-10-09 12:41:32 MDT [ISU.0000.9999D] all: false
2006-10-09 12:41:32 MDT [ISU.0000.9999D] Successful in getting Field Definitions
2006-10-09 12:41:33 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:34 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:34 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:35 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:35 MDT [ISU.0000.9999D] Get Field Definitions
2006-10-09 12:41:35 MDT [ISU.0000.9999D] type: extended
2006-10-09 12:41:35 MDT [ISU.0000.9999D] all: false
2006-10-09 12:41:36 MDT [ISU.0000.9999D] Successful in getting Field Definitions
2006-10-09 12:41:37 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:38 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:39 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:40 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:43 MDT [ISU.0000.9999D] Get Field Definitions
2006-10-09 12:41:43 MDT [ISU.0000.9999D] type: extended
2006-10-09 12:41:43 MDT [ISU.0000.9999D] all: false
2006-10-09 12:41:44 MDT [ISU.0000.9999D] Successful in getting Field Definitions
2006-10-09 12:41:45 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:46 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:47 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:41:48 MDT [ISU.0000.9999D] Received 7 profile contact types
2006-10-09 12:42:00 MDT [ISU.0000.9999D] ProfileService.getProfile: profileCalls= 2
2006-10-09 12:42:00 MDT [ISU.0000.9999D] ProfileService.getProfile: partnerID= vg00010013qus63h000006uo
2006-10-09 12:42:01 MDT [ISU.0000.9999D] Get Required External ID Type
2006-10-09 12:42:01 MDT [ISU.0000.9999D] SecurityService: getSecurity
2006-10-09 12:42:01 MDT [ISU.0000.9999D] PipeIn: >>>BasicData:partnerID=vg00010013qus63h000006uo<<<
2006-10-09 12:42:01 MDT [ISU.0000.9999D] PipeOut: >>>BasicData:signInfo=null,decryptInfo=null,encryptInfo=null,verifyInfo=null<<<
java.lang.NullPointerException
at com.wm.app.tn.ui.profile.CertificatePanel.setIsHost(CertificatePanel.java:775)
at com.wm.app.tn.ui.profile.AccessPanel.setTabDataAt(AccessPanel.java:275)
at com.wm.app.tn.ui.profile.AccessPanel.resetData(AccessPanel.java:256)
at com.wm.app.tn.ui.profile.AccessPanel.setData(AccessPanel.java:269)
at com.wm.app.tn.ui.profile.ProfilePanel.setAccessData(ProfilePanel.java:888)
at com.wm.app.tn.ui.profile.ProfilePanel.setData(ProfilePanel.java:822)
at com.wm.app.tn.ui.profile.AddNewDialog.layoutDialog(AddNewDialog.java:309)
at com.wm.app.tn.ui.profile.AddNewDialog.(AddNewDialog.java:88)
at com.wm.app.tn.ui.profile.partner.TradingPartnerPanel$1.actionPerformed(TradingPartnerPanel.java:163)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

It turns out that this, and another Trading Networks problem I was having, stemmed from me using incompatible versions. The console had service pack 1 installed, but the server didn’t.