stack-overflow

javadoc stackoverflow java.lang.StackOverflowError

狂风中的少年 提交于 2019-12-13 04:46:52
问题 I am working on the BYU EDIF Tools Sourceforge Project after downloading the source code and all of it's dependencies I get the following error when trying to generate javadocs for it: C:\Users\akeller9\workspace>javadoc -d byuediftools\doc -sourcepath byuediftools -classpath "byuediftools\JHDL_provisional.jar;byuediftools\JSAP-2.1.jar" -subpackages edu Loading source files for package edu.byu.ece.edif.arch... ...<more source files loaded>... Loading source files for package edu.byu.ece.edif

Hibernate : StackOverflowException logging ManyToMany association

喜夏-厌秋 提交于 2019-12-13 04:43:41
问题 After activating debug logging on org.hibernate.loader , i have a StackOverflowException when hibernate tries to log something like "loading collection [com.Bar#42]" The stack that's repeated is this one : at com.Quz.toString(Quz.java:120) at org.hibernate.type.descriptor.java.AbstractTypeDescriptor.extractLoggableRepresentation(AbstractTypeDescriptor.java:109) at org.hibernate.type.AbstractStandardBasicType.toLoggableString(AbstractStandardBasicType.java:291) at org.hibernate.pretty

Why does post increment operator not work although preincrement does work in this code?

谁都会走 提交于 2019-12-13 03:38:36
问题 I am really new to programming (I'm an electronics and comm. engineer) and I am not able to figure out why one program works and the other one doesn't. I'd like to get a good understanding of recursive functions before going any further with my learning. I would appreciate any help regarding this. I know the difference between the x++ and --x. But in this context of this program, I thought both of these programs should run the same way. But they don't. void rec(int x) { if(x>0) rec(x--);

Stack overflow when trying to use regex in java

谁说我不能喝 提交于 2019-12-13 02:58:27
问题 I have read up on some articles on how to optimize regex but none of the answers (less groups, using {X,Y} instead of *) seemed to stop my regex from getting a stack overflow error. I am trying to make a dynamic search through a file. Lets say i am searching for 'i bet you cannot find me' in a file that is pretty large (2-4 mb). My regex generator would generate the regex: i(?:.|\s)*?bet(?:.|\s)*?you(?:.|\s)*?cannot(?:.|\s)*?find(?:.|\s)*?me the idea to this regex is that it finds the exact

Fastest way to break in WinDbg for specific exception? .net 4.0 app

自古美人都是妖i 提交于 2019-12-13 01:55:02
问题 Folks, Debugging a .net 4.0 app using WinDbg (I'm a beginner to WinDbg). I'm trying to break when I hit a stack overflow: (NTSTATUS) 0xc00000fd – A new guard page for the stack cannot be created Unfortunately, this overflow happens about 2-hours into a long-running process and logs tells me that it doesn't always happen at the same time/place. If I attach to the process in the debugger, the program runs terribly slow...it might take a few days to hit the bug! Is there a way to speed up the

How to handle a stackoverflow?

♀尐吖头ヾ 提交于 2019-12-13 00:19:43
问题 I'm trying to fix up the error handling in my postscript interpreter, and I'm having difficulty coming up with ways for the handler to execute when one of the stacks is full. The postscript-level handler procedure I'm using is the "standard" one described in Frank Merritt Braswell, Inside Postscript. /.error { //$error exch /errorname exch put //$error exch /command exch put //$error /newerror true put //$error /errorname get /VMerror ne { //$error /ostackarray get null eq { //$error

Cannot bind: field is static: form.MainForm.nameTextField

妖精的绣舞 提交于 2019-12-12 18:33:31
问题 I'm getting an error when I create static methods and call them in another class: public static JTextField getNameTxtField(){ return nameTxtField; } public static JTextField getNewUserNameTxtField(){ return newUserNameTxtField; } public static JPasswordField getNewPasswordTextField(){ return newPasswordTxtField; } All the above getters are located in the MainForm class and are called in the this class: GameLogic : public void addToDatabase() throws SQLException { controller.addUserToDatabase

printf command causing a seg fault? [duplicate]

我的梦境 提交于 2019-12-12 18:00:46
问题 This question already has answers here : Getting a stack overflow exception when declaring a large array (9 answers) Closed 6 years ago . When I try to initialize a large double dimensional character array, it works perfectly fine. But when I add a simple print command, it gives me a segmentation fault. Any ideas as to why this is happening? #include<stdio.h> int main(void) { printf("!"); char f[10000][10000]; } It works fine without the printf command, or even if the printf command prints

Finding potential stack overflow issues in templates

≯℡__Kan透↙ 提交于 2019-12-12 17:47:50
问题 I traced a recent crash in my application to a stack overflow problem, and having fixed the problem, I thought I'd do a re-check on the code for any similar potential bugs using the visual studio code analysis tool. This found a number of possible similar cases with a report such as Warning C6262 Function uses '148140' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. SCCW-VC2015 c:\cpp\aclcommon\aclcontainer.h When I look at the code it takes me to the

java.lang.StackOverflowError Running JSF 2 example on Weblogic 12c

偶尔善良 提交于 2019-12-12 16:02:05
问题 I followed the very basic tutorial found here example and cannot seem to get past the following error: Error 500--Internal Server Error java.lang.StackOverflowError at weblogic.servlet.internal.ServletResponseImpl.addHeader(ServletResponseImpl.java:567) at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200) at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200) at javax.servlet.http.HttpServletResponseWrapper