|
Re: Production Configuration & Update Manager Errors [message #459645 is a reply to message #459192] |
Tue, 05 December 2006 14:13 |
Frédéric ESNAULT Messages: 2 Registered: July 2009 |
Junior Member |
|
|
Hi,
I am facing a similar problem.
The product configuration manager doesn't show install location of my
product and the update manager seems to ignore it as well. Thus I can't
install any feature from the update manager (I have 'foo' displayed as
target directory and can't change it to the appropriate one).
I've just read a few comments on the way to manage an external product
configuration, with a directory containing a .eclipseextension file. My
feeling is that the update manager and product configuration manager are
expecting this type of structure while I just want to use the basic
default location with a .eclipseproduct file.
Anybody have an idea of what is happening ? I've just exported my
product thanks to the product export wizard and I can't understand why
this location cannot be the default install location (as it behaves in
Eclipse IDE)...
Frédéric
Brian Price a écrit :
> I have developed an Eclipse RCP application and trying to use the update
> manager to keep it up-to-date.
>
> For starters, when I navigate to Software Updates -> Management
> Extension page, the product listed does not have any tree nodes
> displayed, just the root (no matter what toggles are set). I click on
> Scan for Updates link, I get the message "The current configuration
> contains errors and this operation can have unpredictable results. Do
> you want to continue?"
>
> I click Yes to continue and it displays a error dialog: "an internal
> error occurred during: Update Manager". If I scan for updates twice, it
> finally gives a more detaled message: "An internal error occurred
> during: 'Update Manager'. / by zero".
>
> The product runs fine in all other regards, but the update manager does
> not work properly, I am guessing as a result of the above problem.
>
> Where I need your help is to understand how to determine the root cause
> as to why eclipse thinks that the configuration contains errors? What
> should a standard configuration look like? How do I determine this?
>
> Thank you for your help!
>
> Brian
>
|
|
|
|
|
Re: Production Configuration & Update Manager Errors [message #465157 is a reply to message #459645] |
Fri, 23 March 2007 17:48 |
Eclipse User |
|
|
|
Originally posted by: rjl.mm.com
I, too, had the same problem with updates on customer machines for my product. When they tried to update their software from my update site, they successfully navigated through the update wizard, but the target location on the location page showed 'foo' as the install location.
I was graciously allowed to use remote desktop to connect to this customer's machine and found that an over-zealous administrator had denied various access permissions on some specific directories for some users, including the directory where my software was installed.
I tried a test of installing my software in 'c:\test' and was successful in updating it.
I have to admit that I'm not an expert on Windoze domain user security but I asked the administrator to look into this in more gory detail.
I'm chaulking this problem up to some too-tight security on the computer system. Exactly what is needed and where is unknown, but unfortunately I need to move on to developing other features.....
|
|
|
Re: Production Configuration & Update Manager Errors [message #465163 is a reply to message #459192] |
Fri, 23 March 2007 19:59 |
No real name Messages: 38 Registered: July 2009 |
Member |
|
|
Okay, more information. I have the same problem if I select 'Scan for
Updates' from the update configuration screen. I'm using version 3.2.1.
Note that updates work if I just use the normal Find n Install... action.
Here's what the workspace/.log file displays:
!MESSAGE An internal error occurred during: "Update Manager".
!STACK 0
java.lang.ArithmeticException: / by zero
at
org.eclipse.update.internal.ui.views.FindUpdatesAction$TrackingProgressMonitor.updateStatus(FindUpdatesAction.java:73)
at
org.eclipse.update.internal.ui.views.FindUpdatesAction$TrackingProgressMonitor.beginTask(FindUpdatesAction.java:53)
at
org.eclipse.update.search.UpdateSearchRequest.performSearch(UpdateSearchRequest.java:267)
at org.eclipse.update.ui.UpdateJob.runUpdates(UpdateJob.java:207)
at org.eclipse.update.ui.UpdateJob.run(UpdateJob.java:168)
at
org.eclipse.update.internal.ui.views.FindUpdatesAction$TrackedUpdateJob.run(FindUpdatesAction.java:93)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Actually looking at the code from eclipse, sure enough line 73 of
FindUpdatesAction.java looks like:
String perc = ((int) (workSoFar * 100.0) / totalWork) + "";
The 'totalWork' variable is passed in (effectively) from line 267 of
UpdateSearchRequest.java.
This is a bug in the Eclipse update manager code. 1) There's no
protection around this expression; and 2) the caller is passing in '0'
for total work to do.
Brian Price wrote:
> I have developed an Eclipse RCP application and trying to use the update
> manager to keep it up-to-date.
>
> For starters, when I navigate to Software Updates -> Management
> Extension page, the product listed does not have any tree nodes
> displayed, just the root (no matter what toggles are set). I click on
> Scan for Updates link, I get the message "The current configuration
> contains errors and this operation can have unpredictable results. Do
> you want to continue?"
>
> I click Yes to continue and it displays a error dialog: "an internal
> error occurred during: Update Manager". If I scan for updates twice, it
> finally gives a more detaled message: "An internal error occurred
> during: 'Update Manager'. / by zero".
>
> The product runs fine in all other regards, but the update manager does
> not work properly, I am guessing as a result of the above problem.
>
> Where I need your help is to understand how to determine the root cause
> as to why eclipse thinks that the configuration contains errors? What
> should a standard configuration look like? How do I determine this?
>
> Thank you for your help!
>
> Brian
>
|
|
|
Powered by
FUDForum. Page generated in 0.05498 seconds