[jira] [Commented] (ATLAS-396) Creating an entity with non-existing type results in "Unable to deserialize json" error

2016-02-22 Thread Suma Shivaprasad (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15157934#comment-15157934
 ] 

Suma Shivaprasad commented on ATLAS-396:


Committed. Thanks [~guptaneeru]

> Creating an entity with non-existing type results in "Unable to deserialize 
> json" error
> ---
>
> Key: ATLAS-396
> URL: https://issues.apache.org/jira/browse/ATLAS-396
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.6-incubating
>Reporter: Ayub Khan
>Assignee: Neeru Gupta
>Priority: Minor
>  Labels: regression
> Fix For: 0.7-incubating
>
> Attachments: atlas-396-patch-v4, rb42967.patch
>
>
> Creating an entity with non-existing type results in "Unable to deserialize 
> json" error. This error message should have been "Unknown datatype: ".  
> This is a regression issue..
> Logs
> {noformat}
> Configuring TestNG with: TestNG652Configurator
> 2015-12-17 14:21:59,381 INFO  - [main:] ~ Request Url: 
> http://os-r6-atlas-erie-tp-testing-2.novalocal:21000/api/atlas/types?user.name=apathan
>  (BaseRequest:164)
> 2015-12-17 14:21:59,383 INFO  - [main:] ~ Request Method: POST 
> (BaseRequest:165)
> 2015-12-17 14:21:59,384 INFO  - [main:] ~ Request Header: Name=Content-Type 
> Value=application/json; charset=UTF-8 (BaseRequest:168)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Status: HTTP/1.1 201 
> Created (BaseRequest:195)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Date 
> Value=Thu, 17 Dec 2015 08:51:59 GMT (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Content-Type 
> Value=application/json; charset=UTF-8 (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: 
> Name=Transfer-Encoding Value=chunked (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Server 
> Value=Jetty(9.2.12.v20150709) (BaseRequest:197)
> 2015-12-17 14:22:00,254 INFO  - [main:] ~ 
> 
>  (TestNGListener:36)
> 2015-12-17 14:22:00,254 INFO  - [main:] ~ Testing going to start for: 
> org.apache.atlas.regression.tests.EntityResourceTest.createEntityForNonExistantType([])
>  (TestNGListener:37)
> 2015-12-17 14:22:00,678 INFO  - [main:createEntityForNonExistantType] ~ 
> Request body is :{
>   
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
>   "id":{
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
> "id":"-145034232025579",
> "version":0,
> "typeName":"createEntityForNonExistantTypeo88sflmm7k"
>   },
>   "typeName":"createEntityForNonExistantTypeo88sflmm7k",
>   "values":{
> 
>   },
>   "traitNames":[
> 
>   ],
>   "traits":{
> 
>   }
> } (EntityResourceTest:394)
> 2015-12-17 14:22:00,680 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Url: 
> http://os-r6-atlas-erie-tp-testing-2.novalocal:21000/api/atlas/entities?user.name=apathan
>  (BaseRequest:164)
> 2015-12-17 14:22:00,681 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Method: POST (BaseRequest:165)
> 2015-12-17 14:22:00,681 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Header: Name=Content-Type Value=application/json; charset=UTF-8 
> (BaseRequest:168)
> 2015-12-17 14:22:01,309 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Status: HTTP/1.1 400 Bad Request (BaseRequest:195)
> 2015-12-17 14:22:01,310 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Date Value=Thu, 17 Dec 2015 08:52:01 GMT 
> (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Content-Type Value=application/json; charset=UTF-8 
> (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Transfer-Encoding Value=chunked (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Server Value=Jetty(9.2.12.v20150709) (BaseRequest:197)
> 2015-12-17 14:22:01,314 INFO  - [main:createEntityForNonExistantType] ~ 
> Response is: {"error":"Unable to deserialize 
> json","stackTrace":"java.lang.IllegalArgumentException: Unable to deserialize 
> json\n\tat 
> org.apache.atlas.services.DefaultMetadataService.deserializeClassInstances(DefaultMetadataService.java:315)\n\tat
>  
> org.apache.atlas.services.DefaultMetadataService.createEntities(DefaultMetadataService.java:280)\n\tat
>  
> org.apache.atlas.web.resources.EntityResource.submit(EntityResource.java:114)\n\tat
>  sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)\n\tat 
> 

[jira] [Commented] (ATLAS-396) Creating an entity with non-existing type results in "Unable to deserialize json" error

2016-02-18 Thread ATLAS QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15153576#comment-15153576
 ] 

ATLAS QA commented on ATLAS-396:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment
  http://issues.apache.org/jira/secure/attachment/12788587/rb42967.patch
  against master revision a2cc01c.

{color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build/23//console

This message is automatically generated.

> Creating an entity with non-existing type results in "Unable to deserialize 
> json" error
> ---
>
> Key: ATLAS-396
> URL: https://issues.apache.org/jira/browse/ATLAS-396
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.6-incubating
>Reporter: Ayub Khan
>Assignee: Neeru Gupta
>Priority: Minor
>  Labels: regression
> Fix For: trunk
>
> Attachments: rb42967.patch
>
>
> Creating an entity with non-existing type results in "Unable to deserialize 
> json" error. This error message should have been "Unknown datatype: ".  
> This is a regression issue..
> Logs
> {noformat}
> Configuring TestNG with: TestNG652Configurator
> 2015-12-17 14:21:59,381 INFO  - [main:] ~ Request Url: 
> http://os-r6-atlas-erie-tp-testing-2.novalocal:21000/api/atlas/types?user.name=apathan
>  (BaseRequest:164)
> 2015-12-17 14:21:59,383 INFO  - [main:] ~ Request Method: POST 
> (BaseRequest:165)
> 2015-12-17 14:21:59,384 INFO  - [main:] ~ Request Header: Name=Content-Type 
> Value=application/json; charset=UTF-8 (BaseRequest:168)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Status: HTTP/1.1 201 
> Created (BaseRequest:195)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Date 
> Value=Thu, 17 Dec 2015 08:51:59 GMT (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Content-Type 
> Value=application/json; charset=UTF-8 (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: 
> Name=Transfer-Encoding Value=chunked (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Server 
> Value=Jetty(9.2.12.v20150709) (BaseRequest:197)
> 2015-12-17 14:22:00,254 INFO  - [main:] ~ 
> 
>  (TestNGListener:36)
> 2015-12-17 14:22:00,254 INFO  - [main:] ~ Testing going to start for: 
> org.apache.atlas.regression.tests.EntityResourceTest.createEntityForNonExistantType([])
>  (TestNGListener:37)
> 2015-12-17 14:22:00,678 INFO  - [main:createEntityForNonExistantType] ~ 
> Request body is :{
>   
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
>   "id":{
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
> "id":"-145034232025579",
> "version":0,
> "typeName":"createEntityForNonExistantTypeo88sflmm7k"
>   },
>   "typeName":"createEntityForNonExistantTypeo88sflmm7k",
>   "values":{
> 
>   },
>   "traitNames":[
> 
>   ],
>   "traits":{
> 
>   }
> } (EntityResourceTest:394)
> 2015-12-17 14:22:00,680 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Url: 
> http://os-r6-atlas-erie-tp-testing-2.novalocal:21000/api/atlas/entities?user.name=apathan
>  (BaseRequest:164)
> 2015-12-17 14:22:00,681 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Method: POST (BaseRequest:165)
> 2015-12-17 14:22:00,681 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Header: Name=Content-Type Value=application/json; charset=UTF-8 
> (BaseRequest:168)
> 2015-12-17 14:22:01,309 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Status: HTTP/1.1 400 Bad Request (BaseRequest:195)
> 2015-12-17 14:22:01,310 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Date Value=Thu, 17 Dec 2015 08:52:01 GMT 
> (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Content-Type Value=application/json; charset=UTF-8 
> (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Transfer-Encoding Value=chunked (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Server Value=Jetty(9.2.12.v20150709) (BaseRequest:197)
> 2015-12-17 14:22:01,314 INFO  - [main:createEntityForNonExistantType] ~ 
> Response is: {"error":"Unable to deserialize 
> json","stackTrace":"java.lang.IllegalArgumentException: Unable to deserialize 
> json\n\tat 
> org.apache.atlas.services.DefaultMetadataService.deserializeClassInstances(DefaultMetadataService.java:315)\n\tat
>  
> 

[jira] [Commented] (ATLAS-396) Creating an entity with non-existing type results in "Unable to deserialize json" error

2016-02-18 Thread Suma Shivaprasad (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15153575#comment-15153575
 ] 

Suma Shivaprasad commented on ATLAS-396:


Attached patch from reviewboard. [~guptaneeru] Can you pls atach the patch to 
both RB and jira from now on. Thanks for taking this up.

> Creating an entity with non-existing type results in "Unable to deserialize 
> json" error
> ---
>
> Key: ATLAS-396
> URL: https://issues.apache.org/jira/browse/ATLAS-396
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.6-incubating
>Reporter: Ayub Khan
>Assignee: Neeru Gupta
>Priority: Minor
>  Labels: regression
> Fix For: trunk
>
> Attachments: rb42967.patch
>
>
> Creating an entity with non-existing type results in "Unable to deserialize 
> json" error. This error message should have been "Unknown datatype: ".  
> This is a regression issue..
> Logs
> {noformat}
> Configuring TestNG with: TestNG652Configurator
> 2015-12-17 14:21:59,381 INFO  - [main:] ~ Request Url: 
> http://os-r6-atlas-erie-tp-testing-2.novalocal:21000/api/atlas/types?user.name=apathan
>  (BaseRequest:164)
> 2015-12-17 14:21:59,383 INFO  - [main:] ~ Request Method: POST 
> (BaseRequest:165)
> 2015-12-17 14:21:59,384 INFO  - [main:] ~ Request Header: Name=Content-Type 
> Value=application/json; charset=UTF-8 (BaseRequest:168)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Status: HTTP/1.1 201 
> Created (BaseRequest:195)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Date 
> Value=Thu, 17 Dec 2015 08:51:59 GMT (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Content-Type 
> Value=application/json; charset=UTF-8 (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: 
> Name=Transfer-Encoding Value=chunked (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Server 
> Value=Jetty(9.2.12.v20150709) (BaseRequest:197)
> 2015-12-17 14:22:00,254 INFO  - [main:] ~ 
> 
>  (TestNGListener:36)
> 2015-12-17 14:22:00,254 INFO  - [main:] ~ Testing going to start for: 
> org.apache.atlas.regression.tests.EntityResourceTest.createEntityForNonExistantType([])
>  (TestNGListener:37)
> 2015-12-17 14:22:00,678 INFO  - [main:createEntityForNonExistantType] ~ 
> Request body is :{
>   
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
>   "id":{
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
> "id":"-145034232025579",
> "version":0,
> "typeName":"createEntityForNonExistantTypeo88sflmm7k"
>   },
>   "typeName":"createEntityForNonExistantTypeo88sflmm7k",
>   "values":{
> 
>   },
>   "traitNames":[
> 
>   ],
>   "traits":{
> 
>   }
> } (EntityResourceTest:394)
> 2015-12-17 14:22:00,680 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Url: 
> http://os-r6-atlas-erie-tp-testing-2.novalocal:21000/api/atlas/entities?user.name=apathan
>  (BaseRequest:164)
> 2015-12-17 14:22:00,681 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Method: POST (BaseRequest:165)
> 2015-12-17 14:22:00,681 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Header: Name=Content-Type Value=application/json; charset=UTF-8 
> (BaseRequest:168)
> 2015-12-17 14:22:01,309 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Status: HTTP/1.1 400 Bad Request (BaseRequest:195)
> 2015-12-17 14:22:01,310 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Date Value=Thu, 17 Dec 2015 08:52:01 GMT 
> (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Content-Type Value=application/json; charset=UTF-8 
> (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Transfer-Encoding Value=chunked (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Server Value=Jetty(9.2.12.v20150709) (BaseRequest:197)
> 2015-12-17 14:22:01,314 INFO  - [main:createEntityForNonExistantType] ~ 
> Response is: {"error":"Unable to deserialize 
> json","stackTrace":"java.lang.IllegalArgumentException: Unable to deserialize 
> json\n\tat 
> org.apache.atlas.services.DefaultMetadataService.deserializeClassInstances(DefaultMetadataService.java:315)\n\tat
>  
> org.apache.atlas.services.DefaultMetadataService.createEntities(DefaultMetadataService.java:280)\n\tat
>  
> org.apache.atlas.web.resources.EntityResource.submit(EntityResource.java:114)\n\tat
>  sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)\n\tat 
> 

[jira] [Commented] (ATLAS-396) Creating an entity with non-existing type results in "Unable to deserialize json" error

2016-01-19 Thread Shwetha G S (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15108000#comment-15108000
 ] 

Shwetha G S commented on ATLAS-396:
---

[~dkantor], I have added [~guptaneeru] as contributor and have assigned this 
jira to her. She is all set. Thanks

> Creating an entity with non-existing type results in "Unable to deserialize 
> json" error
> ---
>
> Key: ATLAS-396
> URL: https://issues.apache.org/jira/browse/ATLAS-396
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.6-incubating
>Reporter: Ayub Khan
>Assignee: Neeru Gupta
>Priority: Minor
>  Labels: regression
> Fix For: trunk
>
>
> Creating an entity with non-existing type results in "Unable to deserialize 
> json" error. This error message should have been "Unknown datatype: ".  
> This is a regression issue..
> Logs
> {noformat}
> Configuring TestNG with: TestNG652Configurator
> 2015-12-17 14:21:59,381 INFO  - [main:] ~ Request Url: 
> http://os-r6-atlas-erie-tp-testing-2.novalocal:21000/api/atlas/types?user.name=apathan
>  (BaseRequest:164)
> 2015-12-17 14:21:59,383 INFO  - [main:] ~ Request Method: POST 
> (BaseRequest:165)
> 2015-12-17 14:21:59,384 INFO  - [main:] ~ Request Header: Name=Content-Type 
> Value=application/json; charset=UTF-8 (BaseRequest:168)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Status: HTTP/1.1 201 
> Created (BaseRequest:195)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Date 
> Value=Thu, 17 Dec 2015 08:51:59 GMT (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Content-Type 
> Value=application/json; charset=UTF-8 (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: 
> Name=Transfer-Encoding Value=chunked (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Server 
> Value=Jetty(9.2.12.v20150709) (BaseRequest:197)
> 2015-12-17 14:22:00,254 INFO  - [main:] ~ 
> 
>  (TestNGListener:36)
> 2015-12-17 14:22:00,254 INFO  - [main:] ~ Testing going to start for: 
> org.apache.atlas.regression.tests.EntityResourceTest.createEntityForNonExistantType([])
>  (TestNGListener:37)
> 2015-12-17 14:22:00,678 INFO  - [main:createEntityForNonExistantType] ~ 
> Request body is :{
>   
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
>   "id":{
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
> "id":"-145034232025579",
> "version":0,
> "typeName":"createEntityForNonExistantTypeo88sflmm7k"
>   },
>   "typeName":"createEntityForNonExistantTypeo88sflmm7k",
>   "values":{
> 
>   },
>   "traitNames":[
> 
>   ],
>   "traits":{
> 
>   }
> } (EntityResourceTest:394)
> 2015-12-17 14:22:00,680 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Url: 
> http://os-r6-atlas-erie-tp-testing-2.novalocal:21000/api/atlas/entities?user.name=apathan
>  (BaseRequest:164)
> 2015-12-17 14:22:00,681 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Method: POST (BaseRequest:165)
> 2015-12-17 14:22:00,681 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Header: Name=Content-Type Value=application/json; charset=UTF-8 
> (BaseRequest:168)
> 2015-12-17 14:22:01,309 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Status: HTTP/1.1 400 Bad Request (BaseRequest:195)
> 2015-12-17 14:22:01,310 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Date Value=Thu, 17 Dec 2015 08:52:01 GMT 
> (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Content-Type Value=application/json; charset=UTF-8 
> (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Transfer-Encoding Value=chunked (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Server Value=Jetty(9.2.12.v20150709) (BaseRequest:197)
> 2015-12-17 14:22:01,314 INFO  - [main:createEntityForNonExistantType] ~ 
> Response is: {"error":"Unable to deserialize 
> json","stackTrace":"java.lang.IllegalArgumentException: Unable to deserialize 
> json\n\tat 
> org.apache.atlas.services.DefaultMetadataService.deserializeClassInstances(DefaultMetadataService.java:315)\n\tat
>  
> org.apache.atlas.services.DefaultMetadataService.createEntities(DefaultMetadataService.java:280)\n\tat
>  
> org.apache.atlas.web.resources.EntityResource.submit(EntityResource.java:114)\n\tat
>  sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)\n\tat 
> 

[jira] [Commented] (ATLAS-396) Creating an entity with non-existing type results in "Unable to deserialize json" error

2016-01-19 Thread David Kantor (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15106949#comment-15106949
 ] 

David Kantor commented on ATLAS-396:


[~shwethags] A member of our team would like to start working on this item, but 
I was unable to assign to it her.  Her JIRA ID is [~guptaneeru].  I think she 
needs the "Assignable User" permission in order to be assigned items.   Please 
advise on how to request this permission so that she can be assigned items.  
Thanks...

> Creating an entity with non-existing type results in "Unable to deserialize 
> json" error
> ---
>
> Key: ATLAS-396
> URL: https://issues.apache.org/jira/browse/ATLAS-396
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.6-incubating
>Reporter: Ayub Khan
>Priority: Minor
>  Labels: regression
> Fix For: trunk
>
>
> Creating an entity with non-existing type results in "Unable to deserialize 
> json" error. This error message should have been "Unknown datatype: ".  
> This is a regression issue..
> Logs
> {noformat}
> Configuring TestNG with: TestNG652Configurator
> 2015-12-17 14:21:59,381 INFO  - [main:] ~ Request Url: 
> http://os-r6-atlas-erie-tp-testing-2.novalocal:21000/api/atlas/types?user.name=apathan
>  (BaseRequest:164)
> 2015-12-17 14:21:59,383 INFO  - [main:] ~ Request Method: POST 
> (BaseRequest:165)
> 2015-12-17 14:21:59,384 INFO  - [main:] ~ Request Header: Name=Content-Type 
> Value=application/json; charset=UTF-8 (BaseRequest:168)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Status: HTTP/1.1 201 
> Created (BaseRequest:195)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Date 
> Value=Thu, 17 Dec 2015 08:51:59 GMT (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Content-Type 
> Value=application/json; charset=UTF-8 (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: 
> Name=Transfer-Encoding Value=chunked (BaseRequest:197)
> 2015-12-17 14:22:00,238 INFO  - [main:] ~ Response Header: Name=Server 
> Value=Jetty(9.2.12.v20150709) (BaseRequest:197)
> 2015-12-17 14:22:00,254 INFO  - [main:] ~ 
> 
>  (TestNGListener:36)
> 2015-12-17 14:22:00,254 INFO  - [main:] ~ Testing going to start for: 
> org.apache.atlas.regression.tests.EntityResourceTest.createEntityForNonExistantType([])
>  (TestNGListener:37)
> 2015-12-17 14:22:00,678 INFO  - [main:createEntityForNonExistantType] ~ 
> Request body is :{
>   
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
>   "id":{
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
> "id":"-145034232025579",
> "version":0,
> "typeName":"createEntityForNonExistantTypeo88sflmm7k"
>   },
>   "typeName":"createEntityForNonExistantTypeo88sflmm7k",
>   "values":{
> 
>   },
>   "traitNames":[
> 
>   ],
>   "traits":{
> 
>   }
> } (EntityResourceTest:394)
> 2015-12-17 14:22:00,680 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Url: 
> http://os-r6-atlas-erie-tp-testing-2.novalocal:21000/api/atlas/entities?user.name=apathan
>  (BaseRequest:164)
> 2015-12-17 14:22:00,681 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Method: POST (BaseRequest:165)
> 2015-12-17 14:22:00,681 INFO  - [main:createEntityForNonExistantType] ~ 
> Request Header: Name=Content-Type Value=application/json; charset=UTF-8 
> (BaseRequest:168)
> 2015-12-17 14:22:01,309 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Status: HTTP/1.1 400 Bad Request (BaseRequest:195)
> 2015-12-17 14:22:01,310 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Date Value=Thu, 17 Dec 2015 08:52:01 GMT 
> (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Content-Type Value=application/json; charset=UTF-8 
> (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Transfer-Encoding Value=chunked (BaseRequest:197)
> 2015-12-17 14:22:01,312 INFO  - [main:createEntityForNonExistantType] ~ 
> Response Header: Name=Server Value=Jetty(9.2.12.v20150709) (BaseRequest:197)
> 2015-12-17 14:22:01,314 INFO  - [main:createEntityForNonExistantType] ~ 
> Response is: {"error":"Unable to deserialize 
> json","stackTrace":"java.lang.IllegalArgumentException: Unable to deserialize 
> json\n\tat 
> org.apache.atlas.services.DefaultMetadataService.deserializeClassInstances(DefaultMetadataService.java:315)\n\tat
>  
> org.apache.atlas.services.DefaultMetadataService.createEntities(DefaultMetadataService.java:280)\n\tat
>  
>