Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Code Recommenders » getting exception on adding the Recommenders nature
getting exception on adding the Recommenders nature [message #674243] Thu, 26 May 2011 09:22 Go to next message
Michael Rehberg is currently offline Michael RehbergFriend
Messages: 8
Registered: May 2011
Junior Member
Hi there,

after yesterdays demoCamp in Walldorf i thought i'll give codeRecommenders a try.
So added the updatesite, installed (did not report any errors), restarted.

Now i tried to add the "Recommenders" nature to some projects. Sadly the result is the following:

An internal error occurred during: "Building workspace".
com.ibm.wala.util.debug.UnimplementedError


Any idea what i am missing?
Using Helios SR2, BuildID: 20110301-1815


Here's the stacktrace from the eclipse log:
!ENTRY org.eclipse.core.jobs 4 2 2011-05-26 11:13:34.703
!MESSAGE An internal error occurred during: "Building workspace".
!STACK 0
com.ibm.wala.util.debug.UnimplementedError
	at com.ibm.wala.util.debug.Assertions.UNREACHABLE(Assertions.java:46)
	at com.ibm.wala.util.io.FileProvider.filePathFromURL(FileProvider.java:313)
	at com.ibm.wala.util.io.FileProvider.getFileFromPlugin(FileProvider.java:150)
	at com.ibm.wala.util.config.AnalysisScopeReader.read(AnalysisScopeReader.java:65)
	at com.ibm.wala.util.config.AnalysisScopeReader.readJavaScope(AnalysisScopeReader.java:53)
	at org.eclipse.recommenders.internal.rcp.analysis.cp.EclipseProjectPath.toAnalysisScope(EclipseProjectPath.java:347)
	at org.eclipse.recommenders.internal.rcp.analysis.cp.EclipseProjectPath.toAnalysisScope(EclipseProjectPath.java:390)
	at org.eclipse.recommenders.internal.rcp.analysis.WalaClassHierarchyService.make(WalaClassHierarchyService.java:77)
	at org.eclipse.recommenders.internal.rcp.analysis.WalaClassHierarchyService.getClassHierachy(WalaClassHierarchyService.java:127)
	at org.eclipse.recommenders.internal.rcp.analysis.RecommendersBuilder.analyzeCompilationUnit(RecommendersBuilder.java:180)
	at org.eclipse.recommenders.internal.rcp.analysis.RecommendersBuilder.access$0(RecommendersBuilder.java:179)
	at org.eclipse.recommenders.internal.rcp.analysis.RecommendersBuilder$1.visit(RecommendersBuilder.java:131)
	at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:112)
	at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:64)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:74)
	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:110)
	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
	at org.eclipse.recommenders.internal.rcp.analysis.RecommendersBuilder.performFullBuild(RecommendersBuilder.java:126)
	at org.eclipse.recommenders.internal.rcp.analysis.RecommendersBuilder.build(RecommendersBuilder.java:95)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Re: getting exception on adding the Recommenders nature [message #674274 is a reply to message #674243] Thu, 26 May 2011 11:30 Go to previous messageGo to next message
Johannes Lerch is currently offline Johannes LerchFriend
Messages: 18
Registered: February 2011
Junior Member
Hi,

great to hear you want to try. Badly, it doesn't work for you and i'm not able to reproduce the error yet.
First of all, did you choose the dev or the head update site? Is that error appearing in every project you add the Recommenders Nature or just for specific ones? You may want to try it for a clean new plug-in project. If it's working there we are very interested in what is different in your other projects and if not, we have to dig deeper what causes that exception. I'll appreciate anything you can provide me to reproduce the error.
Re: getting exception on adding the Recommenders nature [message #674292 is a reply to message #674274] Thu, 26 May 2011 12:45 Go to previous messageGo to next message
Michael Rehberg is currently offline Michael RehbergFriend
Messages: 8
Registered: May 2011
Junior Member
Thanks for the quick answer.

>>First of all, did you choose the dev or the head update site?
Dev, thought it might be a good idea to use the more "stable" one Smile

>>Is that error appearing in every project you add the Recommenders Nature or just for specific ones?

I already removed the plugins cause i could not work due to every build failing.
I made a copy of my eclipse folder, installed the recommender plugins and used a clean workspace. New plugin project, add Recommenders nature and et voilĂ  the error is there.

So yes it happens with every project even with new ones.

>>digg deeper Smile
Here is a list of all installed software in my eclipse installation

  Axis2 Tools	1.1.100.v201005241530-78-FF0DZRDKDDePSKwHj	org.eclipse.jst.ws.axis2tools.feature.feature.group
  Buckminster - Core	1.3.1.r11668	org.eclipse.buckminster.core.feature.feature.group
  Buckminster - CVS support	1.1.0.r11564	org.eclipse.buckminster.cvs.feature.feature.group
  Buckminster - Maven support	1.3.0.r11663	org.eclipse.buckminster.maven.feature.feature.group
  Buckminster - PDE support	1.2.1.r11660	org.eclipse.buckminster.pde.feature.feature.group
  Buckminster - Subversive support	1.1.1.r11669	org.eclipse.buckminster.subversive.feature.feature.group
  Code Coverage - Common	7.0.0.r36x201009131451	com.instantiations.assist.eclipse.coverage.feature.group
  Code Recommenders: Codesearch Client (Incubation) (Experimental)	0.2.0.v20110421-0933-b357	org.eclipse.recommenders.rcp.codesearch.feature.group
  Code Recommenders: Intelligent Code Completion (Incubation)	0.2.0.v20110421-0933-b357	org.eclipse.recommenders.codecompletion.feature.group
  Code Recommenders: Intelligent Code Completion Sources (Incubation)	0.2.0.v20110421-0933-b357	org.eclipse.recommenders.rcp.codecompletion.source.feature.group
  CodePro and Code Coverage - Utilities	7.0.0.r36x201009131431	com.instantiations.eclipse.analysis.utilities.feature.group
  Eclipse Modeling Tools	1.3.2.20110301-1807	epp.package.modeling
    Eclipse Platform	3.6.2.M20110210-1200	org.eclipse.platform.ide
      Eclipse Platform	3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi	org.eclipse.platform.feature.group
        Eclipse Help System	1.2.1.r362_v20101111-7e7jEVFDr6xg-LSlC_z0w1D	org.eclipse.help.feature.group
        Eclipse RCP	3.6.2.r362_v20101104-9SAxFMKFkSAqi8axkv1ZjegmiBLY	org.eclipse.rcp.feature.group
      Equinox p2 Provisioning	2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628	org.eclipse.equinox.p2.user.ui.feature.group
    EPP Modeling Feature	1.3.2.20110301-1807	org.eclipse.epp.package.modeling.feature.feature.group
  Eclipse Web Developer Tools	3.2.3.v201102160541-7O7CFbWEMf84qYjGDyP3DNEwcgFU	org.eclipse.wst.web_ui.feature.feature.group
    JavaScript Development Tools	1.2.3.v201102160540-7C78FGUF9JgLWNO2UCNqfa	org.eclipse.wst.jsdt.feature.feature.group
    WST Common UI	3.2.3.v201011031800-7C78FPlEdhO_oXWe4k_elbMgT1Lq	org.eclipse.wst.common_ui.feature.feature.group
      WST Common Core	3.2.3.v201011031800-7B7DFEsF7RZHOaLfS0KpNJ	org.eclipse.wst.common_core.feature.feature.group
    WST Server UI	3.2.3.v20101104-7B4FBuAtJb1qEKLnCKHHHI347	org.eclipse.wst.server_ui.feature.feature.group
      WST Server Core	3.2.3.v20101104-30F8X8s734D3A4C	org.eclipse.wst.server_core.feature.feature.group
      WST Server User Documentation	3.1.10.v201005241510-20Bg7w3121162A3236	org.eclipse.wst.server_userdoc.feature.feature.group
    WST Web Core	3.2.3.v201102160541-7E7AFI3AJrn5TN32vSJ8nRIWLD7_	org.eclipse.wst.web_core.feature.feature.group
      WST XML Core	3.2.3.v201102160550-7C7OFXcF7RZHQKIkMxMsW_	org.eclipse.wst.xml_core.feature.feature.group
    WST Web User Documentation	3.2.0.v201005241510-31Eo8s734B3E4H7799	org.eclipse.wst.web_userdoc.feature.feature.group
  Eclipse XML Editors and Tools	3.2.3.v201102160550-7H7AFUWDxumQJOi9ghcTb5YgkwEZ	org.eclipse.wst.xml_ui.feature.feature.group
    WST XML User Documentation	3.2.101.v201102161624-50FXNAkF7B77RBgFFBF	org.eclipse.wst.xml_userdoc.feature.feature.group
  Eclipse XSL Developer Tools	1.1.3.v201102102045-7S7WFASFIpS-21NUD58xfPVDTLR	org.eclipse.wst.xsl.feature.feature.group
    PscyhoPath XPath 2.0 Processor Feature	1.1.6.v201101212357-67K3BgJ9DJAPEUCSKQ	org.eclipse.wst.xml.xpath2.processor.feature.feature.group
  Eclipse_RegEx_Feature	1.3.1	EclipseRegExFeature.feature.group
  FindBugs Feature	1.3.9.20090821	edu.umd.cs.findbugs.plugin.eclipse.feature.group
  Memory Analyzer	1.0.1.201008091353	org.eclipse.mat.feature.feature.group
  Memory Analyzer (Charts) [optional]	1.0.1.201008091353	org.eclipse.mat.chart.feature.feature.group
  Mylyn Builds SDK (Incubation)	0.7.1.v20110422-0200	org.eclipse.mylyn.builds.sdk.feature.group
    Mylyn Builds (Incubation)	0.7.1.v20110422-0200	org.eclipse.mylyn.builds.feature.group
      Mylyn Context Connector: Team Support	3.5.1.v20110422-0200	org.eclipse.mylyn.team_feature.feature.group
        Mylyn Task-Focused Interface	3.5.1.v20110422-0200	org.eclipse.mylyn.context_feature.feature.group
          Mylyn Task List	3.5.1.v20110422-0200	org.eclipse.mylyn_feature.feature.group
      Mylyn Versions (Incubation)	0.7.1.v20110422-0200	org.eclipse.mylyn.versions.feature.group
    Mylyn Builds Connector: Hudson/Jenkins (Incubation)	0.7.1.v20110422-0200	org.eclipse.mylyn.hudson.feature.group
  Mylyn SDK	3.5.1.v20110422-0200	org.eclipse.mylyn.sdk_feature.feature.group
    Mylyn Commons	3.5.1.v20110422-0200	org.eclipse.mylyn.commons.feature.group
    Mylyn Context Connector: Eclipse IDE	3.5.1.v20110422-0200	org.eclipse.mylyn.ide_feature.feature.group
      Eclipse CVS Client	1.2.1.r362_v20101111-7B77FKv99HL0GvIAF99I8H14B7E	org.eclipse.cvs.feature.group
    Mylyn Context Connector: Java Development	3.5.1.v20110422-0200	org.eclipse.mylyn.java_feature.feature.group
      Eclipse Java Development Tools	3.6.2.r362_v20101117-0800-7z8XFW6FLFlmjJcvz03jyeFBLS_F	org.eclipse.jdt.feature.group
    Mylyn Context Connector: Plug-in Development	3.5.1.v20110422-0200	org.eclipse.mylyn.pde_feature.feature.group
      Eclipse Plug-in Development Environment	3.6.2.r362_v20110203-7b7mFL2FET3dhHalh1iNZtL	org.eclipse.pde.feature.group
    Mylyn Tasks Connector: Trac	3.5.1.v20110422-0200	org.eclipse.mylyn.trac_feature.feature.group
    Mylyn WikiText SDK	1.4.1.v20110422-0200	org.eclipse.mylyn.wikitext.sdk.feature.group
  Mylyn Tasks Connector: Bugzilla	3.5.1.v20110422-0200	org.eclipse.mylyn.bugzilla_feature.feature.group
  Mylyn WikiText	1.4.1.v20110422-0200	org.eclipse.mylyn.wikitext_feature.feature.group
  RegexUtil Featch	1.2.4	com.ess.regexutil.feature.group
  Shared	6.0.0.r36x201009131414	com.instantiations.eclipse.shared.feature.group
  Source for Xbase	1.0.2.v201102150722	org.eclipse.xtext.xbase.source.feature.group
  Source for Xtext Examples	1.0.2.v201102150722	org.eclipse.xtext.examples.source.feature.group
  Source for Xtext Runtime	1.0.2.v201102150722	org.eclipse.xtext.runtime.source.feature.group
  Source for Xtext SDK	1.0.2.v201102150722	org.eclipse.xtext.sdk.source.feature.group
    Source for Xtext Documentation	1.0.2.v201102150722	org.eclipse.xtext.docs.source.feature.group
  Source for Xtext UI	1.0.2.v201102150722	org.eclipse.xtext.ui.source.feature.group
  WindowTester Core Runtime	6.0.0.r36x201009131510	com.windowtester.runtime.feature.group
  WindowTester GEF IDE Integration	6.0.0.r36x201009141359	com.windowtester.ide.gef.feature.group
  WindowTester GEF Runtime	6.0.0.r36x201009131549	com.windowtester.runtime.gef.feature.group
    Graphical Editing Framework GEF	3.6.2.v20110128-0100-777B381A4Bz06565376E32322	org.eclipse.gef.feature.group
      Graphical Editing Framework Draw2d	3.6.2.v20110128-0100-4517w3122123901211	org.eclipse.draw2d.feature.group
  WindowTester IDE Integration	6.0.0.r36x201009141344	com.windowtester.ide.feature.group
  WindowTester Launcher	6.0.0.r36x201009131436	com.windowtester.launcher.feature.group
  Xbase	1.0.2.v201102150722	org.eclipse.xtext.xbase.feature.group
  XSD - XML Schema Definition SDK	2.6.0.v20100914-1218	org.eclipse.xsd.sdk.feature.group
    Source for XSD - XML Schema Definition Model	2.6.0.v20100914-1218	org.eclipse.xsd.source.feature.group
    Source for XSD Documentation	2.6.0.v20100914-1218	org.eclipse.xsd.doc.source.feature.group
    Source for XSD Ecore Converter	2.6.0.v20100914-1218	org.eclipse.xsd.ecore.converter.source.feature.group
    Source for XSD Edit	2.6.0.v20100914-1218	org.eclipse.xsd.edit.source.feature.group
    Source for XSD Mapping	2.6.0.v20100914-1218	org.eclipse.xsd.mapping.source.feature.group
    Source for XSD Mapping Editor	2.6.0.v20100914-1218	org.eclipse.xsd.mapping.editor.source.feature.group
    Source for XSD Sample Editor	2.6.0.v20100914-1218	org.eclipse.xsd.editor.source.feature.group
    XSD - XML Schema Definition Model	2.6.0.v20100914-1218	org.eclipse.xsd.feature.group
    XSD Documentation	2.6.0.v20100914-1218	org.eclipse.xsd.doc.feature.group
    XSD Ecore Converter	2.6.0.v20100914-1218	org.eclipse.xsd.ecore.converter.feature.group
    XSD Edit	2.6.0.v20100914-1218	org.eclipse.xsd.edit.feature.group
    XSD Mapping	2.6.0.v20100914-1218	org.eclipse.xsd.mapping.feature.group
    XSD Mapping Editor	2.6.0.v20100914-1218	org.eclipse.xsd.mapping.editor.feature.group
    XSD Sample Editor	2.6.0.v20100914-1218	org.eclipse.xsd.editor.feature.group
  Xtext Documentation	1.0.2.v201102150722	org.eclipse.xtext.docs.feature.group
  Xtext Examples	1.0.2.v201102150722	org.eclipse.xtext.examples.feature.group
  Xtext Runtime	1.0.2.v201102150722	org.eclipse.xtext.runtime.feature.group
  Xtext SDK	1.0.2.v201102150722	org.eclipse.xtext.sdk.feature.group
  Xtext UI	1.0.2.v201102150722	org.eclipse.xtext.ui.feature.group
    MWE UI	1.0.2.v201102150556	org.eclipse.emf.mwe.ui.feature.group
    Xpand UI	1.0.1.v201008251147	org.eclipse.xpand.ui.feature.group
      Xpand	1.0.1.v201008251147	org.eclipse.xpand.feature.group
        Xtend	1.0.1.v201008251147	org.eclipse.xtend.feature.group
          Xtend Dependencies	1.0.1.v201008251147	org.eclipse.xtend.dependencies.feature.group
          Xtend EMF typesystem	1.0.1.v201008251147	org.eclipse.xtend.typesystem.emf.feature.group
      Xtend UI	1.0.1.v201008251147	org.eclipse.xtend.ui.feature.group


lets hope that helps...

Let me know if you need more infos.


rgds

Michael
Re: getting exception on adding the Recommenders nature [message #674366 is a reply to message #674292] Thu, 26 May 2011 16:15 Go to previous messageGo to next message
Marcel Bruch is currently offline Marcel BruchFriend
Messages: 230
Registered: July 2009
Senior Member
Hi Michael,

apparently we fail to resolve some elements of your project's class-path for an unknown reason. Unfortunately, I need little more details yet. Can you make the project you applied Code Recommenders on available to me for debugging purpose? The .classpath file may be sufficient to identify potential problems (but a sample project would be better).

If legal doesn't permit, I can instrument the byte-code toolkit to be more verbose for debugging. In any way, it would be great if you could help us hunting down this fault quickly.

Thanks,
Marcel


tw: @MarcelBruch
tw: @Recommenders
Re: getting exception on adding the Recommenders nature [message #674476 is a reply to message #674366] Fri, 27 May 2011 05:21 Go to previous messageGo to next message
Michael Rehberg is currently offline Michael RehbergFriend
Messages: 8
Registered: May 2011
Junior Member
Hi Marcel,

i just exported the project from the second test (clean workspace, just an empty plugin project, added recommenders nature)

The zip file attached is the complete project.

rgds

Michael


P.S. Just drop me a message if you need further details. I am glad if i can help Smile
  • Attachment: export.zip
    (Size: 2.96KB, Downloaded 177 times)
Re: getting exception on adding the Recommenders nature [message #674481 is a reply to message #674476] Fri, 27 May 2011 06:01 Go to previous messageGo to next message
Michael Rehberg is currently offline Michael RehbergFriend
Messages: 8
Registered: May 2011
Junior Member
Hi again,

another thing i noticed that morning. (Wanted to debug the case a little to see if i can find something that helps)

If i start my eclipse from within eclipse (i mean just starting a defaul configuration with a little tweaking on the perm gen space setting) i don't get the error. First i thought it is cause of the debug mode. BUT no, it just did not happen (not in run nor in debug)

That makes me quite confused. I know sometimes "bugs" seem to be gone, but they never are. So tried several times. And no luck.

Tried it in the initial instance (my primary work eclipse) the problem is still there and reproducible all the time. So maybe it could be a plugin that interferes. Hmmpfff I had the setting in the configuration to use all workspace enabled plugins and the target plattform is set to running platform.

So what now ?

rgds

Michael

P.S. i think i install a new eclipse, only install the recommenders stuff and then step by step add the rest i need. Lets see where i get with this Smile
Re: getting exception on adding the Recommenders nature [message #674482 is a reply to message #674476] Fri, 27 May 2011 06:06 Go to previous messageGo to next message
Marcel Bruch is currently offline Marcel BruchFriend
Messages: 230
Registered: July 2009
Senior Member
Hi Michael,

there is nothing obviously wrong with the project. It works w/o any changes in my workspace. I guess you will promise that your Eclipse setup is standard, right? Smile No tweaks, no special paths to JRE or plug-ins folder, no links on file system level, blanks in paths etc... (I'm just guessing what might cause this fault).

I'll come up with a patched version of the bytecode toolkit that may give us some more hints later today...

Thanks,
Marcel


tw: @MarcelBruch
tw: @Recommenders

[Updated on: Fri, 27 May 2011 19:24]

Report message to a moderator

Re: getting exception on adding the Recommenders nature [message #674491 is a reply to message #674482] Fri, 27 May 2011 06:45 Go to previous messageGo to next message
Michael Rehberg is currently offline Michael RehbergFriend
Messages: 8
Registered: May 2011
Junior Member
Hi Marcel,

this was the hint i was looking for. AAAaaaaaahhhhh i am so sorry for the time you spend on that problem. (Also yours Johannes Smile )

After renaming my "[Eclipse]" collection folder to "Eclipse" it worked without a problem. (I did not try the features yet, but i don't get the build job errors any more.)

Again sorry about it.. (I just feel like a dumb beginner Very Happy )

rgds

Michael
Re: getting exception on adding the Recommenders nature [message #674503 is a reply to message #674491] Fri, 27 May 2011 07:21 Go to previous messageGo to next message
Marcel Bruch is currently offline Marcel BruchFriend
Messages: 230
Registered: July 2009
Senior Member
This isn't your fault at all! Would should be able to handle this. It's great to learn what went wrong. I'll try to figure out how we can get around this nasty one for future drops.

Thanks for bringing this up and helping to hunt it down.

Best,
Marcel


tw: @MarcelBruch
tw: @Recommenders
Re: getting exception on adding the Recommenders nature [message #674511 is a reply to message #674503] Fri, 27 May 2011 07:56 Go to previous messageGo to next message
Johannes Lerch is currently offline Johannes LerchFriend
Messages: 18
Registered: February 2011
Junior Member
Thanks!
I'm able to reproduce that error now.
Re: getting exception on adding the Recommenders nature [message #674514 is a reply to message #674511] Fri, 27 May 2011 08:15 Go to previous messageGo to next message
Marcel Bruch is currently offline Marcel BruchFriend
Messages: 230
Registered: July 2009
Senior Member
Johannes, can you create a test for this issue?
Can you make a guess whether it may appears on Linux Mac too?

We should schedule a debugging session on your machine to track this one down. Unfortunately, I'm flooded until Tuesday morning. Can you schedule a session some time on Tuesday?


tw: @MarcelBruch
tw: @Recommenders
Re: getting exception on adding the Recommenders nature [message #674533 is a reply to message #674514] Fri, 27 May 2011 09:28 Go to previous messageGo to next message
Johannes Lerch is currently offline Johannes LerchFriend
Messages: 18
Registered: February 2011
Junior Member
I'll see what i can do on my own. if i get stuck with that one i will schedule the debug session for tuesday.
Re: getting exception on adding the Recommenders nature [message #674535 is a reply to message #674514] Fri, 27 May 2011 09:32 Go to previous messageGo to next message
Michael Rehberg is currently offline Michael RehbergFriend
Messages: 8
Registered: May 2011
Junior Member
Hi Marcel,

i do that on purpose, i mean adding square brakets or special characters to the path of my workspace and or eclipse installation. We had such issues often, so i am sure if it runs on my eclipse and or workspace it should not have that problem.

The funny thing is, that i would never ever have thought of that a "unimplementedError" could have been caused by a not so ususal path.

Normally the procedure of "renaming" my folders to more common names (removoing the special characters) is one of the first things i try Smile Most of the time the errors are in the context of resources not found or similar. So next time ill try it anyway if an "unexplainable" error occurs.

Never the less, we have learned again that an exception might sometimes be caused by something that has nothing to do with the description Smile

By the way i could test/try to reproduce the issue with the dev version on my mac this evening. If that helps .-)

rgds and thanks

Michael




Re: getting exception on adding the Recommenders nature [message #674575 is a reply to message #674535] Fri, 27 May 2011 12:03 Go to previous messageGo to next message
Johannes Lerch is currently offline Johannes LerchFriend
Messages: 18
Registered: February 2011
Junior Member
Hi,

i found the problem. No further testing required, thanks anyway.

The Wala plugin is looking for its own location. To do that they convert an URL to URI without checking for characters not legal to URIs like [ or ].
I'm evaluating how this can be fixed to report a patch within the bug report to wala.
Re: getting exception on adding the Recommenders nature [message #674590 is a reply to message #674575] Fri, 27 May 2011 13:12 Go to previous messageGo to next message
Johannes Lerch is currently offline Johannes LerchFriend
Messages: 18
Registered: February 2011
Junior Member
I made a quick fix on my own in the wala project and deployed it to our head update site. So we don't have to wait for the wala team including that patch.
You may want to try head instead of dev to test, if the problem is solved now. After updating, the installed version of plugin com.ibm.wala.core should be 1.3.2.201105271446.
icon14.gif  Re: getting exception on adding the Recommenders nature [message #674639 is a reply to message #674590] Fri, 27 May 2011 16:55 Go to previous messageGo to next message
Michael Rehberg is currently offline Michael RehbergFriend
Messages: 8
Registered: May 2011
Junior Member
Hi Johannes,

great thing.. Ill try it on monday.
Thanks for the help .. both of you Smile

rgds

Michael
Re: getting exception on adding the Recommenders nature [message #674650 is a reply to message #674639] Fri, 27 May 2011 17:32 Go to previous messageGo to next message
Marcel Bruch is currently offline Marcel BruchFriend
Messages: 230
Registered: July 2009
Senior Member
Michael Rehberg wrote on Fri, 27 May 2011 12:55
rgds


'rgds' --> 'ReGarDS' - He's a perfect candidate for the subwords completion engine, isn't he? Wink

If you don't know it already, you should read this blog-post:

http://code-recommenders.blogspot.com/2011/05/subword-matching-completion-engine-for.html

Have a nice weekend Wink


tw: @MarcelBruch
tw: @Recommenders
Re: getting exception on adding the Recommenders nature [message #675305 is a reply to message #674650] Tue, 31 May 2011 06:05 Go to previous messageGo to next message
Michael Rehberg is currently offline Michael RehbergFriend
Messages: 8
Registered: May 2011
Junior Member
Hi Johannes, Marcel,

thanks for the fast help. Yesterday was a horrible day so i had no time to test. BUT it works like a charm now.

Thanks for the fix.

rgds

Michael

P.S. after reading some more about code recommenders project i am really considering to join the group. I mean participating and giving some time and brains to the project Smile
I'll stay in touch...
Re: getting exception on adding the Recommenders nature [message #675313 is a reply to message #675305] Tue, 31 May 2011 07:09 Go to previous message
Marcel Bruch is currently offline Marcel BruchFriend
Messages: 230
Registered: July 2009
Senior Member

Quote:

P.S. after reading some more about code recommenders project i am really considering to join the group. I mean participating and giving some time and brains to the project.


Can't say how much I'd appreciate that. Your time and brains is welcome at all times Smile

We have a quite nice range of things we would like to do (code-search, stacktrace-search, extended-javadoc, code-completion, ...). Just tell us what area attracts you most. We'll then spent a few hours to create some ideas where/how to get involved easily.

And we always welcome new ideas - like subwords completion ...

Best,
Marcel


tw: @MarcelBruch
tw: @Recommenders
Previous Topic:Contribution
Next Topic:Early Access: Extended Javadoc View Prototype
Goto Forum:
  


Current Time: Tue Nov 25 00:44:14 GMT 2014

Powered by FUDForum. Page generated in 0.03164 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software