tag:blogger.com,1999:blog-4476863800158400170.post6113222385566190947..comments2023-01-03T17:58:54.267+01:00Comments on TDIing out loud, ok SDIing as well: JSON and XML Tutorial - Part 5, Scripting a ConnectorEddie Hartmanhttp://www.blogger.com/profile/12264507239868838185noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-4476863800158400170.post-24363769098707858842019-04-25T19:24:55.723+02:002019-04-25T19:24:55.723+02:00NOTE if you double-click an open tab you go to ful...NOTE if you double-click an open tab you go to full-screen. Double-clicking again returns to normal perspective. If you don't see the Servers pane at the bottom left of the CE then you may be in the wrong Eclipse perspective. Use Windows > Open Perspective to open the TDI (SDI) perspective. If you already have this selected, but are missing one or more panels (i.e. Console, Javascript, Eddie Hartmanhttps://www.blogger.com/profile/12264507239868838185noreply@blogger.comtag:blogger.com,1999:blog-4476863800158400170.post-43749622081256198052019-04-25T19:13:33.975+02:002019-04-25T19:13:33.975+02:00@SteveMartin - strange, I just copy/pasted the scr...@SteveMartin - strange, I just copy/pasted the script and run the connector as an iterator in an AL... Could it be you are getting strange data back? Have you tried debugging? If you press the Debugger button (next to Run in Console), and then make sure you get the 'full' debugger by pressing the Debugger button that may be visible at the far right of your screen, you will see the Eddie Hartmanhttps://www.blogger.com/profile/12264507239868838185noreply@blogger.comtag:blogger.com,1999:blog-4476863800158400170.post-10804028714284123262019-04-24T18:30:27.219+02:002019-04-24T18:30:27.219+02:00Getting a null pointer after the last addition of ...Getting a null pointer after the last addition of function getNextEntry().<br />Have it pasted in from the provided script. Hitting Next gives me :<br />null<br />java.lang.NullPointerException at com.ibm.di.parser.HTTPParser.writeEntry(HTTPParser.java:333)SteveMartinhttps://www.blogger.com/profile/10071295477703791538noreply@blogger.comtag:blogger.com,1999:blog-4476863800158400170.post-65325969416070316272019-04-24T18:27:17.823+02:002019-04-24T18:27:17.823+02:00Hi,
All is good until I get to the final function ...Hi,<br />All is good until I get to the final function getNextEntry() , save the script, hit Connect, OK, hit Next and get <br />null<br />java.lan.NullPointerException at com.ibm.di.parser.HTTPParser.writeEntry(HTTPParser.java.333) ...<br />Have gone back to the function initialize as well as function selectEntries(), etc and compared the script. <br />My getNext looks like this:<br />functionSteveMartinhttps://www.blogger.com/profile/10071295477703791538noreply@blogger.comtag:blogger.com,1999:blog-4476863800158400170.post-11108004873399067432019-03-07T14:01:21.744+01:002019-03-07T14:01:21.744+01:00Great Blog Thank you so much for sharing this.
Hik...Great Blog Thank you so much for sharing this.<br /><a href="http://safeall.in/" rel="nofollow">Hikvision Full HD & Night Vision Camera Kit</a>Ram Chauhanhttps://www.blogger.com/profile/09344950839715197141noreply@blogger.comtag:blogger.com,1999:blog-4476863800158400170.post-81740785638956855612017-12-11T11:25:47.717+01:002017-12-11T11:25:47.717+01:00Thanx Eddie,
I had also posted this on the TDI For...Thanx Eddie,<br />I had also posted this on the TDI Forum. And we found the problem to be in the company firewall.<br />So it is solved for now.<br />Rgrds Tomnotesnlhttps://www.blogger.com/profile/14005829113666314739noreply@blogger.comtag:blogger.com,1999:blog-4476863800158400170.post-86384061468697913232017-12-10T12:13:45.441+01:002017-12-10T12:13:45.441+01:00@Tom Steenbergen - A connection timeout could mean...@Tom Steenbergen - A connection timeout could mean a couple of things. First, that the IP address or hostname is wrong, or the server it points to is not running. Try pinging the server to see if it is up. Then you can try to telnet to the port to see that's it's listening on that port. Of course, if it were simply the wrong port you were trying the you'd get a connection refused.<br Eddie Hartmanhttps://www.blogger.com/profile/12264507239868838185noreply@blogger.comtag:blogger.com,1999:blog-4476863800158400170.post-46069943957938274302017-12-06T15:42:16.345+01:002017-12-06T15:42:16.345+01:00Hi Eddie,
If I try this in my TDI I get a connecti...Hi Eddie,<br />If I try this in my TDI I get a connection timed out message.<br />Any ideas what can be wrong, I have the same when I setup a connection via the default available Http Client Connector.<br /><br />rgrds,<br />Tomnotesnlhttps://www.blogger.com/profile/14005829113666314739noreply@blogger.com