AnsweredAssumed Answered

Rest post

Question asked by mtail on Jul 30, 2014
Latest reply on Jul 30, 2014 by mtail
I make a post with the rest api. And in response I get the following error.
Here my code :

               String uri = REST_URI + "/runtime/process-instances";
      JSONStringer jsRequest = new JSONStringer();
      Representation representation = new StringRepresentation(jsRequest.toString(), MediaType.APPLICATION_JSON);
      System.out.println("Representation : " + representation.toString());
      // Do post
      representation = getClientResource(uri).post(representation);

The error :
Avertissement: Exception or error caught in status service
java.lang.NoSuchFieldError: TENANT_ID
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

Could someone please help me?