Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » NoSuchMethodError: OfflineMode.setEnabled() since update
NoSuchMethodError: OfflineMode.setEnabled() since update [message #1497254] Wed, 03 December 2014 17:27 Go to next message
Abel Hegedus is currently offline Abel HegedusFriend
Messages: 197
Registered: September 2015
Senior Member
Since the last update (my installer says Build 689), I cannot run the setup of any deployed Eclipse, the following error is logged after clicking Next on the wizard with the list of task to be executed. The next wizard page is completely empty and the setup stops, with Finish enabled but clicking it does nothing.

!ENTRY org.eclipse.jface 4 2 2014-12-03 18:11:27.824
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.oomph.util.OfflineMode.setEnabled(Z)Z
	at org.eclipse.oomph.setup.internal.core.AbstractSetupTaskContext.setOffline(AbstractSetupTaskContext.java:125)
	at org.eclipse.oomph.setup.ui.wizards.ConfirmationPage.leavePage(ConfirmationPage.java:384)
	at org.eclipse.oomph.setup.ui.wizards.SetupWizard.pageChanged(SetupWizard.java:269)
	at org.eclipse.jface.wizard.WizardDialog$9.run(WizardDialog.java:1594)


Is this related to http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/commit/?id=7863d2c2da769aa3d333507315824929c2ad5a08 ?
Is there any workaround?

Thanks!
Re: NoSuchMethodError: OfflineMode.setEnabled() since update [message #1498192 is a reply to message #1497254] Thu, 04 December 2014 08:34 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Hi Abel,

It seems I have introduced this problem with commit 1ae5eb2cdbc2f40b0b66fb899627e62f008b340e:

[453472] Let OfflineMode.setEnabled() return the old enablement value
https://bugs.eclipse.org/bugs/show_bug.cgi?id=453472

I got the same message and I could make no sense out of it. So I reverted that change in commit
7863d2c2da769aa3d333507315824929c2ad5a08 and I thought now the weird problem should be gone. The revert is almost a week
ago (Nov 28), but then it seemed that Eclipse's signing service was down over the last weekend and we didn't get signed
nightly builds promoted. Could it be that your problem goes away if you try to update again? Hmm, probably not; I see
that you're already updated to build 689. I just updated from 679 to 690 and I don't have that problem.

I think the root cause must be that plugins org.eclipse.oomph.util and org.eclipse.oomph.setup.core are updated at a
different/oinconsistent pace. No idea, yet, why that is ;-(

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 03.12.2014 um 18:27 schrieb Abel Hegedus:
> Since the last update (my installer says Build 689), I cannot run the setup of any deployed Eclipse, the following
> error is logged after clicking Next on the wizard with the list of task to be executed. The next wizard page is
> completely empty and the setup stops, with Finish enabled but clicking it does nothing.
>
>
> !ENTRY org.eclipse.jface 4 2 2014-12-03 18:11:27.824
> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> !STACK 0
> java.lang.NoSuchMethodError: org.eclipse.oomph.util.OfflineMode.setEnabled(Z)Z
> at org.eclipse.oomph.setup.internal.core.AbstractSetupTaskContext.setOffline(AbstractSetupTaskContext.java:125)
> at org.eclipse.oomph.setup.ui.wizards.ConfirmationPage.leavePage(ConfirmationPage.java:384)
> at org.eclipse.oomph.setup.ui.wizards.SetupWizard.pageChanged(SetupWizard.java:269)
> at org.eclipse.jface.wizard.WizardDialog$9.run(WizardDialog.java:1594)
>
>
> Is this related to
> http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/commit/?id=7863d2c2da769aa3d333507315824929c2ad5a08 ?
> Is there any workaround?
>
> Thanks!


Re: NoSuchMethodError: OfflineMode.setEnabled() since update [message #1498203 is a reply to message #1498192] Thu, 04 December 2014 08:44 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
I also just tested with a fresh installer download (build 690) and couldn't reproduce the problem. Can you try that,
please, and tell me how that goes?

Before you try that, please make a screenshot of your old installer's About dialog and let me see it. Mine looked strange...

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 04.12.2014 um 09:34 schrieb Eike Stepper:
> Hi Abel,
>
> It seems I have introduced this problem with commit 1ae5eb2cdbc2f40b0b66fb899627e62f008b340e:
>
> [453472] Let OfflineMode.setEnabled() return the old enablement value
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=453472
>
> I got the same message and I could make no sense out of it. So I reverted that change in commit
> 7863d2c2da769aa3d333507315824929c2ad5a08 and I thought now the weird problem should be gone. The revert is almost a
> week ago (Nov 28), but then it seemed that Eclipse's signing service was down over the last weekend and we didn't get
> signed nightly builds promoted. Could it be that your problem goes away if you try to update again? Hmm, probably not;
> I see that you're already updated to build 689. I just updated from 679 to 690 and I don't have that problem.
>
> I think the root cause must be that plugins org.eclipse.oomph.util and org.eclipse.oomph.setup.core are updated at a
> different/oinconsistent pace. No idea, yet, why that is ;-(
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
> Am 03.12.2014 um 18:27 schrieb Abel Hegedus:
>> Since the last update (my installer says Build 689), I cannot run the setup of any deployed Eclipse, the following
>> error is logged after clicking Next on the wizard with the list of task to be executed. The next wizard page is
>> completely empty and the setup stops, with Finish enabled but clicking it does nothing.
>>
>>
>> !ENTRY org.eclipse.jface 4 2 2014-12-03 18:11:27.824
>> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
>> !STACK 0
>> java.lang.NoSuchMethodError: org.eclipse.oomph.util.OfflineMode.setEnabled(Z)Z
>> at org.eclipse.oomph.setup.internal.core.AbstractSetupTaskContext.setOffline(AbstractSetupTaskContext.java:125)
>> at org.eclipse.oomph.setup.ui.wizards.ConfirmationPage.leavePage(ConfirmationPage.java:384)
>> at org.eclipse.oomph.setup.ui.wizards.SetupWizard.pageChanged(SetupWizard.java:269)
>> at org.eclipse.jface.wizard.WizardDialog$9.run(WizardDialog.java:1594)
>>
>>
>> Is this related to
>> http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/commit/?id=7863d2c2da769aa3d333507315824929c2ad5a08 ?
>> Is there any workaround?
>>
>> Thanks!
>


Re: NoSuchMethodError: OfflineMode.setEnabled() since update [message #1498227 is a reply to message #1498203] Thu, 04 December 2014 09:03 Go to previous messageGo to next message
Abel Hegedus is currently offline Abel HegedusFriend
Messages: 197
Registered: September 2015
Senior Member
Hi Eike,

thanks for the help!

The screenshot of the About window looks like this: https://www.dropbox.com/s/w56d1zdf0847fdm/Screenshot%202014-12-04%2009.59.12.png?dl=0

I'm also attaching the file for future reference.
index.php/fa/20137/0/

I will try with a fresh download of the installer and report on the results.
Re: NoSuchMethodError: OfflineMode.setEnabled() since update [message #1498257 is a reply to message #1498227] Thu, 04 December 2014 09:26 Go to previous messageGo to next message
Abel Hegedus is currently offline Abel HegedusFriend
Messages: 197
Registered: September 2015
Senior Member
Unfortunately, the new installer does the same for me. I have attached the logs for both the setup and workspace.

What else should I look at to help with the investigation?
  • Attachment: .log
    (Size: 8.25KB, Downloaded 97 times)
  • Attachment: setup.log
    (Size: 154.58KB, Downloaded 85 times)
Re: NoSuchMethodError: OfflineMode.setEnabled() since update [message #1498280 is a reply to message #1498257] Thu, 04 December 2014 09:48 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Am 04.12.2014 um 10:26 schrieb Abel Hegedus:
> Unfortunately, the new installer does the same for me. I have attached the logs for both the setup and workspace.
>
> What else should I look at to help with the investigation?
I wonder if this is the result of some Eclipse mirror servers not being up to date. Can you try again and download the
installer from the Main Download Site in Canada?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: NoSuchMethodError: OfflineMode.setEnabled() since update [message #1498293 is a reply to message #1498280] Thu, 04 December 2014 10:00 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Another thought why it might work for me; I have this in my user.setup:

<?xml version="1.0" encoding="UTF-8"?>
<setup:RedirectionTask
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
sourceURL="http://download.eclipse.org/oomph/latest"
targetURL="http://hudson.eclipse.org/oomph/job/integration/lastSuccessfulBuild/artifact"/>

That makes Oomph install its own plugins directly from the Hudson build server (unsigned, slow download, not mirrored),
and not from the download server.

Does that change anything for you?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: NoSuchMethodError: OfflineMode.setEnabled() since update [message #1498311 is a reply to message #1497254] Thu, 04 December 2014 10:12 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Please let's continue the discussion of this problem in https://bugs.eclipse.org/bugs/show_bug.cgi?id=453513

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Am 03.12.2014 um 18:27 schrieb Abel Hegedus:
> Since the last update (my installer says Build 689), I cannot run the setup of any deployed Eclipse, the following
> error is logged after clicking Next on the wizard with the list of task to be executed. The next wizard page is
> completely empty and the setup stops, with Finish enabled but clicking it does nothing.
>
>
> !ENTRY org.eclipse.jface 4 2 2014-12-03 18:11:27.824
> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> !STACK 0
> java.lang.NoSuchMethodError: org.eclipse.oomph.util.OfflineMode.setEnabled(Z)Z
> at org.eclipse.oomph.setup.internal.core.AbstractSetupTaskContext.setOffline(AbstractSetupTaskContext.java:125)
> at org.eclipse.oomph.setup.ui.wizards.ConfirmationPage.leavePage(ConfirmationPage.java:384)
> at org.eclipse.oomph.setup.ui.wizards.SetupWizard.pageChanged(SetupWizard.java:269)
> at org.eclipse.jface.wizard.WizardDialog$9.run(WizardDialog.java:1594)
>
>
> Is this related to
> http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/commit/?id=7863d2c2da769aa3d333507315824929c2ad5a08 ?
> Is there any workaround?
>
> Thanks!


Previous Topic:Setup Mylyn Query connector trac Edgewall
Next Topic:Checksum links for downloads didn't match
Goto Forum:
  


Current Time: Sun Dec 08 08:35:12 GMT 2024

Powered by FUDForum. Page generated in 0.03899 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top