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.
Summary: | [68cat] LifecycleManager.markForRestart does not work on OpenJDK | ||
---|---|---|---|
Product: | ide | Reporter: | ulfzibis <ulfzibis> |
Component: | Import Settings | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | dynamite, jskrivanek, sourcewerks |
Priority: | P3 | Keywords: | JDK_SPECIFIC |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 168257 | ||
Attachments: |
Screenshot
messages log messages log 1 messages log 2 |
Happened on fresh installed RC2. What JDK, operating system do you use? Could you attach messages.log? 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" 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
Created attachment 92374 [details]
messages log 1
Created attachment 92375 [details]
messages log 2
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? Not offhand but I imagine it can be fixed somehow. 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. core-main #3a7124864695 core-main #3a7124864695 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. *** Bug 184879 has been marked as a duplicate of this bug. *** *** Bug 175259 has been marked as a duplicate of this bug. *** v/c |
Created attachment 92258 [details] Screenshot After comfirming "Restart now", nothing happens. After manually closing and restarting NB, import had succeded.