- This topic has 3 replies, 2 voices, and was last updated 13 years, 2 months ago by
support-tony.
-
AuthorPosts
-
sirdagMemberAfter 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).txtHere is the log “clipping”: Where might I look?
!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)
support-tonyKeymastersirdag,
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.
sirdagMemberThankyou! Your post was completely accurate!
support-tonyKeymastersirdag,
I’m glad that’s working now. Thanks for letting us know.
-
AuthorPosts