| Author |
Message |
|
|
Post subject: Repository registry initialization has encountered a problem
Posted: Feb 27, 2012 - 08:32 PM
|
|
Registered Member

Joined: Feb 27, 2012
Posts: 2
|
|
After using Norton Ghost backup to recover the project area and the corresponding csvn directory tree, this problem crops up. The message continues with one more line:
"For input string: "(1).gen"
Now, I know that when Ghost restores a same named file to an existing path, it will label the file with a suffix name, such as properties(1).txt
Here is the log "clipping": Where might I look?
| Quote: | !ENTRY org.eclipse.core.jobs 4 2 2012-02-27 15:26:14.957
!MESSAGE An internal error occurred during: "Repository registry initialization".
!STACK 0
java.lang.NumberFormatException: For input string: "(1).gen"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Long.parseLong(Long.java:403)
at org.apache.lucene.index.SegmentInfos.generationFromSegmentsFileName(SegmentInfos.java:161)
at org.apache.lucene.index.SegmentInfos.getCurrentSegmentGeneration(SegmentInfos.java:97)
at org.apache.lucene.index.SegmentInfos.getCurrentSegmentGeneration(SegmentInfos.java:116)
at org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:506)
at org.sonatype.nexus.index.context.DefaultIndexingContext.prepareIndex(DefaultIndexingContext.java:169)
at org.sonatype.nexus.index.context.DefaultIndexingContext.<init>(DefaultIndexingContext.java:153)
at org.sonatype.nexus.index.DefaultNexusIndexer.addIndexingContextForced(DefaultNexusIndexer.java:149)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.createIndexingContext(NexusIndexManager.java:890)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.setIndexDetails(NexusIndexManager.java:855)
at org.maven.ide.eclipse.internal.index.NexusIndexManager.repositoryAdded(NexusIndexManager.java:800)
at org.maven.ide.eclipse.internal.repository.RepositoryRegistry.addRepository(RepositoryRegistry.java:142)
at org.maven.ide.eclipse.internal.repository.RepositoryRegistry.updateRegistry(RepositoryRegistry.java:216)
at org.maven.ide.eclipse.internal.repository.RepositoryRegistryUpdateJob.run(RepositoryRegistryUpdateJob.java:42)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
|
|
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 28, 2012 - 09:06 AM
|
|

Joined: Mar 09, 2011
Posts: 713
|
|
sirdag,
Sorry you're seeing this issue and thanks for the explanation about the suffixed file names. It seems as though the restore has created one of more files "segments(1).gen", when maven functionality is expecting "segments.gen". It looks like they get created in one or more sub-folders of the .cache folder in your local maven repository (.m2/repository in your home folder, usually). I guess the quickest fix would be to delete the .cache folder or the entire repository and allow it to be be rebuilt by MyEclipse.
Please let us know if this fixes the problem. |
_________________ Tony
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: Fixed
Posted: Feb 28, 2012 - 05:48 PM
|
|
Registered Member

Joined: Feb 27, 2012
Posts: 2
|
|
Thankyou! Your post was completely accurate! |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 29, 2012 - 03:50 AM
|
|

Joined: Mar 09, 2011
Posts: 713
|
|
sirdag,
I'm glad that's working now. Thanks for letting us know. |
_________________ Tony
MyEclipse Support
|
| |
|
|
|
 |
|
|
| |