Unexpected exception in TargetService (SOLVED)

I just downloaded Defold and the Error Log is printing "Unexpected exception in TargetService"
and under Plug-in it says: “com.dynamo.cr.target.core.TargetService
.log file is displaying this message:

!ENTRY com.dynamo.cr.target.core.TargetService 4 0 2016-12-04 14:39:31.936
!MESSAGE Unexpected exception in TargetService
!STACK 0
java.lang.NullPointerException

I’m using a MacBookPro running OSX El Capitan version 10.11.2 and the Defold Editor is Version 1.2.93 Java 1.8.0_05

Any suggestions on how to fix this problem is greatly appreciated

Hmm, and this is when you try to do “Build and Launch” from the “Project” menu?

As soon as I open the editor it starts to display the error every minute or so from the “Project Menu” but what’s weird is that it doesn’t stop me from doing a “Build and Launch” or any other apparent operation such as creating a script, or game object. I already tried a re-install but the message appears every time.

This must be related to the SSDP functionality that searches for Defold engine instances running on the same network (available from the Project->Target menu).

@Johan_Beck-Noren and @jakob.pogulis, any ideas how to solve this?

It seems that I fixed the problem…I just upgraded to build 1.2.94 and I haven’t seen the mysterious error anymore! now I can concentrate in learning how to use this awesome engine. Thank you @britzl for at least trying to troubleshoot this annoying error.

1 Like

Ok, great to hear that it is now working for you!