IBM Support

The function "Copy Pages to File" of Line data HTML Viewer was not working properly in IBM Content Navigator

Troubleshooting


Problem

The function of Line data HTML Viewer is not working as expected. Open the document using Line Data HTML Viewer in ICN 3.0.4. When the 'Copy Pages to File' button is clicked, the pop-up appears. However, as clicking 'OK' on the pop-up, it closed with doing nothing and logs an exception in the SystemOut.log of ICN server.

00000107 SystemErr     R CIWEB Error: [USER(unknown) @ xx.xx.xx.xx] [REQUEST 2221] com.ibm.ecm.servlets.od.ODAppletCallbackServlet.doGet()

java.lang.reflect.InvocationTargetException

        at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

        at java.lang.reflect.Method.invoke(Method.java:508)

        at com.ibm.ecm.servlets.od.ODAppletCallbackServlet.doGet(ODAppletCallbackServlet.java:123)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)

        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)

        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)

        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)

        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)

        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:78)

        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:969)

        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1109)

        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4198)

        at com.ibm.ws.webcontainer.webapp.WebAppImpl.handleRequest(WebAppImpl.java:2208)

        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)

        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1030)

        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)

        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)

        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)

        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)

        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)

        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:289)

        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1187)

        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.readyInboundPostHandshake(SSLConnectionLink.java:768)

        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyHandshakeCompletedCallback.complete(SSLConnectionLink.java:464)

        at com.ibm.ws.ssl.channel.impl.SSLUtils.handleHandshake(SSLUtils.java:1137)

        at com.ibm.ws.ssl.channel.impl.SSLHandshakeIOCallback.complete(SSLHandshakeIOCallback.java:87)

        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)

        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)

Caused by: java.lang.NoClassDefFoundError: com/google/gson/Gson

        at com.ibm.edms.od.ODServer.viewerPassthru(ODServer.java:1082)

        ... 37 more

Diagnosing The Problem

Found error  java.lang.NoClassDefFoundError: com/google/gson/Gson in ICN server logs. Gson jar is misssing.

Resolving The Problem

Login WAS admin console-> Environment->Shared libraries;

Add the gson-2.8.1.jar to the shared lib.


Document Location

Worldwide


[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEUEX","label":"IBM Content Navigator"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"ICN 3.0.4","Edition":"","Line of Business":{"code":"LOB18","label":"Miscellaneous LOB"}}]

Document Information

More support for:
IBM Content Navigator

Software version:
ICN 3.0.4

Operating system(s):
AIX, Linux, Windows

Document number:
967177

Modified date:
11 August 2019

UID

ibm10967177

Manage My Notification Subscriptions