Closed andlinger closed 4 years ago
Hello @andlinger
We will take a look into this. Do you have a code example to reproduce this problem? The request body for 20200818-app1-demo-32891 was not logged on the demo system. Now I have no idea how the JSON body looked like in your request.
Excuse me. That was my fault. But when creating a zone, which will be visible in the AutoDNS panel afterwards, a NullPointerException always happens when returning the zone object
2020-08-18 15:12:11,002 SEVERE [a.t.w.b.s.BaseDomainrobotService] (executor-thread-199) Failed to contact AutoDNS api!: java.lang.NullPointerException
at org.domainrobot.sdk.client.clients.ZoneClient.create(ZoneClient.java:52)
Any ideas @Ephenodrom?
@andlinger A new collegue of mine is working on this right now. I keep you updated!
Hello @andlinger
The NPE is fixed. The problem was that the ZoneClient create() method expected the created zone in the response. The API does currently not return the create zone in the response body.
This was fixed by the PR (#16) from Jabanto.
I created a new release so please update to 0.2.6.
Regards and have a nice weekend.
No matter if name servers are specified or not.