Stack Overflow Error - URGENT

Problem Scenario :
We have a J2EE application, which has a front end developed in Java Swing with usage of heavy graphics & managed by the weblogic server. There are several application details in the Hash-Maps containing with nested Hash-Maps & Hash maps contains the Serializable Java Value Objects. These serializable Java Objects contains values which are Java Primitive Types as well as Other Java Value Objects. When the client launches the application & tries to read these Hash-Maps from the server, the Stack Over Flow Exception as given below occurs. This has started occurring from a few days only.
Stack Trace :
java.lang.StackOverflowError
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1812)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
at java.util.HashMap.writeObject(HashMap.java:798)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1864)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1210)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
Can you suggest something in this regard? This is VERY URGENT !!
Regards
Tanmay Agarwal
[email protected]

This works fine, writing the object to the stderr:
import java.io.*;
public class a implements Serializable
  Object        other;
  public static void main( String args[] ) throws IOException
    a   w1 = new a();
    a   w2 = new a();
    w1.other = w2;
    w2.other = w1;
    ObjectOutputStream  o = new ObjectOutputStream( System.err );
    o.writeObject( w1 );
    o.flush();
    System.out.println( "let us call it a day" );
}

Similar Messages

  • Stack overflow error while creating connection using Oracle10G dirver

    Hi,
    Our web application built on Servlets runs on the iPlanet web server (In solaris machine). Earlier we used JDK 1.5 update 6 with oracle 9i driver and now got migrated to JDK 1.5 update 10 with same driver. Everything went fine until we started testing the environment with oracle 10G driver. Java 1.5 update 10 with oracle 10G driver throws "Stack overflow error".
    Driver version is - 10.2.0.2.0
    This occurs only when I access the portal. When I created the single main program and try to run it in the solaris machine it works fine. But wen I try to access the portal keeping this driver under classpath, it fails. Please let me know if anyone have any clues.
    When I looked into it, I am able to find that the "stack overflow error" occurs at the point the code line DriverManager.Getconnection("url", "username", "pwd") executes.
    Thanks in advance
    below the stacktrace of the exception from webserver error log..
    06/Mar/2007:04:20:40] failure (10198):
    for host 202.54.182.136 trying to POST /wr/servlet/WorkRequest, service-j2ee reports: StandardWrapperValve[WorkRequest]: WEB2769: Allocate exception for servlet WorkRequest
    javax.servlet.ServletException: WEB2778: Servlet.init() for servlet WorkRequest threw exception
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:244)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    ----- Root Cause -----
    java.lang.StackOverflowError
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(
    [06/Mar/2007:04:22:20] info (10198):
    CORE5073: Web server shutdown in progress
    [06/Mar/2007:04:22:21] info (14506):
    CORE1116: Sun ONE Web Server 6.1SP5 (64-Bit) B12/02/2005 04:37
    [06/Mar/2007:04:22:21] warning (14513):
    CORE1251: On group ls1, servername pstst42.pedc.sbc.com does not match subject "" of certificate Server-Cert.
    [06/Mar/2007:04:22:21] warning (14513):
    CORE1250: In secure virtual server https-vts, urlhost does not match subject "" of certificate Server-Cert.
    [06/Mar/2007:04:22:21] info (14513):
    CORE5076: Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.5.0_06] from [Sun Microsystems Inc.]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [vts/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [cron/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [find/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [cb/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [wr/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [search]
    [06/Mar/2007:04:22:25] info (14513):
    HTTP3072: [LS ls1] ready to accept requests
    [06/Mar/2007:04:22:25] info (14513):
    CORE3274: successful server startup
    Message was edited by:
    Nandakumar_s
    Message was edited by:
    Nandakumar_s

    Yes, request goes through connection pool but weird
    thing is application throws stack excatly where
    DriverManager.getConnection gets executed.
    Not weird at all.
    This is what I am guessing that you did. You changed the driver and some other stuff, like configuration information.
    Then when it blew up you tracked down in your code where you see the stack overflow. That happens to be on the connection line. That is not where the overflow 'occurs' - it merely represents where you saw it.
    That line however isn't using the oracle driver. What it is using is a connection pool of some sort. That connection pool is configured somewhere. And that configuration is self-referential (or maybe refers to a another driver which refers back to the original.)
    And that causes you stack over flow.

  • Stack overflow error

    Hi..
    I have problem with this code.
       class test
           test tt=new test();   //1
           String name1;
        test() {}
        test(String i)
              name1=i;
             //tt=new test();    //2
       public static  void main(String arg[]){
                  test t1=new test("kj"); //3
    }  When I use line 2 (nstead of line 1 ) for initializing the ref variable iam not having any problem.
    But if i use as in line 1 iam getting stack overflow error..
    I thought tht calling a constructor recursivley results in a stack overflow error..
    But iam instantiating t1 with a one arg constructor (line 3) for which tt (line 1)is intialized,then where is the recursion happening..
    can any one pls clear..
    Thnx.
    mysha..

    please use [code][/code] tags around your code - makes it much easier to read.
    I think you have it - consider this code:public class StackOverflower {
        private StackOverflower so = new StackOverflower();
        public static void main(String[] args) {
            StackOverflower mySO = new StackOverflower();
    }Running this will overflow the stack since creation of an instance of StackOverflower requires creation of an instance of StackOverflower. This code though:public class NonStackOverflower {
        private NonStackOverflower nso = null;
        public NonStackOverflower() {
        public NonStackOverflower(String s) {
            this.nso = new NonStackOverflower();
        public static void main(String[] args) {
            NonStackOverflower myNSO = new NonStackOverflower();
    }Won't, since the creation of a new NonStackOverflower is not required to create a new NonStackOverflower instance.
    Did that make sense? I may have gotten confused and failed to illustrate your situation with my code...
    Good Luck
    Lee

  • Stack Overflow Error for JNI program with Jdk1.3

    I wrote a JNI wrapper for a third party sofware (written in C) to use some exported functions provided. My program runs fine when using Sun JDK1.2.2, but I got the following error when using Jdk1.3 to run the program (It's a runtime error, only the version of runtime virtual machine matters.)
    # An EXCEPTION_STACK_OVERFLOW exception has been detected in native code outside
    the VM.
    # Program counter=0x9073337
    A stack overflow was encountered at address 0x09073337.
    I tried IBM jdk 1.2.2, it gave me a similar error complaining about the stack overflow error.
    The vendor of the third party software denies any wrong doing in their code and I don't have their source code. A test client (simulate the Java client) I wrote in C works perfectly fine and as I mentioned earlier the same java progarm runs OK with jdk 1.2.2, without any change to my system stack size. Does any body know what this is about and the solution for this?
    Thanks!
    My email: [email protected]

    I had the same exception occur in my JNI code and I have some advice on things to look for.
    Symptoms: The C++ code runs fine when called in an native executable but when it is wrapped by a JNI call inside a DLL you get the following exception:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_STACK_OVERFLOW occurred at PC=0x100d72e5
    Function name=_chkstk
    The address will be different of course.
    In my tests I isolated the problem to an allocation of a char array like so at the top of one of my wrapped C++ methods:
    char buf[650000];
    As you see this code is requesting 650000 bytes of stack memory. When run in a native executable there was no problem but when I ran it wrapped in the JNI call it blew up.
    Conclusion: There is a much smaller stack space when using JNI OR the added overhead of my JNI wrapper exhausted the available stack space OR this is a stack space issue related to DLLs.
    Hope this helps. Anyone with insight on this please put in your 2 cents.

  • TROUBLESHOOTING A STACK OVERFLOW ERROR

    제품 : ORACLE SERVER
    작성날짜 : 1997-02-04
    ==========================================
    TROUBLESHOOTING A STACK OVERFLOW ERROR
    ==========================================
    OVERVIEW
    A stack is a temporary storage space for programs. All programs have a
    stack. MS-DOS switches stacks for hardware interrupts to prevent stack
    overflows. Some programs such as EMM386.EXE, SMARTDRV.EXE, mouse drivers
    and TSR's will hook these hardware interrupts. When a hardware interrupt
    hook requires more stack space than is available, a stack overflow error
    occurs.
    SYNTAX
    The STACKS= command in your CONFIG.SYS specifies two parameters; the
    number of stack frames and the size of those frames.
    STACKS=x,y where x = number of stack frames
    minimum value is 8
    maximum value is 64
    y = bytes of each stack frame
    minimum value is 32
    maximum value is 512
    For most PC's the default is STACKS=9,128.
    TROUBLESHOOTING
    Perform the following troubleshooting steps prior to changing the STACKS=
    command:
    o If you are using a third party video driver reconfigure the pc to use the
    generic Windows VGA drivers.
    o Be sure you have 512K conventional RAM free before you load Windows.
    You can check the free memory by using the MEM /C command. The value
    for "Largest executable program size" should be 512k (524,288 bytes).
    o Personal Oracle7 requires 8MB RAM. An additional 8MB RAM is required
    when PL/SQL is also installed. The trial product requires PL/SQL and
    therefore automatically installs it.
    o Add the /X switch to the SMARTDRV.EXE driver in AUTOEXEC.BAT. This
    switch disables the write-behind caching.
    o Exclude the video graphics area from the memory manager.
    i.e. DEVICE = C:\WINDOWS\EMM386.EXE X=A000-C7FF
    The video driver's manufacturer can provide you with the appropriate
    range to exclude..
    o Boot clean.
    CONFIG.SYS AUTOEXEC.BAT
    ========== ============
    FILES=45 PROMPT$P$G
    BUFFERS=20 PATH=C:\WINDOWS;C:\DOS;\C:\
    DEVICE=C:\<dir>HIMEM.SYS SET TEMP=C:\<valid path>
    STACKS=9,256
    SHELL=C:\<valid path>\COMMAND.COM /E:1024 /P
    !!!CAUTION: Your system may have third-party drivers that must be
    loaded! Such drivers include hard disk drivers, disk
    partitioning disk compression utilities.
    Removing such drivers can render your hard drive
    inaccessible and/or damage your data.
    DO NOT REMOVE ANY DRIVER(S) THAT YOU CANNOT IDENTIFY ITS
    PURPOSE!
    o Add STACKS=9,256 to CONFIG.SYS. If you already have this statement
    then increase the stack frames to 16.
    The Microsoft Knowledge Base (http://www.microsoft.com/support/)provided
    technical resources for this bulletin. .............................

    The same issue seemed to be solved for me after I installed
    the ColdFusion 8 beta plug-ins for Eclipse
    http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

  • CIN stack overflow error

    Im using an recursiv c++ function in my VI.
    After severall calls the VI crashes, printing an
    stack overflow error.
    I already increased in Visual Studio 6.0 the Link
    setting: allocate stack. But nothing changed.
    I need help fix this problem!!
    My prg. looks like this:
    recursiv (....) {
    int array[..][..][..];
    recursiv (..);
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

    > Im using an recursiv c++ function in my VI.
    > After severall calls the VI crashes, printing an
    > stack overflow error.
    > I already increased in Visual Studio 6.0 the Link
    > setting: allocate stack. But nothing changed.
    > I need help fix this problem!!
    >
    > My prg. looks like this:
    >
    > recursiv (....) {
    > int array[..][..][..];
    > ....
    > recursiv (..);
    > }
    If you are truly allocating a three D array of ints
    on the stack, then it makes sense that you will run
    out of stack space sooner or later. I can't help
    you with increasing the stack size, but if you move
    your array into a memory block and store the pointer
    on the stack, then you will use less stack space and
    avoid the problem.
    In otherwords:
    recursive() {
    int *array;
    array= DSNewPtr()
    array[][][]= ...
    recursive();
    DSDisposePtr();
    Greg McKaskle

  • Stack overflow error while trying to run expense management activity on oracle BPM studio 10.3 on windows8 machine

    I am getting stack overflow error. While trying to bring expense creation screen on windows 8.
    I trying couple of settings in eclipse.ini file to increase the size but nothing helped. Can someone please advice?
    Below is eclipse.ini file
    -showsplash
    fuego.eclipse.studio
    --launcher.XXMaxPermSize
    --256m
    -vmargs
    -Xms600m
    -Xmx600m
    -Xss500m
    -Dfuego.fstudio=true
    -DprodMode=preProduction
    -Dbea.home=C:\OraBPMStudioHome\..
    -Djava.endorsed.dirs=""
    -Dsun.lang.ClassLoader.allowArraySyntax=true
    -Dfuego.studio.engine.java.options=-Dsun.lang.ClassLoader.allowArraySyntax=true
    -XX:PermSize=512M
    -XX:MaxPermSize=1024M
    -Xbootclasspath/a:C:\OraBPMStudioHome\eclipse\jre\lib\ext\tools.jar

    It looks like you are trying to run OSX on a Windows PC with VMware Workstation...
    This is NOT supported by VMware and doing so will break Apples EULA, you need Apple hardware to run OSX.
    No one here will be able to help you and you should investigate other legal and supported alternatives.
    // Linjo

  • Stack overflow error with production release

    Hi,
    I am using Flex 4.5.1 and I am getting a weird error upon exporting a production release. Here is the stack trace:
    VerifyError: Error #1023: Stack overflow occurred.
              at spark.components.gridClasses::GridLayout/intializeGridVisualElement()
              at spark.components.gridClasses::GridLayout/layoutIndicator()
              at spark.components.gridClasses::GridLayout/layoutCaretIndicator()
              at spark.components.gridClasses::GridLayout/updateDisplayList()
              at spark.components.supportClasses::GroupBase/updateDisplayList()
              at spark.components::Group/updateDisplayList()
              at spark.components::Grid/updateDisplayList()
              at mx.core::UIComponent/validateDisplayList()
              at spark.components::Group/validateDisplayList()
              at mx.managers::LayoutManager/validateDisplayList()
              at mx.managers::LayoutManager/doPhasedInstantiation()
              at mx.managers::LayoutManager/doPhasedInstantiationCallback()
    As you can see there is no trace of our own classes anywhere. I don't get this error if I use the normal debug version. We are very close to going live and we can't use the debug version files as they are bulky and are increasing the initial load time of the application.
    Please help!
    Thanks.
    Manoj

    Hey I get this suddenly in an app that's been running and working fine.  We just updated with a release build for some other updates and I get this error.  Here's the context:
    I am using Flex 4.6, have a component that extends the Flex 3 AdvancedDataGrid for some lightweight customization of how column resising work.  The component is used in several of our apps.  But, for some reason, and with no code updates to this particular component in a while, when I click on a row in the grid, I get this stack overflow exception too.  The exact same stack trace as the one mentioned by the original poster.
    Anyone have a clue why I would be seeing "spark.components.gridClasses::..." in my stack trace to begin with when the component that is being clicked on is a Flex 3 AdvDataGrid component?  I've seen some mention of the compiler error that somehow bashes the stack under the perfect circumstances.  But, in our case, we've eliminated all of our own event handlers (click/etc) from the grid and we still get this error and only in the release build.  So, there's no way to change any of our code to fix it b/c none of our code is executing when the error occurs.
    This is very very odd stuff.  Any ideas???

  • Stack overflow error with Sun JVM

    We have an application that was running on MSJVM. Recently we migrated to SUN JVM. After the migration, we get the error message - "Stack overflow at line 0 " at random, while loading applets.
    Any solutions to this problem will be greatly appreciated.
    Thanks
    Nabeel

    Where do you see the error message (Java console, ...?)
    Googling for "stack overflow at line 0" hints that the problem may be related to JavaScript. Is there JS on the web pages that elicit the error? The JVM upgrade might be a coincidence.

  • Stack overflow error while using validator frame work

    Hi all,
    Iam trying out an example on using the validator frame work.Iam using the Dynavalidator form.My page is a simple jsp page where the user field is mandatory..iam getting stack overflow pop-up in my jsp and i can find the following error in the log file..
    2005-05-02 15:47:42 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2005-05-02 15:47:45 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2005-05-02 15:47:45 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2005-05-02 15:47:45 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2005-05-02 15:47:45 StandardContext[servlets-examples]SessionListener: contextInitialized()
    Pls give me a sloution for this?

    I don't see any error messages or stack trace here.
    How do you know it is getting stack overflow?
    Try commenting out your validation code, and see if the form loads without it.
    Uncomment it, and find out which specific bit breaks it.

  • Using RemoteApp for RemoteIE: stack overflow error

    Hi,
    Trying to log into RemoteApp to get to RemoteIE, but running into the following error after entering the email ID:
    "Stack overflow at line: 44"
    Device: Windows 7 desktop
    Pl advice.
    -Vin

    Hi Vin,
    Do you have an old version of IE installed on the Windows 7 PC?  I believe at least IE9 is required for Windows 7 to be able to use Azure RemoteApp.
    -TP

  • Reports Failing(Stack Overflow Error)  - very urgent

    Hi,
    I try to run a report on the command line or using reports runtime engine or reports builder in win2000 and i keep on getting this error:
    The exception unknown software exception(0xc00000fd STACK OVER FLOW ERROR)occurred in the application at location 0x008c7781.
    The report runs fine in other formats(i.e pdf,html,htmlstyle sheet) and preview mode .When i selected delimited format, report fails at the time of writing in to text or excel format .
    Please advice me .
    Thanks in advance.

    Hi,
    Try with new desformat delimiteddata which is available with Report 6i patch 11/Reports 9i Patch 1
    Thanks
    Oracle Reports Team

  • Stack overflow error when "compiling" a TagHandler class in IBM

    meda karthik, Aug 7, 2004
    Hi,
    I am getting a StackOverFlowError during compilation(yes StackOverFlow during compilation !) of a TagHandler class when i am compiling with IBM JDK 1.4.2. The strange thing is, that i dont get the error when i compile the same class with IBM JDK 1.3.1. I am sure that this class is causing the error, because without it,the build goes through fine. I am doing a build of my component through ant. The following is the error i get :
    ---------------------------ERROR-----------------------------
    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.
    [javac] java.lang.StackOverflowError
    [javac] at com.sun.tools.javac.v8.code.Type$ClassType.constType(Type.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.visitLiteral(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.tree.Tree$Literal.accept(Tree.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Inlined Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribArgs(Attr.java(Inlined Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribExpr(Attr.java(Inlined Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribExpr(Attr.java(Inlined Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribExpr(Attr.java(Inlined Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java(Compiled Code))
    The above messages continue repeating and finally ends with...
    [javac] at com.sun.tools.javac.v8.tree.Tree$MethodDef.accept(Tree.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Inlined Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java(Inlined Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribClassBody(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java:1349)
    [javac] at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java(Compiled Code))
    [javac] at com.sun.tools.javac.v8.Main.compile(Main.java:586)
    [javac] at com.sun.tools.javac.Main.compile(Main.java:67)
    [javac] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [javac] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    [javac] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    [javac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    [javac] at java.lang.reflect.Method.invoke(Method.java:391)
    [javac] at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:100)
    [javac] at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
    [javac] at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
    [javac] at org.apache.tools.ant.Task.perform(Task.java:341)
    [javac] at org.apache.tools.ant.Target.execute(Target.java:309)
    [javac] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [javac] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [javac] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    [javac] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
    [javac] at org.apache.tools.ant.Task.perform(Task.java:341)
    [javac] at org.apache.tools.ant.Target.execute(Target.java:309)
    [javac] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [javac] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [javac] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    [javac] at org.apache.tools.ant.Task.perform(Task.java:341)
    [javac] at org.apache.tools.ant.Target.execute(Target.java:309)
    [javac] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [javac] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [javac] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [javac] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [javac] at org.apache.tools.ant.Main.start(Main.java:196)
    [javac] at org.apache.tools.ant.Main.main(Main.java:235)
    ---------------------------ERROR----------------------------- I am also attaching the first few lines of the tag, incase you find some imports are being referenced circularly....here is the TagHandlerClass.........: ------------------CLASS-------------------------------------
    package com.ibm.bcg.consoleUI.tags;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpSession;
    import javax.servlet.jsp.JspException;
    import javax.servlet.jsp.JspWriter;
    import javax.servlet.jsp.tagext.TagSupport;
    import org.apache.struts.util.MessageResources;
    import com.ibm.bcg.consoleUI.forms.FormConstants;
    import com.ibm.bcg.consoleUI.forms.SchedulerForm;
    import com.ibm.bcg.consoleUI.forms.VCBaseForm;
    import com.ibm.bcg.consoleUI.locale.LocaleUtils;
    import com.ibm.bcg.shared.ClientInfo;
    import com.ibm.bcg.shared.NameIdAssoc;
    import com.ibm.bcg.shared.logging.Logger;
    import com.ibm.bcg.shared.logging.LoggerFactory;
    import java.util.*;
    import com.ibm.bcg.consoleUI.action.ActionLists;
    import com.ibm.bcg.consoleUI.action.alerts.AlertActionUtil;
    import com.ibm.icu.util.Calendar;
    import com.ibm.icu.text.NumberFormat;
    * @author karthikd
    * @version 1.0
    public class ScheduleTag extends TagSupport {
    // The following 3 fields denote the attributes of the tag.
    private String formName;
    private String requestKey;
    private String scheduleController;
    private SchedulerForm schedulerForm;
    private Logger logger;
    private MessageResources resources;
    private ClientInfo clientInfo;
    private Locale locale;
    private HttpServletRequest request;
    private JspWriter writer;
    private HttpSession session;
    private String newLine = "\r\n";
    private Calendar cal = null;
    public int doStartTag() throws JspException
    try
    logger = LoggerFactory.getLoggerInstance();
    logger.log(this.getClass(),Logger.PRIORITY_DEBUG,"staring SchedulerTag ******");
    request = (HttpServletRequest)pageContext.getRequest();
    writer = (JspWriter)pageContext.getOut();
    schedulerForm = (SchedulerForm) request.getAttribute(getRequestKey());
    session = (HttpSession)pageContext.getSession();
    clientInfo = (ClientInfo) session.getAttribute( "clientInfo" );
    locale = clientInfo.getLocale();
    resources = LocaleUtils.getMessageResources(VCBaseForm.CONSOLE_BUNDLE);
    cal = Calendar.getInstance( clientInfo.getFormatLocale() );
    // write out the various JavaScript functions required.
    writer.println(getScripts());
    //write out the main options,i.e Interval Based and Calendar based scheduling options
    writer.println(getOptions());
    //decide what kind of scheduling screen is needed.
    if(schedulerForm.isIntervalBased())
    logger.log(this.getClass(),Logger.PRIORITY_DEBUG,"Interval based scheduling ******* ");
    writer.println(getIntervalScreen());
    else
    logger.log(this.getClass(),Logger.PRIORITY_DEBUG,"Calendarbased scheduling ******* ");
    writer.println(getCalendarScreen());
    writer.println(initCalendarScreen());
    catch (Exception e)
    logger.log(this.getClass(),Logger.PRIORITY_ERROR,"SchedulerTag Handler Exception ******** ");
    logger.log(this.getClass(),Logger.PRIORITY_DEBUG,"Inside the catch block of Scheduler Tag ****** ");
    throw new JspException("SchedulerTag : " + e.getMessage());
    return SKIP_BODY;
    ------------------CLASS-------------------------------------
    What could cause such a problem? Please help , in need of urgent help !!
    regards, karthik .

    Hi,
    No i have not tried to compile it manually as the file is part of a larger project and there are a lot of other dependencies before i can compile this manually.
    In any case i found a work around for the porblem. What was happening is that i had a fairly large function, which was about 250 lines, with a larger number of calls to the "append()" function of the StringBuffer class.
    I broke the large function into smaller pieces and now i dont get the error.!
    But can somebody explain why this solved the problem. Is it because the compiler is not able to stack up all the activation records for execution during runtime ? But like i mentioned what is it in IBM JDK 1.4.2 which is not allowing this, whereas IBM JDK 1.3.1 is able to do it ?
    I did solve my problem, but havent got a logical answer to why this was happening !
    would appreciate it if someone sheds some light on this topic .
    thanks and regards,
    Karthik

  • Stack overflow error while running Jprofiler for Jboss 4.0.2

    I am getting the below mentioned error while running Jprofiler for Jboss App server.
    My JVM version on linux is:
    03:39:16,286 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
    03:39:16,287 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b07,Sun Microsystems Inc.
    03:39:16,287 INFO [ServerInfo] OS-System: Linux 2.6.9-34.ELsmp,i386
    Could pass any pointers what could be wrong. This is first time I am using Jprofiler.
    TIA,
    Sachin
    =========================================================================
    JBoss Bootstrap Environment
    JBOSS_HOME: /opt/myApp/Jboss-app
    JAVA: /usr/java/jdk1.5.0_03/bin/java
    JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=runjboss.sh -javaagent:/opt/myApp/Jboss-app/bin/pluggable-instrumentor.jar -DSUN_AM_URL=https://hpss3.ca.myApp.com:68081 -DWhenToUse=never
    CLASSPATH: /opt/myApp/Jboss-app/bin/run.jar:/usr/java/jdk1.5.0_03/lib/tools.jar
    =========================================================================
    JProfiler> Protocol version 22
    JProfiler> Using JVMTI
    JProfiler> 32-bit library
    JProfiler> Listening on port: 8849.
    JProfiler> Native library initialized
    Error occurred during initialization of VM
    java.lang.StackOverflowError

    You could try increasing the thread stack size, e.g. something like
    'java -XX:ThreadStackSize=768 ...'
    But you should really be asking the JProfiler people, they would probably give you better advice.
    -kto

  • Stack  overflow error when connecting to SRM with integrated ITS

    When I try to connect to SRM Server through Integrated ITS, it is giving me the error "Stack overview, giSAPWP  is null or not an object. Kindly let me know how to resolve the error.

    Hi Arun,
    Are you running with Portal ?
    If yes, could you confirm the following point :
    - portal and ITS of the SRM system run under the same protocol (both under http or https, ELSE it is not possible),
    - portal and ITS of the SRM system are in the same domain
    Kind regards,
    Yann

Maybe you are looking for

  • Free Goods Material Cost

    Hi SD Gurus I hade a interview question? What will happen to the cost of the material that given as free good Thanks & Regards Hari

  • Best way to achieve multiple paths with quizzes using Captivate 6?

    I'm looking for the best way to achieve multiple paths and quizzes using Captivate 6. Here is the scenario: The learner watches general slides 1 – 3 and then chooses between Path A, Path B, or both paths combined.  If they choose Path A then they wat

  • Software Updates Synchronization, error code 0X80131500

    Hello, I need some help to get the Software Updates Synchronization to work again. Some days ago the Software Updates Synchronization ended to work, with the error code 0X80131500. (I have cleaned out, and now only test with updates for Skype and Win

  • Alignment problems printing direct to DVD with Epson R220

    I know this question isn't specifically related to iDVD but I wondered if someone could help please? I recently bought an Epson R220 printer to print direct to DVDs created with iDVD as I know labels stuck onto DVDs are best avoided. However, using b

  • I've updated Muse, and now my live site images are gone...

    Hello, I've recently updated Muse... Now when updating my site, all images are missing. I've followed other discussion advice and deleted all files from server and reuploaded site from my FTP client. Also, deleted HTML site from home computer and exp