Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #649

Re: Cisco SDM Java Applet

From "Nigel Wade" <nigel.wade@THRWHITE.remove-wdg-this>
Subject Re: Cisco SDM Java Applet
Message-ID <ep7aa0$pkq$1@south.jnrs.ja.net> (permalink)
Newsgroups comp.lang.java.help
References <GN-dnfoNA_cuayjYRVnyhAA@bt.com>
Date 2011-04-25 17:33 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.help,comp.
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@ion.le.ac.uk 
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Cisco SDM Java Applet Sta "Ian Wilson" <ian.wilson@THRWHITE.remove-wdg-this> - 2011-04-25 17:33 +0000
  Re: Cisco SDM Java Applet "Drake" <drake@THRWHITE.remove-wdg-this> - 2011-04-25 17:33 +0000
    Re: Cisco SDM Java Applet "Ian Wilson" <ian.wilson@THRWHITE.remove-wdg-this> - 2011-04-25 17:33 +0000
  Re: Cisco SDM Java Applet "Nigel Wade" <nigel.wade@THRWHITE.remove-wdg-this> - 2011-04-25 17:33 +0000
    Re: Cisco SDM Java Applet "Ian Wilson" <ian.wilson@THRWHITE.remove-wdg-this> - 2011-04-25 17:33 +0000

csiph-web