Using Bot-bot on popular apps like WeChat

33 views
Skip to first unread message

Wing Lam

unread,
May 11, 2017, 4:17:39 PM5/11/17
to Bot-Bot Users
Hello all,

We recently tried to use Bot-bot on the popular app, WeChat (https://play.google.com/store/apps/details?id=com.tencent.mm) and we encountered the following error. 
Does anyone have any ideas on how to resolve the error especially if we do not have access to the source code of the app? Thanks!


aop:
     [echo] Weaving aspects to .class files before dex converts .class files to .dex file
     [iajc] error at (no source information available)
     [iajc] /Users/Fred/Downloads/capture-replay/bot-bot/recorder/aspects/org/imaginea/botbot/OnTouch.aj:0::0 Internal compiler error
     [iajc] org.aspectj.weaver.BCException: Whilst processing type 'Lcom/tencent/mm/af/d$1;' - cannot cast the outer type to a reference type.  Signature=Lcom/tencent/mm/af/d; toString()=com.tencent.mm.af.d
     [iajc] when processing type mungers 
     [iajc] when weaving 
     [iajc] when batch building BuildConfig[null] #Files=10 AopXmls=#0
     [iajc] 
     [iajc]     at org.aspectj.weaver.AbstractReferenceTypeDelegate.getFormalTypeParametersFromOuterClass(AbstractReferenceTypeDelegate.java:110)
     [iajc]     at org.aspectj.weaver.bcel.BcelObjectType.ensureGenericSignatureUnpacked(BcelObjectType.java:765)
     [iajc]     at org.aspectj.weaver.bcel.BcelObjectType.getSuperclass(BcelObjectType.java:231)
     [iajc]     at org.aspectj.weaver.ReferenceType.getSuperclass(ReferenceType.java:920)
     [iajc]     at org.aspectj.weaver.bcel.BcelWeaver.weaveParentsFor(BcelWeaver.java:1303)
     [iajc]     at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1122)
     [iajc]     at org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapter.weaveQueuedEntries(AjPipeliningCompilerAdapter.java:514)
     [iajc]     at org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapter.queueForWeaving(AjPipeliningCompilerAdapter.java:447)
     [iajc]     at org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapter.afterProcessing(AjPipeliningCompilerAdapter.java:432)
     [iajc]     at org.aspectj.ajdt.internal.compiler.CompilerAdapter.ajc$after$org_aspectj_ajdt_internal_compiler_CompilerAdapter$5$6b855184(CompilerAdapter.aj:98)
     [iajc]     at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:652)
     [iajc]     at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:392)
     [iajc]     at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performCompilation(AjBuildManager.java:1027)
     [iajc]     at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performBuild(AjBuildManager.java:271)
     [iajc]     at org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:184)
     [iajc]     at org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java:112)
     [iajc]     at org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java:60)
     [iajc]     at org.aspectj.tools.ajc.Main.run(Main.java:371)
     [iajc]     at org.aspectj.tools.ajc.Main.runMain(Main.java:248)
     [iajc]     at org.aspectj.tools.ant.taskdefs.AjcTask.executeInSameVM(AjcTask.java:1240)
     [iajc]     at org.aspectj.tools.ant.taskdefs.AjcTask.execute(AjcTask.java:1050)
     [iajc]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
     [iajc]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [iajc]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [iajc]     at java.lang.reflect.Method.invoke(Method.java:606)
     [iajc]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [iajc]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [iajc]     at org.apache.tools.ant.Target.execute(Target.java:435)
     [iajc]     at org.apache.tools.ant.Target.performTasks(Target.java:456)
     [iajc]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
     [iajc]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
     [iajc]     at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
     [iajc]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
     [iajc]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
     [iajc]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
     [iajc]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [iajc]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [iajc]     at java.lang.reflect.Method.invoke(Method.java:606)
     [iajc]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [iajc]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [iajc]     at org.apache.tools.ant.Target.execute(Target.java:435)
     [iajc]     at org.apache.tools.ant.Target.performTasks(Target.java:456)
     [iajc]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
     [iajc]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
     [iajc]     at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
     [iajc]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
     [iajc]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
     [iajc]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [iajc]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [iajc]     at java.lang.reflect.Method.invoke(Method.java:606)
     [iajc]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [iajc]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [iajc]     at org.apache.tools.ant.Target.execute(Target.java:435)
     [iajc]     at org.apache.tools.ant.Target.performTasks(Target.java:456)
     [iajc]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
     [iajc]     at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
     [iajc]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [iajc]     at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
     [iajc]     at org.apache.tools.ant.Main.runBuild(Main.java:857)
     [iajc]     at org.apache.tools.ant.Main.startAnt(Main.java:236)
     [iajc]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
     [iajc]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)
     [iajc] abort ABORT -- (BCException) Whilst processing type 'Lcom/tencent/mm/af/d$1;' - cannot cast the outer type to a reference type.  Signature=Lcom/tencent/mm/af/d; toString()=com.tencent.mm.af.d
     [iajc] when processing type mungers 
     [iajc] when weaving 
     [iajc] when batch building BuildConfig[null] #Files=10 AopXmls=#0
     [iajc] 
     [iajc] Whilst processing type 'Lcom/tencent/mm/af/d$1;' - cannot cast the outer type to a reference type.  Signature=Lcom/tencent/mm/af/d; toString()=com.tencent.mm.af.d
     [iajc] when processing type mungers 
     [iajc] when weaving 
     [iajc] when batch building BuildConfig[null] #Files=10 AopXmls=#0
     [iajc] 
     [iajc] org.aspectj.weaver.BCException: Whilst processing type 'Lcom/tencent/mm/af/d$1;' - cannot cast the outer type to a reference type.  Signature=Lcom/tencent/mm/af/d; toString()=com.tencent.mm.af.d
     [iajc] when processing type mungers 
     [iajc] when weaving 
     [iajc] when batch building BuildConfig[null] #Files=10 AopXmls=#0
     [iajc] 
     [iajc]     at org.aspectj.weaver.AbstractReferenceTypeDelegate.getFormalTypeParametersFromOuterClass(AbstractReferenceTypeDelegate.java:110)
     [iajc]     at org.aspectj.weaver.bcel.BcelObjectType.ensureGenericSignatureUnpacked(BcelObjectType.java:765)
     [iajc]     at org.aspectj.weaver.bcel.BcelObjectType.getSuperclass(BcelObjectType.java:231)
     [iajc]     at org.aspectj.weaver.ReferenceType.getSuperclass(ReferenceType.java:920)
     [iajc]     at org.aspectj.weaver.bcel.BcelWeaver.weaveParentsFor(BcelWeaver.java:1303)
     [iajc]     at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1122)
     [iajc]     at org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapter.weaveQueuedEntries(AjPipeliningCompilerAdapter.java:514)
     [iajc]     at org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapter.queueForWeaving(AjPipeliningCompilerAdapter.java:447)
     [iajc]     at org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapter.afterProcessing(AjPipeliningCompilerAdapter.java:432)
     [iajc]     at org.aspectj.ajdt.internal.compiler.CompilerAdapter.ajc$after$org_aspectj_ajdt_internal_compiler_CompilerAdapter$5$6b855184(CompilerAdapter.aj:98)
     [iajc]     at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:652)
     [iajc]     at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:392)
     [iajc]     at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performCompilation(AjBuildManager.java:1027)
     [iajc]     at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performBuild(AjBuildManager.java:271)
     [iajc]     at org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:184)
     [iajc]     at org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java:112)
     [iajc]     at org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java:60)
     [iajc]     at org.aspectj.tools.ajc.Main.run(Main.java:371)
     [iajc]     at org.aspectj.tools.ajc.Main.runMain(Main.java:248)
     [iajc]     at org.aspectj.tools.ant.taskdefs.AjcTask.executeInSameVM(AjcTask.java:1240)
     [iajc]     at org.aspectj.tools.ant.taskdefs.AjcTask.execute(AjcTask.java:1050)
     [iajc]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
     [iajc]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [iajc]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [iajc]     at java.lang.reflect.Method.invoke(Method.java:606)
     [iajc]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [iajc]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [iajc]     at org.apache.tools.ant.Target.execute(Target.java:435)
     [iajc]     at org.apache.tools.ant.Target.performTasks(Target.java:456)
     [iajc]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
     [iajc]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
     [iajc]     at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
     [iajc]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
     [iajc]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
     [iajc]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
     [iajc]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [iajc]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [iajc]     at java.lang.reflect.Method.invoke(Method.java:606)
     [iajc]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [iajc]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [iajc]     at org.apache.tools.ant.Target.execute(Target.java:435)
     [iajc]     at org.apache.tools.ant.Target.performTasks(Target.java:456)
     [iajc]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
     [iajc]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
     [iajc]     at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
     [iajc]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
     [iajc]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
     [iajc]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [iajc]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [iajc]     at java.lang.reflect.Method.invoke(Method.java:606)
     [iajc]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [iajc]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [iajc]     at org.apache.tools.ant.Target.execute(Target.java:435)
     [iajc]     at org.apache.tools.ant.Target.performTasks(Target.java:456)
     [iajc]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
     [iajc]     at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
     [iajc]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [iajc]     at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
     [iajc]     at org.apache.tools.ant.Main.runBuild(Main.java:857)
     [iajc]     at org.apache.tools.ant.Main.startAnt(Main.java:236)
     [iajc]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
     [iajc]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)
     [iajc] May 10, 2017 1:17:25 AM org.aspectj.weaver.tools.Jdk14Trace info
     [iajc] INFO: Dumping to /Users/Fred/Downloads/capture-replay/bot-bot/./ajcore.20170510.011725.523.txt

BUILD FAILED

moiz virani

unread,
May 11, 2017, 4:52:30 PM5/11/17
to bot-bo...@googlegroups.com
Hey,

Glad you tried it, but this project is discontinued, I can help you guide towards using appium if you are interested.

Thanks,
Moiz

--
You received this message because you are subscribed to the Google Groups "Bot-Bot Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bot-bot-users+unsubscribe@googlegroups.com.
To post to this group, send email to bot-bo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bot-bot-users/fddb00d6-cebb-41ea-8564-48757f068af9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages