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.

Bug 64073 - when compile C/C++ source,show exception
Summary: when compile C/C++ source,show exception
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: nb4openvms (show other bugs)
Version: 3.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: mgarrison
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 04:33 UTC by cailongli
Modified: 2005-09-16 11:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log (16.56 KB, text/html)
2005-09-12 04:35 UTC, cailongli
Details
ide.log (16.56 KB, text/xml)
2005-09-12 04:36 UTC, cailongli
Details
ide.log (16.56 KB, text/html)
2005-09-12 04:36 UTC, cailongli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cailongli 2005-09-12 04:33:41 UTC
>Log Session: 2005年9月12日 星期一 上午11时20分16秒 CST
>System Info: 
  Product Version       = NetBeans IDE 3.6 (Build 200404071636)
  Operating System      = Windows XP version 5.1 running on x86
  Java; VM; Vendor      = 1.4.2_07; Java HotSpot(TM) Client VM 1.4.2_07-b05; 
Sun Microsystems Inc.
  Java Home             = C:\j2sdk1.4.2_07\jre
  System Locale; Encod. = zh_CN; GBK
  Home Dir; Current Dir = C:\Documents and Settings\cailongli; D:\Program 
Files\NetBeans3.6
  IDE Install; User Dir = D:\Program Files\NetBeans3.6; C:\Documents and 
Settings\cailongli\.netbeans\3.6
  CLASSPATH             = D:\Program Files\NetBeans3.6
\lib\ext\boot.jar;C:\j2sdk1.4.2_07\lib\dt.jar;C:\j2sdk1.4.2_07\lib\tools.jar
  Boot & ext classpath  = C:\j2sdk1.4.2_07\jre\lib\rt.jar;C:\j2sdk1.4.2_07
\jre\lib\i18n.jar;C:\j2sdk1.4.2_07\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_07
\jre\lib\jsse.jar;C:\j2sdk1.4.2_07\jre\lib\jce.jar;C:\j2sdk1.4.2_07
\jre\lib\charsets.jar;C:\j2sdk1.4.2_07\jre\classes;C:\j2sdk1.4.2_07
\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_07
\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_07
\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_07\jre\lib\ext\sunjce_provider.jar
  Dynamic classpath     = D:\Program Files\NetBeans3.6\lib\core.jar;D:\Program 
Files\NetBeans3.6\lib\openfile-cli.jar;D:\Program Files\NetBeans3.6
\lib\openide-loaders.jar;D:\Program Files\NetBeans3.6\lib\openide.jar
-------------------------------------------------------------------------------
[org.netbeans.core.modules #4] Warning - had to upgrade dependencies for 
module com.compaq.openvms.netbeans.cppsupport.editor: added = [module 
org.openide.src > 1.0, module org.openide.debugger > 1.0, token 
org.openide.compiler.CompilationEngine, module org.openide.compiler > 1.0, 
token org.openide.TopManager, module org.openide.execution > 1.0, token 
org.openide.windows.IOProvider, module org.openide.deprecated > 1.0, token 
org.openide.execution.ExecutionEngine, module org.openide.io > 1.0] removed = 
[]; details: [API separation phase I (#19443): 
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-
files/upgrade.html#3.5i-sep-I, API separation phase II (#19443): 
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-
files/upgrade.html#3.5i-sep-II, Debugger API separation (#29914): 
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-
files/upgrade.html#3.5i-sep-III]
[org.netbeans.core.modules #4] Warning - had to upgrade dependencies for 
module com.compaq.openvms.netbeans.cppsupport: added = [module org.openide.src 
> 1.0, module org.openide.debugger > 1.0, token 
org.openide.compiler.CompilationEngine, module org.openide.compiler > 1.0, 
token org.openide.TopManager, module org.openide.execution > 1.0, token 
org.openide.windows.IOProvider, module org.openide.deprecated > 1.0, token 
org.openide.execution.ExecutionEngine, module org.openide.io > 1.0] removed = 
[]; details: [API separation phase I (#19443): 
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-
files/upgrade.html#3.5i-sep-I, API separation phase II (#19443): 
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-
files/upgrade.html#3.5i-sep-II, Debugger API separation (#29914): 
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-
files/upgrade.html#3.5i-sep-III]
[org.netbeans.core.modules #4] Warning - had to upgrade dependencies for 
module com.compaq.openvms.netbeans.edtkeypad: added = [module 
org.openide.debugger > 1.0] removed = []; details: [Debugger API separation 
(#29914): 
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-
files/upgrade.html#3.5i-sep-III]
[org.netbeans.core.modules #4] Warning - had to upgrade dependencies for 
module com.hp.openvms.netbeans.dclsupport: added = [module 
org.openide.execution > 1.0, token org.openide.windows.IOProvider, module 
org.openide.src > 1.0, module org.openide.debugger > 1.0, module 
org.openide.deprecated > 1.0, token org.openide.compiler.CompilationEngine, 
module org.openide.compiler > 1.0, token 
org.openide.execution.ExecutionEngine, module org.openide.io > 1.0, token 
org.openide.TopManager] removed = []; details: [API separation phase I 
(#19443): 
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-
files/upgrade.html#3.5i-sep-I, API separation phase II (#19443): 
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-
files/upgrade.html#3.5i-sep-II, Debugger API separation (#29914): 
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-
files/upgrade.html#3.5i-sep-III]
[org.netbeans.core.modules #4] Warning - had to add recursive class loader 
dependencies for module com.compaq.openvms.netbeans.cppsupport.editor on 
[com.hp.openvms.netbeans.dclsupport]; see 
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-
files/upgrade.html#3.5i-indirect-dep-cp
[org.netbeans.core.modules #6] Warning: the module 
com.hp.openvms.netbeans.dclsupport 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
[org.netbeans.core.modules #6] Warning: the module 
com.compaq.openvms.netbeans.cppsupport 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
[org.netbeans.core.modules #6] Warning: the module 
com.compaq.openvms.netbeans.cppsupport.editor 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
[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
[org.netbeans.core.modules #6] Warning: the module 
com.compaq.openvms.netbeans.edtkeypad 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.1 200404071636]
	org.openide.loaders [4.11.1 200404071636]
	org.netbeans.core/1 [1.21.1 200404071636]
	org.netbeans.core.windows/2 [2.0.1 200404071636]
	org.netbeans.core.ui/1 [1.3.1 200404071636]
	org.netbeans.core.ide/1 [1.3.1 200404071636]
	org.openide.src [1.1.1 200404071636]
	org.openide.io [1.1.1 200404071636]
	org.openide.execution [1.1.1 200404071636]
	org.openide.compiler [1.2.1 200404071636]
	org.netbeans.lib.terminalemulator [1.1.1 200404071636]
	org.netbeans.core.output/1 [1.1.1 200404071636]
	org.netbeans.core.compiler/1 [1.4.1 200404071636]
	org.openide.debugger [1.1.1 200404071636]
	org.netbeans.modules.settings/1 [1.4.1 200404071636]
	org.netbeans.modules.javahelp/1 [2.1.1 200404071636]
	org.netbeans.modules.classfile/1 [1.8 200404071636]
	org.netbeans.api.java/1 [1.3.1 200404071636]
	org.netbeans.core.execution/1 [1.3.1 200404071636]
	org.netbeans.modules.java/1 [1.16.1 200404071636]
	org.netbeans.tasklistapi/1 [1.7.1.2 2 200404071636]
	org.netbeans.modules.tasklist.core/2 [1.22.1.26 6 200404071636]
	org.netbeans.modules.suggestions_framework/2 [1.2.1.265 5 
200404071636]
	org.netbeans.modules.j2eeapis/1 [1.0.1 200404071636]
	org.netbeans.libs.xalan/1 [1.4.1 2.5.2]
	org.netbeans.libs.jaxp/1 [1.2.1 1.1.2]
	org.netbeans.api.xml/1 [1.3.1.3.6.0 3.6.0 200404071636]
	org.netbeans.modules.schema2beans/1 [1.7.1 200404071636]
	org.netbeans.modules.debugger.core/3 [2.10.1 200404071636]
	org.netbeans.libs.j2eeeditor/1 [1.1.1 200404071636]
	org.netbeans.modules.j2eeserver/3 [1.1.1 200404071636]
	org.netbeans.modules.debugger.jpda/1 [1.17.1 200404071636]
	org.netbeans.api.web.dd/1 [1.1.1 1.0 200404071636]
	org.netbeans.libs.xerces/1 [1.4.1 2.6.0]
	org.netbeans.modules.tomcat5/1 [1.0.1 200404071636]
	org.netbeans.modules.db/1 [1.8.1 200404071636]
	org.openide.deprecated [1.3.1 200404071636]
	org.netbeans.core.deprecated [1.3.1 200404071636]
	com.hp.openvms.netbeans.dclsupport/1 [3.6.0.5 3.6.0.5 200504261323]
	com.compaq.openvms.netbeans.cppsupport/1 [3.6.0.1 3.6.0.1 
200504261323]
	org.netbeans.modules.servletapi24/1 [2.0.1 2.0.1 200404071636]
	org.apache.tools.ant.module/3 [3.6.1 200404071636]
	org.netbeans.modules.web.jspparser/2 [2.0.1 200404071636]
	org.netbeans.modules.servletapi/1 [1.3.1 200404071636]
	org.openidex.util/2 [2.7.1 200404071636]
	org.netbeans.modules.utilities/1 [1.15.1 200404071636]
	org.netbeans.modules.autoupdate/1 [2.8.1 200404071636]
	org.netbeans.modules.welcome/1 [1.5.1 200404071636]
	org.netbeans.modules.jarpackager/2 [1.14.1 200404071636]
	org.netbeans.modules.editor/1 [1.14.1 200404071636]
	org.netbeans.modules.diff/1 [1.7.1 200404071636]
	org.netbeans.modules.vcscore/1 [1.9.1 200404071636]
	org.netbeans.modules.vcs.advanced/1 [1.9.1 200404071636]
	org.netbeans.modules.vcs.profiles.pvcs/1 [1.3.1 200404071636]
	org.netbeans.modules.tasklist.docscan/2 [1.13.1.2653 3 200404071636]
	org.netbeans.lib.cvsclient/1 [1.8.1 200404071636]
	org.netbeans.modules.vcs.profiles.cvsprofiles/1 [1.3.1 200404071636]
	com.compaq.openvms.netbeans.cppsupport.editor/1 [3.6.0.1 3.6.0.1 
200504261323]
	org.netbeans.modules.properties/1 [1.11.1 200404071636]
	org.netbeans.modules.text/1 [1.12.1 200404071636]
	org.netbeans.modules.cvsclient/1 [2.0.1 200404071636]
	org.netbeans.modules.projects/1 [1.14.1 200404071636]
	org.netbeans.modules.css/2 [1.1.1.3.6.0 3.6.0 200404071636]
	org.netbeans.modules.httpserver/1 [1.13.1 200404071636]
	org.netbeans.modules.web.monitor/1 [1.9.1 200404071636]
	org.netbeans.modules.xml.core/2 [1.1.1.3.6.0 3.6.0 200404071636]
	org.netbeans.modules.xml.catalog/2 [1.1.1.3.6.0 3.6.0 200404071636]
	org.netbeans.modules.xml.text/2 [1.1.1.3.6.0 3.6.0 200404071636]
	org.netbeans.modules.junit/2 [2.11.1 200404071636]
	org.netbeans.modules.updatecenters/1 [1.0.1 200404071636]
	org.netbeans.modules.html/1 [1.12.1 200404071636]
	org.netbeans.modules.web.core.syntax/1 [1.13.1 200404071636]
	org.netbeans.modules.web.core/1 [1.17.1 200404071636]
	org.netbeans.modules.web.ie/1 [1.16.1 200404071636]
	org.netbeans.modules.vcs.cmdline.compat/1 [1.3.1 200404071636]
	org.netbeans.modules.web.debug/1 [2.0.1 200404071636]
	org.netbeans.modules.properties.syntax/1 [1.11 200404071636]
	org.netbeans.modules.group/1 [1.0.1 200404071636]
	org.netbeans.modules.image/1 [1.11.1 200404071636]
	org.netbeans.modules.usersguide/1 [1.13.1 200404071636]
	org.netbeans.modules.web.taglibed/1 [1.13.1.3.6.0 200404071636]
	org.netbeans.modules.form/2 [1.13.1 200404071636]
	org.netbeans.modules.tomcat5.bundled/1 [1.0.1 200404071636]
	org.netbeans.modules.xml.tax/2 [1.1.1.3.6.0 3.6.0 200404071636]
	org.netbeans.modules.xml.tools/2 [1.1.1.3.6.0 3.6.0 200404071636]
	org.netbeans.modules.applet/1 [1.14.1 200404071636]
	org.netbeans.modules.xsl/1 [1.1.1.3.6.0 3.6.0 200404071636]
	org.netbeans.modules.beans/1 [1.11.1 200404071636]
	org.netbeans.modules.extbrowser/1 [1.3.1 200404071636]
	org.netbeans.modules.i18n/1 [1.14.1 200404071636]
	org.netbeans.modules.xml.schema/1 [1.1.1.3.6.0 3.6.0 200404071636]
	org.netbeans.modules.i18n.form/2 [1.12 200404071636]
	org.netbeans.modules.javadoc/1 [1.11.1 200404071636]
	org.netbeans.modules.vcs.profiles.vss/1 [1.3.1 200404071636]
	com.compaq.openvms.netbeans.edtkeypad/1 [3.6 1.2]
	org.netbeans.modules.clazz/1 [1.13.1 200404071636]
*********** Exception occurred ************ at Mon Sep 12 11:21:32 CST 2005
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1444)
	at 
com.hp.openvms.netbeans.cppsupport.ccpp.CCppCompilerGroup$CCppFormat.calculateO
bjectDir(CCppCompilerGroup.java:149)
	at 
com.hp.openvms.netbeans.cppsupport.ccpp.CCppCompilerGroup$CCppFormat.composeCmd
s(CCppCompilerGroup.java:273)
	at 
com.hp.openvms.netbeans.cppsupport.ccpp.cpp.CppCompilerGroup$CppFormat.<init>
(CppCompilerGroup.java:146)
	at 
com.hp.openvms.netbeans.cppsupport.ccpp.cpp.CppCompilerGroup.createProcess
(CppCompilerGroup.java:120)
	at org.openide.compiler.ExternalCompilerGroup.createProcess
(ExternalCompilerGroup.java:114)
	at org.openide.compiler.CompilerExecutor$CERunnable.run
(CompilerExecutor.java:151)
[catch] at org.netbeans.core.execution.RunClassThread.run
(RunClassThread.java:125)
*********** Exception occurred ************ at Mon Sep 12 11:32:01 CST 2005
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1444)
	at 
com.hp.openvms.netbeans.cppsupport.ccpp.CCppCompilerGroup$CCppFormat.calculateO
bjectDir(CCppCompilerGroup.java:149)
	at 
com.hp.openvms.netbeans.cppsupport.ccpp.CCppCompilerGroup$CCppFormat.composeCmd
s(CCppCompilerGroup.java:273)
	at 
com.hp.openvms.netbeans.cppsupport.ccpp.cpp.CppCompilerGroup$CppFormat.<init>
(CppCompilerGroup.java:146)
	at 
com.hp.openvms.netbeans.cppsupport.ccpp.cpp.CppCompilerGroup.createProcess
(CppCompilerGroup.java:120)
	at org.openide.compiler.ExternalCompilerGroup.createProcess
(ExternalCompilerGroup.java:114)
	at org.openide.compiler.CompilerExecutor$CERunnable.run
(CompilerExecutor.java:151)
[catch] at org.netbeans.core.execution.RunClassThread.run
(RunClassThread.java:125)
*********** Exception occurred ************ at Mon Sep 12 11:32:05 CST 2005
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1444)
	at 
com.hp.openvms.netbeans.cppsupport.ccpp.CCppCompilerGroup$CCppFormat.calculateO
bjectDir(CCppCompilerGroup.java:149)
	at 
com.hp.openvms.netbeans.cppsupport.ccpp.CCppCompilerGroup$CCppFormat.composeCmd
s(CCppCompilerGroup.java:273)
	at 
com.hp.openvms.netbeans.cppsupport.ccpp.cpp.CppCompilerGroup$CppFormat.<init>
(CppCompilerGroup.java:146)
	at 
com.hp.openvms.netbeans.cppsupport.ccpp.cpp.CppCompilerGroup.createProcess
(CppCompilerGroup.java:120)
	at org.openide.compiler.ExternalCompilerGroup.createProcess
(ExternalCompilerGroup.java:114)
	at org.openide.compiler.CompilerExecutor$CERunnable.run
(CompilerExecutor.java:151)
[catch] at org.netbeans.core.execution.RunClassThread.run
(RunClassThread.java:125)
Comment 1 cailongli 2005-09-12 04:35:18 UTC
Created attachment 24684 [details]
ide.log
Comment 2 cailongli 2005-09-12 04:36:11 UTC
Created attachment 24685 [details]
ide.log
Comment 3 cailongli 2005-09-12 04:36:39 UTC
Created attachment 24686 [details]
ide.log
Comment 4 mgarrison 2005-09-13 13:44:17 UTC
Please provide the C/C++ source that causes this problem so we can reproduce 
and resolve.

Thanks!
Meg
Comment 5 koushik 2005-09-16 06:05:08 UTC
Mail correspondance on 14-Sep-2005 with submitter...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Hi,

    After going thru the log file, I have observed the following things.

     1.   You are using Window XP system.
     2.   Also you are not using Distributed NetBeans.


Due to the above reasons, the directory structure doesn’t match with OpenVMS 
directory structure and you received a crash.

I think this is an environmental problem.  

I can advise the user either you start NetBeans from OpenVMS environment or 
use the distributed NetBeans from your windows environment for getting access 
to his OpenVMS environment.

Please feel free to ask if you have any query regarding this issue.

Thanks and regards,
Koushik.

 
Comment 6 mgarrison 2005-09-16 11:58:01 UTC
Distributed NetBeans is an add-in to NetBeans that we (at HP OPenVMS) 
provide.  It allows you to use a non-VMS desktop to develop and maintain 
applications on a VMS machine.  It is free.

For information about Distributed NetBeans see
http://h71000.www7.hp.com/openvms/products/ips/netbeans/distnb.html