| Error while updating RCP app through Eclipse Update Framework [message #330974] | 
Wed, 20 August 2008 03:52   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi All... 
 
My update action code is like... 
 
public void run() { 
				BusyIndicator.showWhile(window.getShell().getDisplay(), 
						new Runnable(){ 
					public void run() { 
						UpdateJob job = new UpdateJob("Searching for Updates", false, false); 
						UpdateManagerUI.openInstaller(window.getShell(), job); 
					} 
 
				}); 
			} 
 
and I am getting error like  
 
"Errors while parsing update policy [The entity name must immediately  
follow the '&' in the entity reference.] 
The entity name must immediately follow the '&' in the entity reference. 
" 
 
the log entry... 
 
!SESSION 2008-08-20 13:11:37.953  
----------------------------------------------- 
eclipse.buildId=unknown 
java.version=1.5.0_09 
java.vendor=Sun Microsystems Inc. 
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US 
Command-line arguments:  -os win32 -ws win32 -arch x86 
 
!ENTRY org.eclipse.update.core 4 0 2008-08-20 13:13:09.984 
!MESSAGE Errors while parsing update policy [The entity name must  
immediately follow the '&' in the entity reference.] 
!STACK 0 
org.xml.sax.SAXParseException: The entity name must immediately follow the  
'&' in the entity reference. 
	at  
 com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(D OMParser.java:264) 
	at  
 com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(DocumentBuilderImpl.java:292) 
	at  
 org.eclipse.update.internal.search.UpdatePolicy.load(UpdateP olicy.java:122) 
	at  
 org.eclipse.update.internal.operations.UpdateUtils.loadUpdat ePolicy(UpdateUtils.java:534) 
	at  
 org.eclipse.update.search.UpdateSearchRequest.performSearch( UpdateSearchRequest.java:272) 
	at  org.eclipse.update.ui.UpdateJob.runUpdates(UpdateJob.java:20 7) 
	at org.eclipse.update.ui.UpdateJob.run(UpdateJob.java:168) 
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) 
 
What 'll be the fix? 
 
Thanks, 
-arun
 |  
 |  
  | 
 | 
 | 
 | 
Powered by 
FUDForum. Page generated in 0.03334 seconds