Latest post Mon, Nov 25 2013 1:52 PM by fiatala. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Mon, Nov 25 2013 8:57 AM

    • elenab
    • Not Ranked
    • Joined on Tue, Oct 29 2013
    • Posts 18
    • Points 200

    NullPointerException in WSAPI 1.6.0 when logging is enabled

    Hi,

    When I enabled FINE logging in iNews Web Services it fails to connect to the iNews server with the following exception:

    Nov 25, 2013 9:29:57 AM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
    WARNING: Application {http://avid.com/inewssystem}INEWSSystem#{http://avid.com/inewssystem}IsConnected has thrown exception, unwinding now
    org.apache.cxf.interceptor.Fault
     at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:155)
     at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:86)
     at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:121)
     at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:60)
     at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
     at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
     at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
     at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
     at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:110)
     at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:98)
     at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:423)
     at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:178)
     at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:142)
     at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
     at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
     at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
     at java.lang.Thread.run(Thread.java:744)
    Caused by: java.lang.NullPointerException
     at com.avid.inewswebservice.soap.INEWSSystemPortTypeImpl.logMethodCallMaybe(INEWSSystemPortTypeImpl.java:825)
     at com.avid.inewswebservice.soap.INEWSSystemPortTypeImpl.isConnected(INEWSSystemPortTypeImpl.java:130)
     at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)
     at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)
     ... 29 more

    -elenab

  • Mon, Nov 25 2013 1:52 PM In reply to

    • fiatala
    • Not Ranked
    • Joined on Fri, Jun 7 2013
    • Posts 16
    • Points 165

    Re: NullPointerException in WSAPI 1.6.0 when logging is enabled

    Thanks. We discovered this issue last week. A fix is in test, but it does not have a release timeline. You should be able to work around it with these steps

    1) reset that file to the original

    2) Open /usr/java/latest/lib/logging.properties, and set ".level" to "DEBUG"

Page 1 of 1 (2 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller