My Oracle Support Banner

Links from TopLink Welcome page result in UnsupportedOperationException (Doc ID 356124.1)

Last updated on MAY 25, 2021

Applies to:

Oracle TopLink - Version 4.0 and later
Information in this document applies to any platform.
This problem can occur on any platform.


Symptoms

You are using Oracle TopLink Worbench (10.1.3) and reading information from the Welcome page (Help->Welcome Page). Under the "Get Started" and "More Information" you are able to access the next web page from the links in those areas, but if you navigate further from that page you encounter the following error:

java.lang.UnsupportedOperationException

 For example, under "Get Started" click on the "Quick Start" link,  which opens a new page titled "TopLink Quick Start" containing the links: Understanding TopLink, Working With TopLink Workbench, Creating a Project, Creating a Descriptor, Creating a Mapping,  Deploying a TopLink Application, Optimizing and Customizing a TopLink Application. Clicking on any of these links results in an Unexpected Error dialog box:

Unexpected Error
========================================
(x) Unexpected Exception in Thread: 'AWT-EventQueue-0'
java.lang.UnsupportedOperationException 
[Help]                                              [Strack Trace]   [OK]

If you click on the Stack Trace button you get the following java stack: 

java.lang.UnsupportedOperationException
 at oracle.toplink.workbench.utility.io.InvalidOutputStream.write(InvalidOutputStream.java:42)
 at java.io.OutputStream.write(OutputStream.java:99)
 at java.io.PrintStream.write(PrintStream.java:412)
 at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
 at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
 at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:115)
 at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:169)
 at java.io.PrintStream.write(PrintStream.java:459)
 at java.io.PrintStream.print(PrintStream.java:602)
 at java.io.PrintStream.println(PrintStream.java:739)
 at oracle.help.topicDisplay.BrowserTopicDisplay.protocolReceived(Unknown Source)
 at oracle.help.htmlBrowser.ICEBrowser._fireProtocolEvent(Unknown Source)
 at oracle.help.htmlBrowser.ICEBrowser.access$100(Unknown Source)
 at oracle.help.htmlBrowser.ICEBrowser$DeferringStormBase._captureOHJProtocol(Unknown Source)
 at oracle.help.htmlBrowser.ICEBrowser$DeferringStormBase.renderContent(Unknown Source)
 at ice.storm.Pilot.renderContent(Unknown Source)
 at ice.pilots.html4.DefaultActionHandler.handleDefaultActionOnLinks(Unknown Source)
 at ice.pilots.html4.DefaultActionHandler.mouseAction(Unknown Source)
 at ice.pilots.html4.DefaultActionHandler.onClick(Unknown Source)
 at ice.pilots.html4.DefaultActionHandler.handleEvent(Unknown Source)
 at ice.pilots.html4.DDocument.processEvent(Unknown Source)
 at ice.pilots.html4.DNode.dispatchEvent(Unknown Source)
 at ice.pilots.html4.CSSLayout.do_handleEvent(Unknown Source)
 at ice.pilots.html4.CSSLayout.handleEvent(Unknown Source)
 at ice.pilots.html4.DocPaneXml.uiEvent(Unknown Source)
 at ice.pilots.html4.swing.DocView.onComponentMouseEvent(Unknown Source)
 at ice.pilots.html4.swing.DocView.onComponentEvent(Unknown Source)
 at ice.pilots.html4.swing.DocView.onComponentEvent(Unknown Source)
 at ice.pilots.html4.swing.DocPanel.processEvent(Unknown Source)
 at java.awt.Component.dispatchEventImpl(Component.java:3955)
 at java.awt.Container.dispatchEventImpl(Container.java:2024)
 at java.awt.Component.dispatchEvent(Component.java:3803)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
 at java.awt.Container.dispatchEventImpl(Container.java:2010)
 at java.awt.Window.dispatchEventImpl(Window.java:1774)
 at java.awt.Component.dispatchEvent(Component.java:3803)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.