From: Ian Wilson on
Note: Crossposted to comp.lang.java.help and comp.dcom.sys.cisco.

My Cisco 877 router provides a Java applet in a web interface for
configuring and monitoring the router. This is Cisco SDM version 2.3.

On one notebook PC this works fine. On another desktop PC I get a
StackOverflowError and the applet never opens it's window.

Previously I used SDM Express, which worked fine on the desktop PC which
doesn't run SDM. (I upgraded SDM Express to SDM in the router in order
to be able to configure router features not supported in SDM Express.)

Both PCs run Windows XP. Both have a Sun Java Runtime (JRE). I have
tried both IE 7 and Mozilla Firefox 1.5.

The notebook has JRE 1.5.0_06.
The desktop has JRE 1.5.0_09, I tried upgrading to 1.5.0_10, same problem.

The Java console reports ...

Requesting URL: http://webrouter/archive/flash:common/common/jploader.jar
Exception in thread "AWT-EventQueue-3" java.lang.StackOverflowError
at sun.java2d.Disposer.add(Unknown Source)
at sun.java2d.Disposer.addRecord(Unknown Source)
at sun.awt.windows.Win32SurfaceData.initOps(Native Method)
at sun.awt.windows.Win32SurfaceData.<init>(Unknown Source)
at sun.awt.windows.Win32SurfaceData.createData(Unknown Source)
at sun.awt.Win32GraphicsConfig.createSurfaceData(Unknown Source)
at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
at sun.awt.windows.WComponentPeer.setBounds(Unknown Source)
at java.awt.Component.reshapeNativePeer(Unknown Source)
at java.awt.Component.reshape(Unknown Source)
at java.awt.Component.setBounds(Unknown Source)
at java.awt.Component.resize(Unknown Source)
at java.awt.Component.setSize(Unknown Source)
at java.awt.BorderLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at tea.set.Scroller.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at tea.set.Scroller.aeH(Unknown Source)
at tea.set.Scroller.aeH(Unknown Source)
at tea.set.Scroller.aeH(Unknown Source)
at tea.set.Scroller.aeH(Unknown Source)
at tea.set.Scroller.aeH(Unknown Source)
The last mesage is repeated many times, possibly hundreds.

I am not sure if this is a bug in the Cisco SDM applet (which works fine
on the laptop) or in my JRE (which ran SDM Express OK).

Any suggestions?
From: Andrew Thompson on
Ian Wilson wrote:
> Note: Crossposted to comp.lang.java.help and comp.dcom.sys.cisco.

Note: Follow-up set to c.l.j.help, feel free to widen
the follow-up address if it suits you.
....
> Any suggestions?

Even as part of the debugging, I would suggest
setting up a web start test for the applet.

It removes the browser (largely) from the picture,
and gives more control over choice of JRE.

Andrew T.

From: Drake on

Have you tried an older version of JRE? Many of Cisco's
java applets cause problems with the latest versions of
the JRE. 1.3.x seems to preferred by Cisco.

Check the release notes, they might have something to
say about that.




--
Posted via a free Usenet account from http://www.teranews.com

From: Nigel Wade on
Ian Wilson wrote:

> Note: Crossposted to comp.lang.java.help and comp.dcom.sys.cisco.
>
> My Cisco 877 router provides a Java applet in a web interface for
> configuring and monitoring the router. This is Cisco SDM version 2.3.
>
> On one notebook PC this works fine. On another desktop PC I get a
> StackOverflowError and the applet never opens it's window.
>
> Previously I used SDM Express, which worked fine on the desktop PC which
> doesn't run SDM. (I upgraded SDM Express to SDM in the router in order
> to be able to configure router features not supported in SDM Express.)
>
> Both PCs run Windows XP. Both have a Sun Java Runtime (JRE). I have
> tried both IE 7 and Mozilla Firefox 1.5.
>
> The notebook has JRE 1.5.0_06.
> The desktop has JRE 1.5.0_09, I tried upgrading to 1.5.0_10, same problem.
>
> The Java console reports ...
>
> Requesting URL: http://webrouter/archive/flash:common/common/jploader.jar
> Exception in thread "AWT-EventQueue-3" java.lang.StackOverflowError
> at sun.java2d.Disposer.add(Unknown Source)
> at sun.java2d.Disposer.addRecord(Unknown Source)
> at sun.awt.windows.Win32SurfaceData.initOps(Native Method)
> at sun.awt.windows.Win32SurfaceData.<init>(Unknown Source)
> at sun.awt.windows.Win32SurfaceData.createData(Unknown Source)
> at sun.awt.Win32GraphicsConfig.createSurfaceData(Unknown Source)
> at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
> at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
> at sun.awt.windows.WComponentPeer.setBounds(Unknown Source)
> at java.awt.Component.reshapeNativePeer(Unknown Source)
> at java.awt.Component.reshape(Unknown Source)
> at java.awt.Component.setBounds(Unknown Source)
> at java.awt.Component.resize(Unknown Source)
> at java.awt.Component.setSize(Unknown Source)
> at java.awt.BorderLayout.layoutContainer(Unknown Source)
> at java.awt.Container.layout(Unknown Source)
> at java.awt.Container.doLayout(Unknown Source)
> at tea.set.Scroller.doLayout(Unknown Source)
> at java.awt.Container.validateTree(Unknown Source)
> at java.awt.Container.validate(Unknown Source)
> at tea.set.Scroller.aeH(Unknown Source)
> at tea.set.Scroller.aeH(Unknown Source)
> at tea.set.Scroller.aeH(Unknown Source)
> at tea.set.Scroller.aeH(Unknown Source)
> at tea.set.Scroller.aeH(Unknown Source)
> The last mesage is repeated many times, possibly hundreds.

That looks like a recursion error. Whatever tea.set.Scroller.aeH is it is
calling itself recursively and not returning, resulting in a stack overflow.

I have never heard of tea.set.Scroller.aeH (and neither has Google), it's not
part of the Java release. That's most likely where the problem lies.

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw(a)ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
From: Ian Wilson on
Nigel Wade wrote:
> Ian Wilson wrote:
>> at tea.set.Scroller.aeH(Unknown Source)
>> at tea.set.Scroller.aeH(Unknown Source)
>> at tea.set.Scroller.aeH(Unknown Source)
>>The last mesage is repeated many times, possibly hundreds.
>
>
> That looks like a recursion error. Whatever tea.set.Scroller.aeH is it is
> calling itself recursively and not returning, resulting in a stack overflow.
>
> I have never heard of tea.set.Scroller.aeH (and neither has Google), it's not
> part of the Java release.

I suspect it is part of a widget set called "Tea Set" developed long ago
by a company known as isoft who now appear to be defunct.

> That's most likely where the problem lies.

I'll have to wait until Cisco redevelop SDM then :-)



 |  Next  |  Last
Pages: 1 2
Prev: ASA 5510 Issue
Next: cleaning vty session.