Meituan-Dianping / Meituan-Dianping/Robust
新增类未出现在patch.jar中
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.5k
- Forks
- 806
- PR merge metrics
- No merged PRs in 30d
Description
异常类型:app运行时异常
手机型号:如:Smartisan
手机系统版本:如:Android 7.0
Robust版本:如:0.4.87
Gradle版本:如:3.0.1
系统:如:Mac
堆栈/日志:
Caused by: java.lang.ClassNotFoundException: Didn't find class "operation.enmonster.com.gsoperation.gsmodules.gsmain.MyClick" on path: DexPathList[[zip file "/data/user/0/operation.enmonster.com.gsoperation/cache/robust/patch_temp.jar"],nativeLibraryDirectories=[/system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.meituan.robust.patch.MyStoreActivityPatch.initView(MyStoreActivityPatch.java:152)
at com.meituan.robust.patch.MyStoreActivityPatchControl.accessDispatch(PatchTemplate.java)
at com.meituan.robust.PatchProxy.accessDispatch(PatchProxy.java:94)
at com.meituan.robust.PatchProxy.proxy(PatchProxy.java:44)
at operation.enmonster.com.gsoperation.gsmodules.gsmain.fragment.MyStoreActivity.initView(MyStoreActivity.java)
at com.enmonster.lib.common.base.ABaseActivity.onCreate(ABaseActivity.java:59)
at android.app.Activity.performCreate(Activity.java:6813)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2805)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2927)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:159)
at android.app.ActivityThread.main(ActivityThread.java:6364)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the patch generation path and the stack trace entry point at com.meituan.robust.patch.MyStoreActivityPatch.initView, then inspect how patch_temp.jar is assembled. Reproduce the ClassNotFoundException and verify that the newly added MyClick class is present and loadable from the generated patch jar.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100