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.
Regression was introduced while fixing bug #204214
It seems changes in the: http://hg.netbeans.org/core-main/rev/6dc6517ce7bc are wrong on Solaris 10
Alexander, could you past of output when starting IDE on Sol10? Thanks
I tried the latest daily build and NetBeans successfully launched. OS: SunOS unknown 5.10 Generic_147148-26 i86pc i386 i86pc
(In reply to comment #4) > I tried the latest daily build and NetBeans successfully launched. > > OS: SunOS unknown 5.10 Generic_147148-26 i86pc i386 i86pc Bug about "OSS IDE does not start in Netbeans IDE". You are right: Netbeans IDE successfully starts in Netbeans IDE
Sorry, I realized that my first comment missed. So... I'm trying to start OSS IDE (Oracle Solaris Studio IDE based on Netbeans platform) from Netbeans IDE, info: Product Version: NetBeans IDE 7.3.1 RC (Build 20130521-abccacf64976) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: SunOS version 5.10 running on x86; ISO646-US; en (nb) Since May 13 I cannot start IDE. The roll backing of change set: http://hg.netbeans.org/core-main/rev/6dc6517ce7bc fixes the problem. IMHO changes: - if echo $jargs | grep -v -- "-XX:HeapDumpPath=" > /dev/null ; then + if ! echo $jargs | grep -s -- "-XX:HeapDumpPath=" ; then - if echo "$paths" | fgrep -v "$subpath$subx" > /dev/null ; then + if ! echo "$paths" | egrep -s "$subpath$subx" ; then looks suspicious from sh POSIX syntax point of view. As result NB cannot start OSS IDE.
Created attachment 134777 [details] run log Attachment contains run log with additional "set -x" in the nbexec. Short log is: build: suite.run: run.run: /export/home/as204739/cnd-main/nbbuild/netbeans/platform/lib/nbexec: !: not found /export/home/as204739/cnd-main/nbbuild/netbeans/platform/lib/nbexec: !: not found /export/home/as204739/cnd-main/nbbuild/netbeans/platform/lib/nbexec: !: not found /export/home/as204739/cnd-main/nbbuild/netbeans/platform/lib/nbexec: !: not found /export/home/as204739/cnd-main/nbbuild/netbeans/platform/lib/nbexec: !: not found Error: Could not find or load main class org.netbeans.Main Result: 1
(In reply to comment #6) > Sorry, I realized that my first comment missed. > So... > I'm trying to start OSS IDE (Oracle Solaris Studio IDE based on Netbeans > platform) from Netbeans IDE, info: > > Product Version: NetBeans IDE 7.3.1 RC (Build 20130521-abccacf64976) 7.3.1 RC should not contain the changeset 6dc6517ce7bc, it was in applied in trunk only. > Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 > Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 > System: SunOS version 5.10 running on x86; ISO646-US; en (nb) > > Since May 13 I cannot start IDE. > The roll backing of change set: > http://hg.netbeans.org/core-main/rev/6dc6517ce7bc > fixes the problem. > IMHO changes: > > - if echo $jargs | grep -v -- "-XX:HeapDumpPath=" > /dev/null ; then > + if ! echo $jargs | grep -s -- "-XX:HeapDumpPath=" ; then > - if echo "$paths" | fgrep -v "$subpath$subx" > /dev/null ; then > + if ! echo "$paths" | egrep -s "$subpath$subx" ; then > > looks suspicious from sh POSIX syntax point of view. > As result NB cannot start OSS IDE.
(In reply to comment #8) > (In reply to comment #6) > > Sorry, I realized that my first comment missed. > > So... > > I'm trying to start OSS IDE (Oracle Solaris Studio IDE based on Netbeans > > platform) from Netbeans IDE, info: > > > > Product Version: NetBeans IDE 7.3.1 RC (Build 20130521-abccacf64976) > 7.3.1 RC should not contain the changeset 6dc6517ce7bc, it was in applied in > trunk only. I'm right - release73 branch doesn't contain it - see http://hg.netbeans.org/releases/file/6bad519406f5/o.n.bootstrap/launcher/unix/nbexec It might be a problem in trunk only.(In reply to comment #5) > (In reply to comment #4) > > I tried the latest daily build and NetBeans successfully launched. > > > > OS: SunOS unknown 5.10 Generic_147148-26 i86pc i386 i86pc > > Bug about "OSS IDE does not start in Netbeans IDE". > You are right: Netbeans IDE successfully starts in Netbeans IDE I'm sorry. I don't understand this comment. The IDE uses nbexec for launch so if there is a problem with syntax it must affect the start of IDE. The report became a little confusing for me. Please, describe the exact steps to reproduce it.
Again: I use 7.3.1 RC as a working IDE. I open in the working IDE: - NB trunk sources - OSS suite that build on NB trunk platform I start OSS suite in the working IDE. So your comment #8 is not relevant to the problem.
Created attachment 134781 [details] a script Could you run the attached script: # ./x.sh AAA BBB and check the result. It works on -bash-3.00$ uname -a SunOS hovnival.czech.sun.com 5.10 Generic_142901-13 i86pc i386 i86pc What is the output on your Solaris?
(In reply to comment #11) > Created attachment 134781 [details] > a script > > Could you run the attached script: > # ./x.sh AAA BBB > and check the result. It works on -bash-3.00$ uname -a > SunOS hovnival.czech.sun.com 5.10 Generic_142901-13 i86pc i386 i86pc > > What is the output on your Solaris? Script prints: {2} bash-3.00#./test.sh AAA BBB AAA does not contain BBB if change first line to #!/bin/sh script prints: {2} bash-3.00#./test.sh AAA BBB ./test.sh: !: not found
http://hg.netbeans.org/core-main/rev/0355f3115a1b
Integrated into 'main-golden', will be available in build *201305292301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0355f3115a1b User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #230098: Cannot start IDE based on NB platform on Solaris 10