Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoClassDefFoundError #15

Closed
thaindq opened this issue May 16, 2018 · 4 comments
Closed

NoClassDefFoundError #15

thaindq opened this issue May 16, 2018 · 4 comments
Assignees
Labels
Milestone

Comments

@thaindq
Copy link

thaindq commented May 16, 2018

I got this error after bumping to version 0.2.1. It was running fine with 0.1.8.

Caused by: java.lang.NoClassDefFoundError: io/michaelrocks/paranoid/processor/ParanoidProcessor
	at io.michaelrocks.paranoid.plugin.ParanoidTransform.transform(ParanoidTransform.kt:44)
	at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:221)
	at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:217)
	at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:102)
	at com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:212)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
	at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:46)
	at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
	at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:121)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:110)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
	... 32 more

@MichaelRocks
Copy link
Owner

MichaelRocks commented May 16, 2018

@thaindq Thank you for this issue. Recently a started publishing repackaged artefacts to Bintray and seems this change broke non-repackaged artefacts. In the nearest future I'll remove non-repackaged artefacts but if you want to use the latest version you can replace

    classpath 'io.michaelrocks:paranoid-gradle-plugin:0.2.1'

with

    classpath 'io.michaelrocks:paranoid-gradle-plugin:0.2.1:repack'

@thaindq
Copy link
Author

thaindq commented May 17, 2018

@MichaelRocks Your solution worked, thank you.

@thaindq thaindq closed this as completed May 17, 2018
@MichaelRocks MichaelRocks reopened this May 18, 2018
@MichaelRocks
Copy link
Owner

The issue still needs to be fixed.

@MichaelRocks MichaelRocks self-assigned this May 21, 2018
@MichaelRocks MichaelRocks added this to the 0.2.2 milestone May 21, 2018
@MichaelRocks
Copy link
Owner

Should be fine now. Please update to 0.2.2 and don't use repack classifier. It's not available anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants