question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Run all tests under ecj

See original GitHub issue

Here’s the exact error:

ERROR: /workspace/ReactiveStopwatch/app/build/generated/source/apt/androidTest/debug/com/autonomousapps/reactivestopwatch/di/DaggerTestStopwatchComponent.java:74: The method create(Provider<Stopwatch>, Provider<Scheduler>) in the type StopwatchService_MembersInjector is not applicable for the arguments (Provider<Scheduler>, Provider<Stopwatch>)

This is bizarre. Why would the arguments be out of order? I should note that they’re not out of order for DaggerStopwatchComponent (in other words, it’s only affecting the test component in the androidTest source set).

To reproduce

This issue should be easy to reproduce. Clone my repo and checkout the commit here. Run the command ./gradlew clean sanityCheck (which compiles everything).

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ronshapirocommented, Mar 21, 2017

Eclipse is still a very popular compiler and we should make sure we support it.

0reactions
Chang-Ericcommented, Feb 2, 2021

Since it sounds like most of the issues were issues dealing with Jack and there haven’t been recent occurrences, I’m going to close this issue for now. While we do support Eclipse, I’m not sure it is worth it at this time to set up a separate mode of tests to use it. We are still of course willing to fix issues that come up with the Eclipse compiler.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JDT Core Programmer Guide/ECJ/Testing - Eclipsepedia
RunCompilerTests (or any of its constituents) as a JUnit (3) Plug-in Test suffices. For faster launching, open the "Main" page of the run...
Read more >
62010TJ0167 - EN - EUR-Lex - European Union
These features are still under development; they are not fully tested, and might reduce EUR-Lex stability. Don't forget to give your feedback! Warning!...
Read more >
some practical considerations following the ECJ Intel judgment
test : some practical considerations following the ECJ Intel judgment. The role of the 'as efficient competitor' test after the CJEU judgment in...
Read more >
lombok should run flawlessly as agent in ecj environment ...
Weird; lombok triggers on stuff inside that very jar so this works out fine in eclipse. Adding org.eclipse.jdt.jar to all OSGI ClassLoaders is...
Read more >
Role of the European Court of Justice in the Protection of the ...
According to that test, in the absence of common rules at Community ... The ECJ, after finding that all waste, recyclable or not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found