This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 2009-06-12_15-03-49 ) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Windows XP, 5.1, x86 User Comments: GUEST: starting websphere 6.1 charlie_smith: Add code comments in a php file. (non php-doc, just a standard // comment) GUEST: restarting websphere app server Stacktrace: java.lang.StackOverflowError at java.io.FileOutputStream.writeBytes(FileOutputStream.java:0) at java.io.FileOutputStream.write(FileOutputStream.java:0) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:0) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:0) at java.io.PrintStream.write(PrintStream.java:0) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:0)
Created attachment 83494 [details] stacktrace
This issue already has 6 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=148238
Build: NetBeans IDE Dev (Build 2009-06-12_12-04-27 ) VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Windows Vista, 6.0, x86 User Comments: cc Stacktrace: java.lang.StackOverflowError at java.io.FileOutputStream.writeBytes(FileOutputStream.java:0) at java.io.FileOutputStream.write(FileOutputStream.java:0) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:0) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:0) at java.io.PrintStream.write(PrintStream.java:0) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:0)
Created attachment 83500 [details] stacktrace
This issue already has 7 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=148238
This issue already has 9 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=148238
Upgrading to P1 and reassigning to Parsing API
fixed in trunk: e37095dc4b8b
Filip/Jirka ... please look at this issue, we need to find steps to reproduce. This is stopper for NB 6.7.
as far as I go through exceptions reports and I didn't reproduce this issue in any RC it looks like this issue is only in dev version at the moment. Anyway, I'll investigate a bit more.
Build: NetBeans IDE 6.7 RC3 (Build 200906142201) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.28-11-generic, amd64 User Comments: I was writing php code when this occured. PHP project is set to upload on save Stacktrace: java.lang.StackOverflowError at java.lang.ClassLoader.defineClass1(ClassLoader.java:0) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:240) at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:294) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:224) at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Created attachment 83690 [details] stacktrace
ok, well, I reproduced in 67RC3 but it was thrown while typing code and I don't see exact steps @developer: do you want me to turn on more logging in netbeans or some kind of information I can get you so you can figure out the source of the issue? thanks
Build: NetBeans IDE 6.7 RC3 (Build 200906142201) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.28-11-generic, amd64 User Comments: happened while copy and paste from one file to antoher in php project Stacktrace: java.lang.StackOverflowError at java.lang.ClassLoader.defineClass1(ClassLoader.java:0) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:240) at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:294) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:224) at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Created attachment 83697 [details] stacktrace
Build: NetBeans IDE Dev (Build 2009-06-17_09-04-45 ) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.28-11-generic, amd64 User Comments: copy and paste from one file to another according to internal discussion with jirka. Stacktrace: java.lang.StackOverflowError at java.security.AccessController.doPrivileged(AccessController.java:0) at java.lang.ClassLoader.checkPackageAccess(ClassLoader.java:329) at org.netbeans.core.NbErrorManager.createExc(NbErrorManager.java:71) at org.netbeans.core.NbErrorManager.publish(NbErrorManager.java:85) at org.netbeans.core.startup.TopLogging$LookupDel.publish(TopLogging.java:823) at java.util.logging.Logger.log(Logger.java:458)
Created attachment 83701 [details] stacktrace
Integrated into 'main-golden', will be available in build *200906180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e37095dc4b8b User: Jan Jancura <jjancura@netbeans.org> Log: #166982: StackOverflowError at java.io.FileOutputStream.writeBytes
There have been three changesets from jjancura so far: http://hg.netbeans.org/jet-main/rev/e37095dc4b8b http://hg.netbeans.org/jet-main/rev/9a5cdba916df http://hg.netbeans.org/jet-main/rev/3f671e60429e I think they look good, the main fix is in 9a5cdba916df.
verified in Product Version: NetBeans IDE Dev (Build 200906180201) Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02 could you please push to 67? I'll close this as verified once it's verified in 67. thanks.
The changesets have been transplanted to release67 as: e37095dc4b8b - http://hg.netbeans.org/release67/rev/e3a5f8003c22 9a5cdba916df - http://hg.netbeans.org/release67/rev/aeab2c72d90b 3f671e60429e - http://hg.netbeans.org/release67/rev/ffd37654a58d
verified in 6.7fcs
*** Issue 167349 has been marked as a duplicate of this issue. ***
*** Issue 167201 has been marked as a duplicate of this issue. ***
*** Issue 167038 has been marked as a duplicate of this issue. ***
*** Issue 167434 has been marked as a duplicate of this issue. ***
Build: NetBeans IDE 6.7 RC3 (Build 200906150201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.StackOverflowError at org.netbeans.TopSecurityManager.checkSetSecurityManager(TopSecurityManager.java:411) at org.netbeans.TopSecurityManager.checkPermission(TopSecurityManager.java:365) at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1512) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:298) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.util.ResourceBundle$RBClassLoader.loadClass(ResourceBundle.java:445)
Created attachment 84200 [details] stacktrace
I can reproducate this problem.
Created attachment 84226 [details] stacktrace
it's 100% reproducible in Product Version: NetBeans IDE Dev (Build 2009-06-30_09-04-36 ) Java: 1.5.0_17-ea; Java HotSpot(TM) 64-Bit Server VM 1.5.0_17-ea-b01 from bertram.netbeans.org
yes, I can reproduce it as well
looks like new reports are coming just from trunk builds, none so far from NB 6.7 FCS ...
If it happens only in the trunk and not in 6.7 it should remain P1 but the trunk fix (after we have one) will not be backported to 6.7 branch.
indexing issue
Well, the stacktraces from trunk indicate a problem different from the original one. This new problem is solely in PhpIndex, which while creating the index is trying to access its data, hence the endless recursion. Strictly speaking I should close this issue as fixed and file another one, but there seems to be heaps of people CCed and huge number of stacktraces. So, I'll probably keep it open and just change the summary, version and target milestone. I'm passing this to PHP folks, but please let me know if you thing that there is something unexpected on the infrastructure side. Thanks
reassigning to radek
*** Issue 168833 has been marked as a duplicate of this issue. ***
#168833 marked as duplicate: contains php code that makes the issue to be reproducible
This issue already has 250 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=148238
Radek/Tomas : I see exceptions from versions : [Dev, 6.5 Beta, 6.7 RC3] but none from 6.7 FCS ... does it mean it's fixed there ? If not we can reconsider to put this into next 6.7 patch ...
Marian, this is a little bit confusion (new issue should have been reported) because current #166982 isn't the same as original 6.7 #166982 issue. The original one was fixed for 6.7 FCS in csl but this current one is issue in php indexing code and will be fixed by myself (already fixed locally and will be pushed very soon)
This issue already has 251 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=148238
Integrated into 'main-golden', will be available in build *200907231401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/924c4b0dc78b User: Radek Matous <rmatous@netbeans.org> Log: #166982 PHPIndexer ends up in endless recursion while indexing
fixed
*** Issue 167468 has been marked as a duplicate of this issue. ***
Build: NetBeans IDE 6.8 Beta (Build 200910212001) VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.28-15-generic, amd64 User Comments: Stacktrace: java.lang.StackOverflowError at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:447) at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544) at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:240) at java.lang.StringCoding.encode(StringCoding.java:272) at java.lang.String.getBytes(String.java:946) at java.io.UnixFileSystem.getBooleanAttributes0(UnixFileSystem.java:0)
Created attachment 90005 [details] stacktrace
Product Version: NetBeans IDE Dev (Build 091119-e4763f6f87e3) Java: 1.5.0_17-ea; Java HotSpot(TM) 64-Bit Server VM 1.5.0_17-ea-b01 verified