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 151196 - IDE refuses to start
Summary: IDE refuses to start
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-23 18:46 UTC by sreque
Modified: 2008-12-22 10:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sreque 2008-10-23 18:46:30 UTC
I just pulled the latest code from the netbeans mercurial repository and the IDE no longer starts after recompiling. I
tried removing the dev/ folder in my ~/.netbeans home directory. Afterwards, when I started netbeans an empty and
unresponsive license agreement dialog showed up. The only reason I know it is a license agreement window is because of
the window title visible, otherwise it is just an empty window.
Comment 1 Lukas Hasik 2008-10-23 20:57:39 UTC
that's strange. Could you provide more info? Sources from what repository, what is tip CS, have you clean&build, what is
your jdk, OS, etc. Do you use Compiz?
Comment 2 sreque 2008-10-24 14:52:52 UTC
I have tried recompiling 3 times, once by doing a clean first. hg tip yields the following:

changeset:   106565:cfb6d6cc9e4a
tag:         tip
parent:      106562:322d8320390b
parent:      106564:f6a1fcd62456
user:        Marian Petras <mpetras@netbeans.org>
date:        Thu Oct 23 18:40:08 2008 +0200
summary:     Automated merge with http://hg.netbeans.org/main/


I do not know why the user says Marian Petras :). Does the above output answer the question of what repository the code
came from? I compiled with jdk1.5.0_16, though my java runtime is from jdk1.6.0_04. I am running linux x86 Ubuntu 8.04.
In the meantime I downloaded 6.5rc1 and it runs very well on my machine. Finally, I do not know what Compiz is, so I'm
assuming I'm not using it. Let me know if there's any other information I could provide.
Comment 3 Lukas Hasik 2008-10-24 15:27:13 UTC
thank you for info. It didn't help to find the cause however we know that oyu work on latest trunk sources.
The http://wiki.netbeans.org/WorkingWithNetBeansSources recommends jdk1.5.0_14 for compilation, could you try to compile
with this jdk? And try to update&clean your sources. 
Could you check messages.log in your <nb_User_dir>/var/log ?
HTH
Comment 4 sreque 2008-10-24 17:05:46 UTC
How frustrating! So the problem was that on October 23, Ubuntu pushed an update to g++, which in turn seemed to update
dependent packages, including gjc. Whenver gjc is updated, it overwrites the sym links I have to point to gcj instead of
jdk6. I normally recreate the sym links after after a gjc update, but did not expect anything with a g++ update. Once I
recreated the sym links the IDE started just fine. It seems strange to me that 6.5rc1 ran fine under gcj while netbeans
built from source would freeze enigmatically, but I really don't care whether netbeans works for gjc or not.