LogViewer throws exception instead of displaying logs (Doc ID 1465747.1)

Last updated on JANUARY 03, 2016

Applies to:

Oracle WebCenter Sites - Version 7.6.0 to 11.1.1.6.0 [Release FatWire]
Information in this document applies to any platform.

Symptoms

When trying to read the log files using the System Tools' Log Viewer from the Admin tab, the following exception is thrown in the application server log:

 SEVERE: Servlet.service() for servlet jsp threw exception java.io.EOFException: Underflow for position: -1
        at com.fatwire.cs.systemtools.util.FileUtil.getLineNumber(FileUtil.java:518)
        at com.fatwire.cs.systemtools.util.FileUtil.countLines(FileUtil.java:497)
        at com.fatwire.cs.systemtools.util.FileUtil.countLines(FileUtil.java:485)
        at com.fatwire.cs.systemtools.logs.processor.LogMetadata$FileInfoEntry.<init>(LogMetadata.java:178)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms