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 109326 - IDE restarts after closing
Summary: IDE restarts after closing
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-11 09:21 UTC by alex_w
Modified: 2007-11-06 15:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
My messages.log (26.08 KB, application/octet-stream)
2007-07-12 19:13 UTC, alex_w
Details
Selection (651.48 KB, application/octet-stream)
2007-07-13 07:57 UTC, alex_w
Details
Result (589.21 KB, application/octet-stream)
2007-07-13 07:58 UTC, alex_w
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alex_w 2007-07-11 09:21:16 UTC
Hi there,

as this is my first issue report let me thank you for your fantastic work so far. I'm starting with a P1 issue but the
problem is driving me insane and from a comment in Tor Norbyes's Weblog there might be other people affected. I've
searched the existing issues but could not find one matching my problem.

Each time I close the IDE it starts again. I have the same problem on two different PCs (home and work), one running on
Windows Vista, the other one Windows XP. Here is some information from one:
Product Version: NetBeans Ruby IDE 070710 Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP
version 5.1 running on x86; Cp1252; de_DE (nbrubyide)

I hope you can fix this, this is really nasty ;-)

Alex

P.S.: sorry for any mistakes in raising this issue
Comment 1 Torbjorn Norbye 2007-07-12 17:18:04 UTC
I -think- this is related to auto update (the startup script loops the VM to assist Auto Update in restarting after installing updates that require it, and 
something might be going wrong with the IDE exit value); reassigning for evaluation
Comment 2 Jiri Rechtacek 2007-07-12 17:38:07 UTC
Alex, could you check content of update/download directories either in your userdir and all clusters in your
installation directory, e.g. in my case /home/jirka/.netbeans/dev/update/download and
/space/builds/nb/platform7/update/download, /space/builds/nb/ide8/update/download, etc. Some of them probably contains
some NBMs which cannot install. Could you send them to me (mailto:jrechtacek@netbeans.org) or attach it. Maybe also you
messages.log. Thanks
Comment 3 alex_w 2007-07-12 18:53:54 UTC
\nbrubyide\platform7\update\download in installation directory is empty
\.nbrubyide\dev\update\download in my userdir is empty
I can't find any other download directories or NBMs.
I will attach messages.log, hopefully that helps.

The assumption about the auto update seems to be correct, I see a something blue with a text "...update center..." for a
split second when the IDE restarts.
Comment 4 alex_w 2007-07-12 19:13:46 UTC
Created attachment 45034 [details]
My messages.log
Comment 5 Jiri Rechtacek 2007-07-12 19:45:50 UTC
Thanks for messages.log. What about content of D:\Documents\wegener\Application Data\.nbrubyide\dev? In this directory
must be some update/download/<some-files> I guess. Please attach or send it.
Where did you download Ruby IDE? From http://deadlock.netbeans.org/hudson/job/ruby/ ? Could be describe steps to
reproduce the problem? Were you installing updates or some new plugins? Or manually downloaded NBMs? Or some other
important things? 
Thanks for your help.
Comment 6 Jiri Rechtacek 2007-07-12 19:48:54 UTC
Alex, I'm sorry I send you wrong directory I have meant C:\Ruby\Software\nbrubyide\nb6.0\update\directory.
Comment 7 alex_w 2007-07-13 07:56:53 UTC
Directory C:\Ruby\Software\nbrubyide\nb6.0\update\ contains only one directory. That is called download and it is empty.
It's the same with D:\Documents\wegener\Application Data\.nbrubyide\dev\update\download. That's empty too.

I've installed the IDE just on the 10th, so I'm pretty new with that. I've wiped the application and did some testing
and here's what's happened.

1. Downloaded netbeans-rubyide-hudson-2840.zip and unzipped it
2. Started IDE by executing C:\Ruby\Software\nbrubyide\bin\nbrubyide.exe
3. Closing IDE no problem, no restart
4. Install update to Base IDE (see attached screenshots)
5. IDE will always restart after this

I hope that helps you. If you need me test anything else let me know.

Comment 8 alex_w 2007-07-13 07:57:44 UTC
Created attachment 45052 [details]
Selection
Comment 9 alex_w 2007-07-13 07:58:20 UTC
Created attachment 45053 [details]
Result
Comment 10 Jiri Rechtacek 2007-07-13 15:04:18 UTC
Thanks for enough information. Now I'm able to reproduce on my config with nbrubyide. The problem is specific to
nbrubyide (maybe broken nbrubyide launcher maybe some other bug). I'm evaluating it...
Comment 11 Jiri Rechtacek 2007-07-14 15:00:30 UTC
Checking in libsrc/org/netbeans/updater/ModuleUpdater.java;
/shared/data/ccvs/repository/autoupdate/services/libsrc/org/netbeans/updater/ModuleUpdater.java,v  <--  ModuleUpdater.java
new revision: 1.8; previous revision: 1.7
done
Checking in libsrc/org/netbeans/updater/UpdateTracking.java;
/shared/data/ccvs/repository/autoupdate/services/libsrc/org/netbeans/updater/UpdateTracking.java,v  <--  UpdateTracking.java
new revision: 1.7; previous revision: 1.6
done
Comment 12 Jaromir Uhrik 2007-11-06 15:20:19 UTC
Marking this issue as verified.