Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 234410 - Malformed URLException from Directory Watcher
Summary: Malformed URLException from Directory Watcher
Status: RESOLVED DUPLICATE of bug 229100
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-28 12:02 EDT by Susan McCourt CLA
Modified: 2008-05-28 12:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2008-05-28 12:02:14 EDT
Running I20080526-2000 + latest p2 from HEAD on 5/28/2008

I unzipped an old EMF download I had lying around and tried to add it as a local site.  The file was emf-sdo-xsd-SDK-N200803251300.zip.  I can provide the file if it can't be gotten from an archive somewhere.

It generated metadata and seems to show correct content, but it spewed this MalformedURLException 6 times to the log.   

Sorry if this is a dup, I think I've seen something go by like this but am in the middle of debugging and didn't find it on first glance.

!ENTRY org.eclipse.equinox.p2.directorywatcher 2 0 2008-05-28 08:57:37.937
!MESSAGE Feature references invalid site: org.eclipse.xsd.source
!STACK 0
java.net.MalformedURLException: no protocol: %XSDUpdateSiteName
	at java.net.URL.<init>(URL.java:537)
	at java.net.URL.<init>(URL.java:434)
	at java.net.URL.<init>(URL.java:383)
	at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.publishSite(RepositoryListener.java:105)
	at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.publishSites(RepositoryListener.java:94)
	at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.generateFeatureIUs(RepositoryListener.java:403)
	at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.generateIUs(RepositoryListener.java:382)
	at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.synchronizeMetadataRepository(RepositoryListener.java:295)
	at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.stopPoll(RepositoryListener.java:259)
	at org.eclipse.equinox.internal.provisional.p2.directorywatcher.DirectoryWatcher.stopPoll(DirectoryWatcher.java:172)
	at org.eclipse.equinox.internal.provisional.p2.directorywatcher.DirectoryWatcher.poll(DirectoryWatcher.java:109)
	at org.eclipse.equinox.internal.p2.extensionlocation.ExtensionLocationMetadataRepository.ensureInitialized(ExtensionLocationMetadataRepository.java:72)
	at org.eclipse.equinox.internal.p2.extensionlocation.ExtensionLocationMetadataRepository.query(ExtensionLocationMetadataRepository.java:101)
	at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchChildren(RemoteQueriedElement.java:60)
	at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:39)
	at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 John Arthorne CLA 2008-05-28 12:19:37 EDT
These are valid exceptions being logged, due to a bug in PDE build which has since been fixed.

*** This bug has been marked as a duplicate of bug 229100 ***