Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2007, 07:01 AM
Member
 
Join Date: Jun 2007
Posts: 92
Marcus is on a distinguished road
java.lang.StackOverflowError Exception
I am modifying an application and this throwing tom me the java.lang.StackOverflowError exception in my WebSphere.
The application invokes a service with RMI (remote method invocation).
the exact line of the method that sends the exception is

Code:
Object $result = ref.invoke(this, $method_approve_0, new java.lang. Object[] {$param_ServiceContext_1, $param_CreditCardDetails_2}, -8032042095988443398L);
this is the line that the approve() methos is invoked.

Stack trace is:
Code:
2005-11-04 12-36-46-646 : CCI:0a8ca248.1131129406526.1. -7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Entering getCreditCardService() 2005-11-04 12-36-46-646 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Entering initialize() 2005-11-04 12-36-46-646 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Entering getRemoteReference() 2005-11-04 12-36-46-686 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Leaving getRemoteReference() 2005-11-04 12-36-46-686 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Leaving initialize() 2005-11-04 12-36-46-686 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Leaving getCreditCardService() 2005-11-04 12-36-46-706 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Entering approve() 2005-11-04 12-36-46-856 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : ERROR : env.cci.server.CreditCardServiceProxy Caught RemoteException for RMI name: rmi://localhost/PPRCreditCardService java.rmi.ServerError: Error occurred in server thread; nested exception is: java.lang.StackOverflowError java.lang.StackOverflowError at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:257) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:232) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:135) at ca.mb.gov.env.cci.server.CreditCardServiceImpl_Stub.approve(CreditCardServiceImpl_Stub.java:71) at ca.mb.gov.env.cci.server.CreditCardServiceProxy.approve(CreditCardServiceProxy.java:94) at ca.mb.gov.env.cci.drivers.test.CCITest.main(CCITest.java:39) at java.lang.reflect.Method.invoke(Native Method) at com.ibm.websphere.client.applicationclient.launchClient.createContainerAndLaunchApp(launchClient.java:616) at com.ibm.websphere.client.applicationclient.launchClient.main(launchClient.java:420) at java.lang.reflect.Method.invoke(Native Method) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
Albert
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-27-2007, 06:10 PM
Senior Member
 
Join Date: Jun 2007
Posts: 111
Eric is on a distinguished road
RE: java.lang.StackOverflowError Exception
I have understood that generally the Exception java.lang.StackOverflowError occurs when it does an infinitive autoinvoke
Did you prove with regenerating the Deployment and RMIC?

(I don't remember exactly how it was in WSAD, now I am with Eclipse)

Eric
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
java.lang.StackOverflowError eva New To Java 3 12-24-2007 11:54 AM
Exception in thread "main" java.lang.NoClassDefFoundError baltimore New To Java 1 08-06-2007 08:07 AM
Error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException romina New To Java 1 07-26-2007 12:55 AM
ArrayList: Exception in thread "main" java.lang.NullPointerException susan New To Java 1 07-16-2007 08:32 AM
java.lang.NoClassDefFoundError Exception when I invoke to a class outside projectEJB Daniel Enterprise JavaBeans 1 07-06-2007 08:08 AM


All times are GMT +3. The time now is 08:33 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org