Authentication failed for user: null

I have the "Vignette Collab" API that runs on the Apache stack with Java, I have inherited an outdated code base and should find where this error comes from, apparently, from the last developer who built the broken function, and that there is an error there, but no more information. It uses the Drupal web service module, and the code sending 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 as to where I can start looking for this error or what does it mean?

The full stack trace is here:

 ecmtrtest1: http cmd: lookup, http-bio-81-exec-3, kmapi=true&properties=true&dtd=false&oid=1.59.93 Authentication 

failed for user: null. java.lang.UnsupportedOperationException: this method is not yet supported on the client at com.intraspect.kmapi.client.KMDocument.getDocType (KMDocument.javahaps31) at com.acuitys.ws.impl.CollabServiceImpl.populateProperties (CollabSavavice6pl.plopjpervice6 ) at com.acuitys.ws.impl.CollabServiceImpl.getChildren (CollabServiceImpl.java:83) at com.acuitys.ws.CollabWebservice.getChildren (CollabWebservice.java:34) at sun.reflect.GeneratedMethodAccessor758.invest () sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) in java.lang.reflect.Method.invoke (Method.java:606) at com.sun.xml.ws.api.server.InstanceResolver $ 1.invoke (InstanceResolver .java: 246) on com.sun.xml.ws.server.InvokerTube $ 2.invoke (InvokerTube.java:146 ) on com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke (EndpointMethodHandler.java:257) on com.sun.xml.ws.api.pipe.Fiber .__ doRun (Fiber.java∗95) on com .sun.xml.ws.server.sei.SEIInvokerTube.processRequest (SEIInvokerTube.java:93) on com.sun.xml.ws.api.pipe.Fiber._doRun (Fiber.javahaps54) on com.sun.xml .ws.api.pipe.Fiber.doRun (Fiber.java∗39) at com.sun.xml.ws.api.pipe.Fiber.runSync (Fiber.java:436) at com.sun.xml.ws.server .WSEndpointImpl $ 2.process (WSEndpointImpl.java:243) at com.sun.xml.ws.transport.http.HttpAdapter.handle (HttpAdapter.java:244) at com.sun.xml.ws.transport.http.HttpAdapter $ HttpToolkit.handle (HttpAdapter.java:444) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle (ServletAdapter.java:135) at com.sun.xml.ws.transport.http.servl et.WSServletDelegate.doGet (WSServletDelegate.java:129) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost (WSServletDelegate.java:160) at com.sun.xml.ws.transport.http. servlet.WSSpringServlet.doPost (WSSpringServlet.java:52) in javax.servlet.http.HttpServlet.service (HttpServlet.java:647) in javax.servlet.http.HttpServlet.service (HttpServlet.java:728) .catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:210) on org.apache.catalina.core.StandardWrapperValve.vveveva : 222) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase. java: 472) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:99) at org.apache.catalina.valves .AccessLogValve.invoke (AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:118) at com.intraspect.valves.CollabWebDAVFixValve.invokeFavaVavaVavaVavaVa apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process (AbstractHttp11Processor.java:1008) at org.apache.coyote.AbstractProtocol $ AbstractConnection Abstract java: 589) on org.apache.tomcat.util.net.JIoEndpoint $ SocketProcessor.run (JIoEndpoint.java data 10) in java.util.co ncurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145) in java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:615) in java.lang.Thread.run (Thread.java:724) [Apr 22, 2016 10:59:51 (http-bio-81-exec-3_532)]: Authentication error for user: null. [April 22, 2016 10:59:51 AM (http-bio-81-exec-3_532)]: ecmtrtest1: http cmd: lookup, http-bio-81-exec-3, kmapi = true & properties = true & ddd = false & OID = 1.9.2878889 [April 22, 2016 10:59:51 AM (http-bio-81-exec -3_532)]: Authentication failed for user: null.

+7
java stack-trace tomcat vignette
source share
1 answer

The problem is with this line: $results1 = $service->getChildren($params1); . UnsupportedOperationException belongs to the Java Collections structure and means that you are trying to perform some operation on the $ params2 array, which the java api does not support. The first thing I look at is the version of java you are running and the version of java required by the Vignette Collab api. It seems to me that perhaps a later version of Java is required than you are currently using.

You can also delve into the api to find out what getChildren() does, and make sure you pass the correct parameter value.

+3
source share

All Articles