Hi Andreas,
We contacted you regarding snipmatch. We are
considering your idea of not re-writing the code and are just going
ahead with making the changes as enlisted in the project proposal. We
have been trying to build the code recommenders project. We were able to
compile the code through terminal and import it on eclipse.
But while importing snipmatch we encountered the following error :
Description Resource Path Location Type
Plugin
execution not covered by lifecycle configuration:
org.fornax.toolsupport:fornax-oaw-m2-plugin:3.4.0:run-workflow
(execution: default, phase: generate-sources) pom.xml
/org.eclipse.recommenders.templates line 20 Maven Project Build
Lifecycle Mapping Problem
Also on one of the comps while compiling the
code recommenders code the tests are failing. The exact error that we
are getting is the following :
WARNING] The following locally built units have been used to resolve project dependencies:
[WARNING] org.eclipse.recommenders.models.rcp/2.1.0.v20140313-1655
[WARNING] org.eclipse.recommenders.apidocs.rcp/2.1.0.v20140310-1543
[WARNING] org.eclipse.recommenders.jayes/2.1.0.v20140310-1543
[WARNING] org.eclipse.recommenders.apidocs/2.1.0.v20140310-1543
[WARNING] org.eclipse.recommenders.rcp/2.1.0.v20140317-0932
[WARNING] org.eclipse.recommenders.utils/2.1.0.v20140310-1543
[WARNING] org.eclipse.recommenders.calls/2.1.0.v20140310-1543
[WARNING] org.eclipse.recommenders.models/2.1.0.v20140310-1543
[WARNING] org.eclipse.recommenders.injection/2.1.0.v20140310-1543
[INFO] Expected eclipse log file: /home/hp/Documents/POSE Lab/GitRepo/org.eclipse.recommenders/tests/org.eclipse.recommenders.apidocs.rcp.tests/target/work/data/.metadata/.log
[INFO] Command line:
[/usr/lib/jvm/java-8-oracle/jre/bin/java, -Dosgi.noShutdown=false, -Dosgi.os=linux, -Dosgi.ws=gtk, -Dosgi.arch=x86_64, -javaagent:/home/hp/.m2/repository/org/jacoco/org.jacoco.agent/0.6.5.201403032054/org.jacoco.agent-0.6.5.201403032054-runtime.jar=destfile=/home/hp/Documents/POSE Lab/GitRepo/org.eclipse.recommenders/target/jacoco.exec,append=true,includes=org.eclipse.recommenders.*, -Dosgi.clean=true, -jar, /home/hp/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.3.0.v20130327-1440/org.eclipse.equinox.launcher-1.3.0.v20130327-1440.jar, -data, /home/hp/Documents/POSE Lab/GitRepo/org.eclipse.recommenders/tests/org.eclipse.recommenders.apidocs.rcp.tests/target/work/data, -install, /home/hp/Documents/POSE Lab/GitRepo/org.eclipse.recommenders/tests/org.eclipse.recommenders.apidocs.rcp.tests/target/work, -configuration, /home/hp/Documents/POSE Lab/GitRepo/org.eclipse.recommenders/tests/org.eclipse.recommenders.apidocs.rcp.tests/target/work/configuration, -application, org.eclipse.tycho.surefire.osgibooter.uitest, -testproperties, /home/hp/Documents/POSE Lab/GitRepo/org.eclipse.recommenders/tests/org.eclipse.recommenders.apidocs.rcp.tests/target/surefire.properties, -nouithread]
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
at org.jacoco.agent.rt.internal_6474ae9.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:139)
at org.jacoco.agent.rt.internal_6474ae9.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:100)
at org.jacoco.agent.rt.internal_6474ae9.PreMain.createRuntime(PreMain.java:55)
at org.jacoco.agent.rt.internal_6474ae9.PreMain.premain(PreMain.java:47)
... 6 more
Caused by: java.lang.NoSuchFieldException: $jacocoAccess
at java.lang.Class.getField(Class.java:1536)
at org.jacoco.agent.rt.internal_6474ae9.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:137)
... 9 more
FATAL ERROR in native method: processing of -javaagent failed
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] org.eclipse.recommenders .......................... SUCCESS [0.554s]
[INFO] Release Engineering ............................... SUCCESS [0.021s]
[INFO] coding-conventions ................................ SUCCESS [0.770s]
[INFO] licenses .......................................... SUCCESS [0.104s]
[INFO] repository-resources .............................. SUCCESS [0.191s]
[INFO] Targets Definitions ............................... SUCCESS [0.015s]
[INFO] Target Definition for Eclipse Kepler .............. SUCCESS [0.138s]
[INFO] Target Definition for Eclipse Luna ................ SUCCESS [0.016s]
[INFO] Plugins ........................................... SUCCESS [2.727s]
[INFO] org.eclipse.recommenders.utils .................... SUCCESS [6.869s]
[INFO] org.eclipse.recommenders.models ................... SUCCESS [6.287s]
[INFO] org.eclipse.recommenders.apidocs .................. SUCCESS [3.102s]
[INFO] org.eclipse.recommenders.injection ................ SUCCESS [1.469s]
[INFO] org.eclipse.recommenders.rcp ...................... SUCCESS [10.140s]
[INFO] org.eclipse.recommenders.jayes .................... SUCCESS [1.637s]
[INFO] org.eclipse.recommenders.calls .................... SUCCESS [2.147s]
[INFO] org.eclipse.recommenders.models.rcp ............... SUCCESS [7.194s]
[INFO] org.eclipse.recommenders.apidocs.rcp .............. SUCCESS [7.278s]
[INFO] org.eclipse.recommenders.completion.rcp ........... SUCCESS [9.941s]
[INFO] org.eclipse.recommenders.calls.rcp ................ SUCCESS [9.584s]
[INFO] org.eclipse.recommenders.chain.rcp ................ SUCCESS [8.306s]
[INFO] org.eclipse.recommenders.jayes.transformation ..... SUCCESS [1.746s]
[INFO] org.eclipse.recommenders.mylyn.rcp ................ SUCCESS [6.877s]
[INFO] org.eclipse.recommenders.overrides ................ SUCCESS [2.247s]
[INFO] org.eclipse.recommenders.overrides.rcp ............ SUCCESS [7.701s]
[INFO] org.eclipse.recommenders.subwords.rcp ............. SUCCESS [7.336s]
[INFO] Tests ............................................. SUCCESS [0.913s]
[INFO] org.eclipse.recommenders.apidocs.rcp.tests ........ FAILURE [6.068s]
[INFO] org.eclipse.recommenders.calls.tests .............. SKIPPED
[INFO] org.eclipse.recommenders.tests .................... SKIPPED
[INFO] org.eclipse.recommenders.completion.rcp.tests ..... SKIPPED
[INFO] org.eclipse.recommenders.calls.rcp.tests .......... SKIPPED
[INFO] org.eclipse.recommenders.jayes.tests .............. SKIPPED
[INFO] org.eclipse.recommenders.jayes.io.tests ........... SKIPPED
[INFO] org.eclipse.recommenders.jayes.transformation.tests SKIPPED
[INFO] org.eclipse.recommenders.models.tests ............. SKIPPED
[INFO] org.eclipse.recommenders.models.rcp.tests ......... SKIPPED
[INFO] org.eclipse.recommenders.overrides.tests .......... SKIPPED
[INFO] org.eclipse.recommenders.rcp.tests ................ SKIPPED
[INFO] org.eclipse.recommenders.utils.tests .............. SKIPPED
[INFO] Features .......................................... SKIPPED
[INFO] org.eclipse.recommenders.jayes.feature ............ SKIPPED
[INFO] org.eclipse.recommenders.rcp.feature .............. SKIPPED
[INFO] org.eclipse.recommenders.mylyn.rcp.feature ........ SKIPPED
[INFO] org.eclipse.recommenders.rcp.tests.feature ........ SKIPPED
[INFO] org.eclipse.recommenders.simrel.feature ........... SKIPPED
[INFO] org.eclipse.recommenders.feature.rcp .............. SKIPPED
[INFO] Update Sites ...................................... SKIPPED
[INFO] Code Recommenders Head Update Site ................ SKIPPED
[INFO] Code Recommenders Milestones Update Site .......... SKIPPED
[INFO] Code Recommenders Stable Update Site .............. SKIPPED
[INFO] Code Recommenders Simultaneous-Release Update Site SKIPPED
[INFO] Code Recommenders Incubators Update Site .......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:15.342s
[INFO] Finished at: Thu Mar 27 00:22:22 IST 2014
[INFO] Final Memory: 200M/965M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.20.0:test (default-test) on project org.eclipse.recommenders.apidocs.rcp.tests: An unexpected error occured (return code 134). See log for details. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.eclipse.recommenders.apidocs.rcp.tests
Can you please help us with these errors?
Thanks,
Kartik