debugging null pointer exception
This commit is contained in:
parent
3f69781aaa
commit
b7bf1f6a17
|
@ -147,11 +147,11 @@ public class LiferayWSUserManager implements UserManager{
|
|||
private GCubeUser mapLRUser(String json){
|
||||
try{
|
||||
if (json != null) {
|
||||
logger.info("user json to be parsed: " , json);
|
||||
logger.info("user json to be parsed: " + json);
|
||||
JSONParser parser = new JSONParser();
|
||||
JSONObject userJSON = (JSONObject)parser.parse(json);
|
||||
if(userJSON!=null){
|
||||
logger.info("parsed user json: " , userJSON.toString());
|
||||
logger.info("parsed user json: " + userJSON.toString());
|
||||
}
|
||||
// TODO skip for now
|
||||
List<Email> emails = new ArrayList<Email>();
|
||||
|
@ -166,7 +166,7 @@ public class LiferayWSUserManager implements UserManager{
|
|||
logger.warn("Failed to retrieve property " + USER_LOCATION_INDUSTRY_KEY, e1);
|
||||
}
|
||||
if(userJSON!=null){
|
||||
logger.info("parsed user json: " , userJSON.toString());
|
||||
logger.info("parsed user json: " + userJSON.toString());
|
||||
}
|
||||
// retrieve the contact id information (it is into the user json)
|
||||
String jsonContact;
|
||||
|
|
Loading…
Reference in New Issue