Comments (7)
@patrickhammond Yes, this is related. Does compilation and code generation complete successfully despite the stacktrace? Also, this should be fixed in upcoming 0.2.6 release and you can test it out in the current 0.2.6-SNAPSHOT.
from parceler.
It looks like compilation and code generation were occurring. Not seeing this error in 0.2.6-SNAPSHOT.
Unrelated, are there any proguard flags that are required that you're aware are needed? Running into runtime crashes in a proguarded app where Parcels line 149 (findClass) is returning a null value and causing line 135 (ParcelCodeRepository.get) to throw a ParcelerRuntimeException.
Can put together a sample project later if needed.
from parceler.
Fantastic.
Proguard is probably removing the org.parceler.Parceler$$Parcels
class which is required for the Parcels
utility class to run. Most everything else should be statically linked through that class. So this may do the trick:
-keep org.parceler.Parceler$$Parcels
@patrickhammond Could you confirm so that this could be added to the readme.
I'll also look at issuing a solid release of Parceler in the coming week.
from parceler.
This looks like the winning combination:
-keep interface org.parceler.Parcel
-keep @org.parceler.Parcel class * { *; }
-keep class **$$Parcelable { *; }
-keep class org.parceler.Parceler$$Parcels
Just sent in #15 with a minimal app using this configuration.
from parceler.
Might also consider replacing the top line with -keep interface org.parceler.**
to capture all of the annotations.
from parceler.
@patrickhammond I believe this is fixed via johncarl81/transfuse#69. Please let me know if you see this anymore.
from parceler.
Closing as I have not seen this personally or been notified of it happening. Feel free to reopen if this is witnessed again.
from parceler.
Related Issues (20)
- Ability to treat reflection warnings as errors HOT 5
- Parceler fails when used with with Lifecycle-viewmodel 2.2.0 HOT 7
- Facing Vulnerabilities in parceler library HOT 1
- Facing Vulnerabilities in parceler library HOT 1
- Polymorphism documentation not updated? HOT 6
- Cannot get working with navigation graph HOT 1
- Crashing on background HOT 4
- ParcelAnnotationProcessor.process take lot amount of time. HOT 15
- Unable to find generated Parcelable class HOT 1
- error: Parceler: Code generation did not complete successfully. HOT 47
- Cant find class to parcel ! HOT 1
- Can't generate code HOT 3
- Unable to Marshall with Parceler HOT 2
- Errors in HashMap$$PackageHelper HOT 3
- cannot running with kapt HOT 1
- Parceler: Code generation did not complete successfully. org.parceler.transfuse.transaction.TransactionRuntimeException: Encountered ErrorType <error>, unable to recover HOT 4
- [Request Feature] Support for Kotlin Symbol Processing
- Parceler code generation fails on AS 2023.3.1
- Getters and Setter Alphabetically Order for Write and Read
- Not sure how to convert a Cursor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parceler.