When trying to debug an IS service I enter some variable values but then get an UnknownHostException in Designer 9.5 on a Win 7 OS.
I created a java class outwith Designer which uses the same InetAddress.getLocalHost().getHostName() method which functions correctly.
I’ve reinstalled 6 times but to no avail & also tried different configerations in my hosts file which has no effect.
This is the actual error after another reinstall
java.net.UnknownHostException: DEV44: DEV44
Caused by: java.net.UnknownHostException: DEV44
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
… 7 more
What does the IS service do?
What is your java service do? I see you are trying to get the ip/host name?
Provide more details to help you better.
This is a Designer error which happens no matter which IS service I try to debug - it happens BEFORE I get to debug perspective.
I wrote my java class to duplicate the error trace, but the method works in my class so why does Designer throw this error?
Can you upload some screen-shots and describe when it happens?
No screenshots allowed unfortunately.
The steps to create this issue follow -
- 1. Select flow service from package navigator in service perspective
2. Right click on flow shown in tab and choose Debug As → Debug Flow Service
3. Enter input for service and click OK
4. Debud Session Error modal dialog appears with hostname: hostname error message
5. Click OK to close modal and the stack trace copied previously is shown in the Results tab
I have tried on other colleagues machines & they work fine using the above steps, but we cannot figure the difference between our computers.
Also no errors when running a seperate java class to call these methods on the same machine.
Strange and weird Not sure what could be the problem. Are you missing some settings in your designer… Try to reset perspective and try to restart the designer.
Update your comments.
I have re-installed Designer about 8 times using varying configurations to no avail.
May have to raise a support ticket
Yes… contact SAG global support.
Let us know their updates.