stackoverflow

java stackoverflow error

Hey guys, I'm working on a program for a university course that uses a method called get_line() to recursively calculate a list of successive locations to get from one point on a grid to another. When I run it, I get a stack overflow at the line of the last return statement in the method. I was wondering if I could someone else to look o...

Recovering from stack overflow on Mac OS X

Hi all, I am implementing a cross platform scripting language for our product. There is a requirement to detect and properly handle stack overflow condition in language VM. Before you jump in and say make sure there is no stack overflow in the first place, re-read my first sentence - this is a scripting language and end users may write ...

Stack Overflow in IE with JQuery (at line 12/1076)

I'm using JQuery from Google CDN and I've been getting stack overflow error (using IE8) at lines 12 (for the min file) and 1076 (for the uncompressed one). The JQuery code at the line where stack overflow error takes me to is: JQuery.js ... makeArray: function( array ) { var ret = []; if( array != null ){ var i = array.length; /...

WPF style causing loop

Why does the following XAML cause a stack overflow exception with some themes? <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="ExpressionLight.xaml"/> </ResourceDictionary.MergedDictionaries> <Style x:Key="BaseButtonStyle" TargetType...

PHP doesn't handle stack overflow?

I was surprised when I just tried the following PHP code: function foo() { foo(); } foo(); I expected to get "500: Internal server error". Instead the connection was closed immediately (no bytes received), and the log files show that apache segfaulted. WTF? Is this a known bug in PHP? Are there some configuration options that I'm ...

Is there a questions-and-answers rails plugin?

I am working on a project that has a questions-and-answers section. My client - and me of course - looks highly at stackoverflow and how it made questions-and-answers so great. My question is, Are there any plugins/apis that I can use in my Rails application to provide a questions-and-answers section without having to build it from scra...

Return base class in LINQ for stored procedure causes stackoverflow

I have quite complex SP which returns base class (basecontent). I have inheritence with about 30+ child classes (like "page", "news", etc). When I return other types from SP everything works fine, but this one drives me crazy. I am quite experienced with LINQ and already tryied to recreate SP, verified outout, etc. But this call fails ...

Stack overflow error for large inputs in Java

I'm writing a Java program that searches for and outputs cycles in a graph. I am using an adjacency list for storing my graph, with the lists stored as LinkedLists. My program takes an input formatted with the first line as the number of nodes in the graph and each subsequent line 2 nodes that form an edge e.g.: 3 1 2 2 3 3 1 My proble...

SO rep JSON not working

I'm writing a Google Chrome extension for users to monitor their Stack Overflow account and notify them of new reputation, but I'm having problems with the JSON request to access the rep data. I'm using JQuery as my JSON library. Using the address: http://stackoverflow.com/users/rep/{userid}/{from-time}/{to-time} where the times are in ...

Help with system.stackoverflowexception

All of a sudden my app is handing this out in the application event viewer: EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 app_code.ahowircm, P5 0.0.0.0, P6 4b167253, P7 30, P8 0, P9 system.stackoverflowexception, P10 NIL. Nothing has changed since yesterday, and everything worked fine before. The server is running s...

Running down a 'stack overflow' bug

I have an application written in Delphi W32 that is in beta. On the test PC, it haphazardly kicks out a 'stack overflow' message after a few hours of use. How can I trap the error and find the cause? Can I increase the Stack size? ...

in webpage displayed after logout I saw this program, what does this indicate?

in webpage displayed after logout I saw this program, what does this indicate? I cannot post image . So I post Link http://sstatic.net/so/img/polyglot-404.png ...

Automatic Top Bar Response Like StackOverflow

Hello All, Do you guys have any idea of how to implement an automatic top bar like that of Stackoverflow which appears when you look at a question. I wonder how do they do it because there is no event triggered when you are at a page which has already been loaded. Also there is no page refresh. After being at questions/asnwer page; you...

Is there a more succinct CSS selector expression for this StackOverflow improvement?

I created this user style to make my StackOverflow use much more pleasant. As the screenshots there illustrate, my sidebar contains only the "Ignored Tags" header and input box. I don't care about all of the unanswered tags, nor about all of the tags I've already ignored. Here is the CSS: #sidebar > * { display: none } #sidebar > :nth-c...

How do I fix this stack overflow error?

So I have what I think is pretty good code for a sudoku solver in java but I need some help with this method. It gives me a stack overflow when I embed it in a main method. The problem is that my method doesn't know how to turn around and fix its mistakes. I need a boolean flag (one that, unlike the one used in the code below, actually w...

How to mimic StackOverflow Auto-Link Behavior

With PHP how can I mimic the auto-link behavior of StackOverflow (which BTW is awesomely cool)? For instance, the following URL: http://www.stackoverflow.com/questions/1925455/how-to-mimic-stackoverflow-auto-link-behavior Is converted into this: <a title="how to mimic stackoverflow auto link behavior" rel="nofollow" href="http://...

How to use mydialog box in forms in vb.net

In VB.net, I have created my own dialog box and I am trying to create an object for it and use the object in the form. While doing this, the object has a value 'Nothing' and it says 'Stackoverflow' for this case. How to overcome this? ...

stackoverflow exception.

public static int ExecuteNonQuery(String procedure, params SqlParameter[] args) { if (args == null) throw new ArgumentNullException("args"); else return ExecuteNonQuery(procedure, new SqlParameter[] { }); } Why getting recursive function and throwing StackOverFlow Exception when calling this above method.(while the argument...

How can I mount a Wicket application at /* in GAE development server?

My Wicket application runs fine on the live Google App Engine at /* <filter-mapping> <filter-name>WicketApplication</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> However this URL pattern does not work on the development server (GAE 1.2.8): a request to http://localhost:8080/ gives this message: HTTP ERROR: 500...

Stackoverflow when running JSF

Hi, I am currently reading about Java Server Faces. I wanted to do my first little expriment with it. I out the API and implementation JARs into the tomcat/lib folder. I created a new "Dynamic Web Project" inside Eclipse. I created a new HTML file with the following content: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transiti...