Java – user authentication failed: null
I have an API "vignette collab", which runs on an Apache stack with Java. I inherit a legacy code base and need to find the source of this error. Obviously, the last developer built an invalid function, that is, the error is, but there is no more information It uses the Drupal WebService module, and the code to send the call is as follows
$node = $variables['node']; $service = wsclient_service_load('collab_folders'); if($node->field_oid1): $param1 = $node->field_oid1['und'][0]['value']; $params1 = array('user'=>'myUser','password'=>'myPass','oid'=>$param1); $results1 = $service->getChildren($params1); $variables['collabresults1'] = $results1;//
Any idea I can start looking for this mistake or what it might mean?
The complete stack trace is here:::
Solution
The problem seems to lie in this line: $results1 = $Service - > getchildren ($params1) Unsupported operationexception belongs to the Java Collections Framework, which means that you are trying to perform some operations on the array $params2, which is not supported by the Java API The first place I want to see is the Java version you are running and the Java version required by the vignette collab API Sounds like I might need a higher version of Java than you're using now
You may also want to dig into the API to see what getchildren () does and make sure you pass the correct parameter values