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 178288 - [68cat] LifecycleManager.markForRestart does not work on OpenJDK
Summary: [68cat] LifecycleManager.markForRestart does not work on OpenJDK
Status: CLOSED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Import Settings (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: JDK_SPECIFIC
: 175259 184879 (view as bug list)
Depends on:
Blocks: 168257
  Show dependency tree
 
Reported: 2009-12-08 04:58 UTC by ulfzibis
Modified: 2011-06-09 09:57 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (45.55 KB, image/png)
2009-12-08 04:58 UTC, ulfzibis
Details
messages log (32.70 KB, text/plain)
2009-12-10 02:18 UTC, ulfzibis
Details
messages log 1 (49.61 KB, text/plain)
2009-12-10 02:19 UTC, ulfzibis
Details
messages log 2 (35.70 KB, text/plain)
2009-12-10 02:21 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2009-12-08 04:58:18 UTC
Created attachment 92258 [details]
Screenshot

After comfirming "Restart now", nothing happens.

After manually closing and restarting NB, import had succeded.
Comment 1 ulfzibis 2009-12-08 04:59:07 UTC
Happened on fresh installed RC2.
Comment 2 Jiri Skrivanek 2009-12-08 05:02:57 UTC
What JDK, operating system do you use? Could you attach messages.log?
Comment 3 ulfzibis 2009-12-09 02:28:20 UTC
Today I only have little information, as I'm out of office.

JDK: 1.6.0 (not sure about build, but downloaded 2 weeks ago)
Linux: Ubuntu 9.10, but running on KDE from "sudo apt-get install kubuntu-desktop"
Comment 4 ulfzibis 2009-12-10 02:18:43 UTC
Created attachment 92373 [details]
messages log

Product Version: NetBeans IDE 6.8 RC2 (Build 200912022200)
Java: 1.6.0_0; OpenJDK Client VM 14.0-b16
System: Linux version 2.6.31-15-generic running on i386; UTF-8; de_DE (nb)
Userdir: /home/ulf/.netbeans/6.8rc2
Comment 5 ulfzibis 2009-12-10 02:19:40 UTC
Created attachment 92374 [details]
messages log 1
Comment 6 ulfzibis 2009-12-10 02:21:38 UTC
Created attachment 92375 [details]
messages log 2
Comment 7 Jiri Skrivanek 2009-12-10 04:07:58 UTC
It fails because of

java.lang.UnsupportedOperationException: cannot restart in JNLP mode
	at org.netbeans.core.startup.ModuleLifecycleManager.markForRestart(ModuleLifecycleManager.java:97)
	at org.netbeans.core.NbTopManager$NbLifecycleManager.markForRestart(NbTopManager.java:576)
	at org.netbeans.modules.options.export.OptionsChooserPanel.showImportDialog(OptionsChooserPanel.java:229)

Jesse, you added a check for javax.jnlp.BasicService class in issue 168257. It seems this class is loaded when using OpenJDK. Do you know how to check better?
Comment 8 Jesse Glick 2009-12-10 06:01:36 UTC
Not offhand but I imagine it can be fixed somehow.
Comment 9 ulfzibis 2009-12-10 07:30:29 UTC
Additionally on 1st start of RC2 I had again bug 174153.
The import dialogue was such big, that I saw only a grey area without head or bottom, so I couldn't select "No". I only could hit Return, the default behaviour was executed (IIRC this is "Yes" to import from 6.7.1).
Maybe there is some relation.
Comment 10 Jesse Glick 2010-03-11 12:01:31 UTC
core-main #3a7124864695
Comment 11 Jesse Glick 2010-03-11 12:07:24 UTC
core-main #3a7124864695
Comment 12 Quality Engineering 2010-03-12 04:24:42 UTC
Integrated into 'main-golden', will be available in build *201003120200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3a7124864695
User: Jesse Glick <jglick@netbeans.org>
Log: #178288: different check for whether we can restart or not.
Comment 13 Jesse Glick 2010-10-01 14:09:33 UTC
*** Bug 184879 has been marked as a duplicate of this bug. ***
Comment 14 Jaroslav Tulach 2011-04-15 11:14:46 UTC
*** Bug 175259 has been marked as a duplicate of this bug. ***
Comment 15 Marian Mirilovic 2011-06-09 09:57:32 UTC
v/c