[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [p2-dev] Re: Lots of errors in my error log

Ciao @ll :)
Get a lot of NLS related errors in M7:

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:57.190
!MESSAGE NLS unused message: io_invalidLocation in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:58.471
!MESSAGE NLS unused message: io_failedWrite in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:58.612
!MESSAGE NLS unused message: mirror_alreadyExists in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:58.612
!MESSAGE NLS unused message: message_mirroringStatus in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:58.612
!MESSAGE NLS unused message: message_childrenRepos in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:58.612
!MESSAGE NLS unused message: exception_comparatorNotFound in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:58.612
!MESSAGE NLS unused message: exception_noComparators in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:58.612
!MESSAGE NLS unused message: exception_destinationNotModifiable in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:59.331
!MESSAGE NLS unused message: exception_needSourceDestination in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:59.331
!MESSAGE NLS unused message: exception_malformedRepoURI in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:59.331
!MESSAGE NLS unused message: Mirroring_NO_MATCHING_DESCRIPTOR in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:59.393
!MESSAGE NLS unused message: Mirroring_MISSING_DESCRIPTOR in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:59.393
!MESSAGE NLS unused message: Mirroring_DIFFERENT_DESCRIPTOR_PROPERTY in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:59.393
!MESSAGE NLS unused message: Mirroring_ValidationError in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:59.456
!MESSAGE NLS unused message: Mirroring_compareAndDownload in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:59.456
!MESSAGE NLS unused message: MirrorLog_Console_Log in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:59.456
!MESSAGE NLS unused message: MirrorLog_Exception_Occurred in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:05:59.753
!MESSAGE NLS unused message: MirrorRequest_multipleDownloadProblems in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:00.362
!MESSAGE NLS unused message: exception_unsupportedAddToComposite in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:00.362
!MESSAGE NLS unused message: exception_unsupportedGetOutputStream in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:00.362
!MESSAGE NLS unused message: exception_unsupportedRemoveFromComposite
in: org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:01.221
!MESSAGE NLS unused message: exception_unableToCreateParentDir in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:01.221
!MESSAGE NLS unused message: folder_artifact_not_file_repo in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:01.221
!MESSAGE NLS unused message: retryRequest in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:01.315
!MESSAGE NLS missing message: FileDownloadError in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:01.315
!MESSAGE NLS missing message: repoMan_exists in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:01.315
!MESSAGE NLS missing message: repoMan_failedRead in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:01.315
!MESSAGE NLS missing message: repoMan_notExists in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:02.034
!MESSAGE NLS missing message: repoMan_unknownType in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:02.034
!MESSAGE NLS missing message: repoReadOnly in:
org.eclipse.equinox.internal.p2.artifact.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:02.362
!MESSAGE NLS unused message: io_failedWrite in:
org.eclipse.equinox.internal.p2.metadata.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:02.503
!MESSAGE NLS unused message: repoMan_relativeLocation in:
org.eclipse.equinox.internal.p2.metadata.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:03.597
!MESSAGE NLS unused message: CacheManager_Neither_0_nor_1_found in:
org.eclipse.equinox.internal.p2.metadata.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:04.018
!MESSAGE NLS unused message: CacheManager_AuthenticationFaileFor_0 in:
org.eclipse.equinox.internal.p2.metadata.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:04.018
!MESSAGE NLS unused message: CacheManager_FailedCommunicationWithRepo_0
in: org.eclipse.equinox.internal.p2.metadata.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:04.018
!MESSAGE NLS missing message: repoMan_adding in:
org.eclipse.equinox.internal.p2.metadata.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:04.737
!MESSAGE NLS missing message: repoMan_exists in:
org.eclipse.equinox.internal.p2.metadata.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:04.737
!MESSAGE NLS missing message: repoMan_failedRead in:
org.eclipse.equinox.internal.p2.metadata.repository.messages

!ENTRY org.eclipse.osgi 2 1 2009-05-14 18:06:04.737
!MESSAGE NLS missing message: repoMan_unknownType in:
org.eclipse.equinox.internal.p2.metadata.repository.messages
HTH,
Ciao, hh 

-----Original Message-----
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On
Behalf Of Pascal Rapicault
Sent: Monday, May 11, 2009 3:59 PM
To: P2 developer discussions
Cc: P2 developer discussions; p2-dev-bounces@xxxxxxxxxxx
Subject: Re: [p2-dev] Re: Lots of errors in my error log

Let's continue the discussion in the bug report.

Inactive hide details for Ian Bull ---05/09/2009 01:46:01 AM---I have
made some headway with this, however, I'm surprised we haIan Bull
---05/09/2009 01:46:01 AM---I have made some headway with this, however,
I'm surprised we have not seen this more often. It would appear that
when we publ



From:	
Ian Bull <irbull@xxxxxxxxxxxxxxxxx>	

To:	
P2 developer discussions <p2-dev@xxxxxxxxxxx>	

Date:	
05/09/2009 01:46 AM	

Subject:	
[p2-dev] Re: Lots of errors in my error log	
________________________________




I have made some headway with this, however, I'm surprised we have not
seen this more often.  It would appear that when we publish bundles into
one of the cache's (in this case 834/data/1969065986/) we use the
BundlesAction from the publisher.  This action also publishes the
translation fragments, however, no FILE_NAME property is set on the
translation fragments. This leads to the errors I'm seeing.

There is even a comment to this effect on line 160 of
RepositoryListener:
// we only want to return the bundle IU so must exclude all fragment IUs
// not sure if this is still relevant but we should investigate.

The easy fix is not to log the error, that is, just ignore IUs that
don't have the FILE_NAME property, but I don't think this is the proper
approach.

thoughts,
Ian

On Fri, May 8, 2009 at 9:23 PM, Ian Bull <irbull@xxxxxxxxxxxxxxxxx
<mailto:irbull@xxxxxxxxxxxxxxxxx> > wrote: 

	I noticed that p2 was generating lots of errors in my error log
	
	275274: "translated_host_properties is missing the filename
property" error
	https://bugs.eclipse.org/bugs/show_bug.cgi?id=275274
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=275274> 
	
	I decided to attach a remote debugger to see where these were
coming from and appears that they are generated from:
	
	RepositoryListener#synchronizeCurrentFiles()
	
	In that method we loop through a metadata repo, finding all the
IUs and grab the FileName property on that IU.  In the case of
translation fragments, I don't appear to have a filename, so an error is
logged.
	
	Some information about the repository:
	location:
file:/home/irbull/eclipse/eclipse/configuration/org.eclipse.osgi/bundles
/834/data/1969065986/
	name: extension location metadata repository:
file:/home/irbull/eclipse/eclipse/.eclipseextension
	type
org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataReposit
ory
	
	I don't know anything about the FileName property, so I'm pretty
much stuck on where to go next.  If anyone has any ideas, please let me
know and I will continue to try and debug this issue. 
	
	cheers,
	ian
	
	-- 
	R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
	http://eclipsesource.com <http://eclipsesource.com/>  |
http://twitter.com/eclipsesource <http://twitter.com/eclipsesource> 




--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
http://eclipsesource.com <http://eclipsesource.com/>  |
http://twitter.com/eclipsesource <http://twitter.com/eclipsesource>
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev