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.
StackOverflowError exception occurs when select to open the Server Status dialog for a remote server Build used: AppServer: b56 Netbean and plugin: 03/03/04 STEPS TO REPRODUCE: 1. Install Netbean and plugin on machine 1 (window) 2. Install AppServer on machine 2 (solaris) 3. On machine 2, start the AppServer 4. On machine 1, start the Netbean IDE 5. From J2EE 1.4 JDK node, select to register the remote AppServer on machine 2 6. Right-click at the recently added server node, select [Start/Stop Server...] menu > de-select the [Automatically close this windows when finish] check box > click Close button 7. Right-click at the server node and select [Start/Stop Server...] menu again BUG: An Exception dialog appears with the message as: "Exception occurred in Request Processor" The problem doesn't happen if [Automatically close this windows when finish] is not de-selected.
Davisn, could you please attach the stack trace of this error? Nam, do you know where the problem could be? Any ideas? Thanks.
I have to reproduce the problem. A stack trace from Davis would be save me time in evaluation what exactly happening. I currently have an pending integration for legacy plugins. Will start working on this in 3 hrs.
------------------------------------------------------------------------------- >Log Session: Thursday, March 4, 2004 11:57:56 AM PST >System Info: Product Version = NetBeans IDE Dev (Build 20040304-1515) Operating System = Windows 2000 version 5.0 running on x86 Java; VM; Vendor = 1.4.2; Java HotSpot(TM) Client VM 1.4.2-b28; Sun Microsystems Inc. Java Home = C:\sun\j2sdk_nb\j2sdk1.4.2\jre System Locale; Encod. = en_US; Cp1252 Home Dir; Current Dir = C:\Documents and Settings\Administrator.SWOON.000; C:\sun\netbeans\bin IDE Install; User Dir = C:\sun\netbeans; C:\Documents and Settings\Administrator.SWOON.000\.netbeans\dev CLASSPATH = C:\sun\netbeans\lib\ext\boot.jar;C:\sun\j2sdk_nb\j2sdk1.4.2\lib\dt.jar;C:\sun\j2sdk_nb\j2sdk1.4.2\lib\tools.jar Boot & ext classpath = C:\sun\j2sdk_nb\j2sdk1.4.2\jre\lib\rt.jar;C:\sun\j2sdk_nb\j2sdk1.4.2\jre\lib\i18n.jar;C:\sun\j2sdk_nb\j2sdk1.4.2\jre\lib\sunrsasign.jar;C:\sun\j2sdk_nb\j2sdk1.4.2\jre\lib\jsse.jar;C:\sun\j2sdk_nb\j2sdk1.4.2\jre\lib\jce.jar;C:\sun\j2sdk_nb\j2sdk1.4.2\jre\lib\charsets.jar;C:\sun\j2sdk_nb\j2sdk1.4.2\jre\classes;C:\sun\j2sdk_nb\j2sdk1.4.2\jre\lib\ext\dnsns.jar;C:\sun\j2sdk_nb\j2sdk1.4.2\jre\lib\ext\ldapsec.jar;C:\sun\j2sdk_nb\j2sdk1.4.2\jre\lib\ext\localedata.jar;C:\sun\j2sdk_nb\j2sdk1.4.2\jre\lib\ext\sunjce_provider.jar Dynamic classpath = C:\sun\netbeans\lib\core.jar;C:\sun\netbeans\lib\openfile-cli.jar;C:\sun\netbeans\lib\openide-loaders.jar;C:\sun\netbeans\lib\openide.jar ------------------------------------------------------------------------------- [org.netbeans.core.modules #6] Warning: the module org.netbeans.modules.projects uses org.openide.deprecated which is deprecated: Clients of obsoleted Open APIs are encouraged to remove this dependency. See http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-I Turning on modules: org.openide/1 [4.26 20040304-1515] org.openide.loaders [4.11 20040304-1515] org.openide.src [1.1 20040304-1515] org.openide.io [1.1 20040304-1515] org.openide.execution [1.1 20040304-1515] org.openide.compiler [1.2 20040304-1515] org.netbeans.core/1 [1.21 20040304-1515] org.netbeans.lib.terminalemulator [1.1 20040304-1515] org.netbeans.core.output/1 [1.1 20040304-1515] org.netbeans.core.compiler/1 [1.4 20040304-1515] org.openide.debugger [1.1 20040304-1515] org.netbeans.modules.editor/1 [1.14 20040304-1515] org.netbeans.libs.xalan/1 [1.4 2.5.2] org.netbeans.libs.jaxp/1 [1.2 1.1.2] org.netbeans.api.xml/1 [1.2.3.6.0 3.6.0 20040304-1515] org.netbeans.modules.css/2 [1.0.3.6.0 3.6.0 20040304-1515] org.netbeans.modules.properties/1 [1.11 20040304-1515] org.netbeans.modules.properties.syntax/1 [1.11 20040304-1515] org.netbeans.modules.javahelp/1 [2.1 20040304-1515] org.netbeans.core.execution/1 [1.3 20040304-1515] org.netbeans.modules.classfile/1 [1.8 20040304-1515] org.netbeans.api.java/1 [1.3 20040304-1515] org.netbeans.modules.java/1 [1.16 20040304-1515] org.netbeans.modules.javadoc/1 [1.11 20040304-1515] org.netbeans.core.ide/1 [1.3 20040304-1515] org.openide.deprecated [1.3 20040304-1515] org.netbeans.core.deprecated [1.3 20040304-1515] org.netbeans.modules.text/1 [1.12 20040304-1515] org.netbeans.modules.settings/1 [1.4 20040304-1515] org.netbeans.tasklistapi/1 [1.6.2 2 20040304-1515] org.netbeans.modules.tasklist.core/2 [1.21.26 6 20040304-1515] org.netbeans.modules.suggestions_framework/2 [1.1.265 5 20040304-1515] org.netbeans.modules.group/1 [1.0 20040304-1515] org.netbeans.modules.servletapi/1 [1.3 20040304-1515] org.netbeans.modules.httpserver/1 [1.13 20040304-1515] org.netbeans.modules.xml.core/2 [1.0.3.6.0 3.6.0 20040304-1515] org.netbeans.modules.xsl/1 [1.0.3.6.0 3.6.0 20040304-1515] org.netbeans.modules.xml.schema/1 [1.0.3.6.0 3.6.0 20040304-1515] org.netbeans.modules.j2eeapis/1 [1.0 20040304-1515] org.netbeans.modules.schema2beans/1 [1.7 20040304-1515] org.netbeans.modules.debugger.core/3 [2.10 20040304-1515] org.netbeans.libs.j2eeeditor/1 [1.1 20040304-1515] org.netbeans.modules.j2eeserver/3 [1.1 20040304-1515] org.netbeans.modules.jarpackager/2 [1.14 20040304-1515] org.openidex.util/2 [2.7 20040304-1515] org.netbeans.modules.debugger.jpda/1 [1.17 20040304-1515] org.netbeans.api.web.dd/1 [1.1 1.0 20040304-1515] org.netbeans.modules.servletapi24/1 [2.0 2.0 20040304-1515] org.netbeans.libs.xerces/1 [1.4 2.6.0] org.apache.tools.ant.module/3 [3.7 20040304-1515] org.netbeans.modules.web.jspparser/2 [2.0 20040304-1515] org.netbeans.modules.projects/1 [1.14 20040304-1515] org.netbeans.modules.xml.catalog/2 [1.0.3.6.0 3.6.0 20040304-1515] org.netbeans.modules.xml.text/2 [1.0.3.6.0 3.6.0 20040304-1515] org.netbeans.modules.html/1 [1.12 20040304-1515] org.netbeans.modules.web.core.syntax/1 [1.13 20040304-1515] org.netbeans.modules.web.core/1 [1.17 20040304-1515] org.netbeans.modules.web.ie/1 [1.16 20040304-1515] org.netbeans.modules.form/2 [1.13 20040304-1515] org.netbeans.modules.web.monitor/1 [1.9 20040304-1515] org.netbeans.modules.db/1 [1.8 20040304-1515] org.netbeans.modules.tomcat5/1 [1.0 20040304-1515] org.netbeans.modules.tomcat5.bundled/1 [1.0 20040304-1515] org.netbeans.modules.xml.tax/2 [1.0.3.6.0 3.6.0 20040304-1515] org.netbeans.modules.diff/1 [1.7 20040304-1515] org.netbeans.core.windows/2 [2.0 20040304-1515] org.netbeans.core.ui/1 [1.3 20040304-1515] org.netbeans.modules.utilities/1 [1.15 20040304-1515] org.netbeans.modules.autoupdate/1 [2.8 20040304-1515] org.netbeans.modules.welcome/1 [1.5 20040304-1515] org.netbeans.modules.junit/2 [2.11 20040304-1515] org.netbeans.modules.tasklist.docscan/2 [1.12.2653 3 20040304-1515] org.netbeans.lib.cvsclient/1 [1.8 20040304-1515] org.netbeans.modules.vcscore/1 [1.9 20040304-1515] org.netbeans.modules.usersguide/1 [1.13 20040304-1515] org.netbeans.modules.web.debug/1 [2.0 20040304-1515] org.netbeans.modules.i18n/1 [1.14 20040304-1515] org.netbeans.modules.i18n.form/2 [1.12 20040304-1515] com.sun.tools.appserver/1 [2.0 20040303-0206] org.netbeans.modules.web.taglibed/1 [1.12.3.6.0 20040304-1515] org.netbeans.modules.beans/1 [1.11 20040304-1515] org.netbeans.modules.vcs.advanced/1 [1.9 20040304-1515] org.netbeans.modules.vcs.profiles.pvcs/1 [1.3 20040304-1515] org.netbeans.modules.applet/1 [1.14 20040304-1515] org.netbeans.modules.extbrowser/1 [1.3 20040304-1515] org.netbeans.modules.vcs.profiles.cvsprofiles/1 [1.3 20040304-1515] org.netbeans.modules.clazz/1 [1.13 20040304-1515] org.netbeans.modules.updatecenters/1 [1.0 20040304-1515] org.netbeans.modules.vcs.cmdline.compat/1 [1.3 20040304-1515] org.netbeans.modules.cvsclient/1 [2.0 20040304-1515] org.netbeans.modules.image/1 [1.11 20040304-1515] org.netbeans.modules.vcs.profiles.vss/1 [1.3 20040304-1515] org.netbeans.modules.xml.tools/2 [1.0.3.6.0 3.6.0 20040304-1515] Warning: org.netbeans.modules.welcome.WelcomeComponent should override preferredId() Warning: org.netbeans.core.NbMainExplorer$RepositoryTab should override preferredId() Warning: org.netbeans.core.NbMainExplorer$MainTab should override preferredId() Warning: org.netbeans.core.NbMainExplorer$RepositoryTab should override preferredId() Warning: org.netbeans.core.NbMainExplorer$MainTab should override preferredId() Warning - com.sun.enterprise.tools.studio.j2ee.runtime.actions.RegisterServerAction should override CallableSystemAction.asynchronous() to return false java.lang.StackOverflowError *********** Exception occurred ************ at Thu Mar 04 12:01:10 PST 2004 Annotation: Exception occurred in Request Processor java.lang.StackOverflowError java.lang.StackOverflowError *********** Exception occurred ************ at Thu Mar 04 12:01:15 PST 2004 Annotation: Exception occurred in Request Processor java.lang.StackOverflowError Warning: org.netbeans.core.NbMainExplorer$RepositoryTab should override preferredId()
I could reproduce the problem. It seems to me the stack over flow log message (without stack) and the dialog come from the plugin. I will continue analysis, but think it would be helpful to have Ludo in the loop.
OK, the loop is in ServerStatusBar code in case of remove server. Even though it only happen with remote server, it deserves to be fix in 36 branch.
Created attachment 13848 [details] ServerStatusBar.diff
Fixed in trunk. Target for NB3.6. Pavel, can you code review for netbeans 3.6 integration. Thanks.
I agree with the fix.
Today when I worked with nb36 I also saw a lot of java.lang.StackOverflowError. I used appserver plugin, but with local server, not remote. I couldn't reproduce it, I don't know what I did, but when it appeared this exception was throw everytime I click anywhere, so IDE was unusable.
Libor, if you do not invoke 'Start/Stop Server ...' and are not using a remote server, then the its likely that stackoverflow is from some other loop, not the one described here. Its important to see if the stack provide any additional info and try to describe test case as best as possible.
please, provide with a complete reproducible scenario involving the app server. Thanks. or maybe it is said that it cannot be reproduced? The comment is misleading anyway. Can you clarify if java.lang.StackOverflowError is still seen or not?
I verify the fix with today build - 03/08. The problem was fixed; however, there a new regression problem comes up. It seems everytime I tried to enter a character at the [Choose Application] panel, the cursor for the next character was lost.
Davis, thanks for the verification of my fix in netbeans trunk build. Many of us would be at lost with the new regression you describe. We don't know where to locate the Choose Application panel. Also, how it is related to this bug. If not, please open a new issue.
Nam, it is more related to a plugin problem since the [Choose Application] panel is from the plugin codes. I probably will open a plugin bug
If no objects is raised, I will integrate this fix to release36 branch by 2:00 PM PST tomorrow.
I verified the fix in trunk build #200403071900 - it's OK.
The fix has been put into release36 branch.