Error in Eclipse

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Error in Eclipse

Postby sergei.sheinin » Mon Apr 13, 2015 4:07 pm

I keep seeing this error repeated on new installation of Servoy.

Code: Select all
eclipse.buildId=unknown
java.version=1.6.0_20
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

Error
Mon Apr 13 20:08:33 ICT 2015
An internal error occurred during: "Computing Git status for repository MyRepo".

java.util.regex.PatternSyntaxException: Unexpected internal error near index 11
\.metadata\
           ^
   at java.util.regex.Pattern.error(Unknown Source)
   at java.util.regex.Pattern.compile(Unknown Source)
   at java.util.regex.Pattern.<init>(Unknown Source)
   at java.util.regex.Pattern.compile(Unknown Source)
   at org.eclipse.jgit.ignore.internal.Strings.convertGlob(Strings.java:352)
   at org.eclipse.jgit.ignore.internal.WildCardMatcher.<init>(WildCardMatcher.java:66)
   at org.eclipse.jgit.ignore.internal.PathMatcher.createNameMatcher0(PathMatcher.java:145)
   at org.eclipse.jgit.ignore.internal.PathMatcher.createPathMatcher(PathMatcher.java:127)
   at org.eclipse.jgit.ignore.FastIgnoreRule.<init>(FastIgnoreRule.java:112)
   at org.eclipse.jgit.ignore.IgnoreNode.parse(IgnoreNode.java:114)
   at org.eclipse.jgit.treewalk.WorkingTreeIterator$RootIgnoreNode.loadRulesFromFile

(WorkingTreeIterator.java:1294)
   at org.eclipse.jgit.treewalk.WorkingTreeIterator$RootIgnoreNode.load(WorkingTreeIterator.java:1279)
   at org.eclipse.jgit.treewalk.WorkingTreeIterator.getIgnoreNode(WorkingTreeIterator.java:649)
   at org.eclipse.jgit.treewalk.WorkingTreeIterator.isEntryIgnored(WorkingTreeIterator.java:617)
   at org.eclipse.jgit.treewalk.WorkingTreeIterator.isEntryIgnored(WorkingTreeIterator.java:600)
   at org.eclipse.jgit.treewalk.WorkingTreeIterator.isEntryIgnored(WorkingTreeIterator.java:587)
   at org.eclipse.jgit.treewalk.filter.IndexDiffFilter.include(IndexDiffFilter.java:157)
   at org.eclipse.jgit.treewalk.filter.AndTreeFilter$List.include(AndTreeFilter.java:163)
   at org.eclipse.jgit.treewalk.TreeWalk.next(TreeWalk.java:560)
   at org.eclipse.jgit.lib.IndexDiff.diff(IndexDiff.java:432)
   at org.eclipse.egit.core.internal.indexdiff.IndexDiffCacheEntry.calcIndexDiffDataFull

(IndexDiffCacheEntry.java:538)
   at org.eclipse.egit.core.internal.indexdiff.IndexDiffCacheEntry.access$6

(IndexDiffCacheEntry.java:527)
   at org.eclipse.egit.core.internal.indexdiff.IndexDiffCacheEntry$4.run(IndexDiffCacheEntry.java:294)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Sergei Sheinin
JavaScript, RDBMS
http://js2dx.com
sergei.sheinin
 
Posts: 79
Joined: Wed May 07, 2014 3:22 pm

Re: Error in Eclipse

Postby sergei.sheinin » Tue Apr 14, 2015 5:37 am

If I re-install then the error does not appear if following updates are not run:


Eclipse Git Team Provider 3.7.0.201502260915-r
Eclipse Git Team Provider - Task focused interface 3.7.0.201502260915-r
Mylyn Context Connector: Eclipse IDE 3.9.2.v20140211-0100
Mylyn Versions Connector: Git 1.1.2.v20140211-0100
Servoy Developer 7.4.3.2036
Attachments
servoy_updates.png
servoy_updates.png (30.4 KiB) Viewed 1023 times
Sergei Sheinin
JavaScript, RDBMS
http://js2dx.com
sergei.sheinin
 
Posts: 79
Joined: Wed May 07, 2014 3:22 pm

Re: Error in Eclipse

Postby jcompagner » Thu May 21, 2015 10:29 am

try a new clean workspace and install all the latest features/plugins you want/have

then import the git repo again.

I find it a bit weird that it complains about /.metadata thats a dir inside the workspace but git should not really touch it (its a configuration dir of eclipse itself)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7977
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Eclipse Environment

Who is online

Users browsing this forum: Bing [Bot] and 3 guests