Android手机不停打印日志 failed binder transaction

百度结果没理解,还是不知道怎么解决,华为u9200手机不管在那台电脑上都一样不停打印:

!!!FAILED BINDER TRANSACTION!!!
!!!FAILED BINDER TRANSACTION!!!

12-14 13:59:51.615: W/ActivityManager(217): Permission Denial: getTasks() from pid=22820, uid=10090 requires android.permission.GET_TASKS

百度结果没理解,还是不知道怎么解决,望大神指点,十分感谢!
百度结果:
1.怎么解决FAILED BINDER TRANSACTION 这个问题???
给AppWidget注册了点击事件并每一个小时刷新一次AppWidget,点击启动一个Activity,但是程序运行几天后,AppWidget点击就不响应事件了,另外添加一个新的AppWidget,数据和时间都不显示了,所有内容都不见了,AppWidget点击就不响应事件了 ,不知道是怎么回事,请教高手帮忙解决,网上查了一些资源说是RemoteViews内存溢出,具体的不知道该怎么做?
2.FAILED BINDER TRANSACTION

因为更新时间找不到Remoteview,所以在每次更新时必须先获取Remoteview.:)appwidget和service(更新appwidget的service)是两个不同的线程!资源太多造成溢出

u013134011
Chg168168 如果联系打印 W/ActivityManager(217): Permission Denial: getTasks() from pid=22820, uid=10090 requires android.permission.GET_TASKS,添加 <uses-permission android:name="android.permission.GET_TASKS"/> 权限问题解决
大约 6 年之前 回复
u013134011
Chg168168 此问题已解决,手机开关机后就不连续打印了,谢谢!
大约 6 年之前 回复

2个回答

应用的AndroidManifest.xml文件需要加上android.permission.GET_TASKS 属性吧,已授予app应用获取task的权限。
试试这个。

WangQin_YeXiChen
April丶钦 <uses-permission android:name="android.permission.GET_TASKS" />这个权限添加进去会有一条横杠划掉,所以应该不是这个问题。
接近 4 年之前 回复

应该是 软件 病毒! 重新做下系统 应该可以解决

Our___Dream
Snmny 不会不要瞎BB
2 年多之前 回复
juaser
juaser 不会不要瞎BB
2 年多之前 回复
qq_31975507
犀利的小眼神 不会不要瞎BB
3 年多之前 回复
dahai2070
dahai2070 不会不要瞎BB
3 年多之前 回复
x7777777k
x7777777k 不会不要瞎BB
接近 4 年之前 回复
u010884814
wangyunzan123 不会不要瞎BB
接近 4 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Failed Binder Transaction
logcat一直打印Failed Binder Transaction是什么问题
Cocos2d hello项目测试 真机闪退
![图片说明](https://img-ask.csdn.net/upload/201507/19/1437298609_284718.png) ``` 07-19 17:36:06.803: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:06.823: E/NewLauncher(1712): LauncherApplication : DEBUG : isShown ==> false 07-19 17:36:07.023: E/NewLauncher(1712): LauncherApplication : DEBUG : isShown ==> false 07-19 17:36:07.063: E/NewLauncher(1712): AnimationController : ### mUnlockAnimationHasInit == false, do not play unlock animation 07-19 17:36:07.123: E/NewLauncher(1712): LauncherApplication : DEBUG : isShown ==> true 07-19 17:36:07.123: E/NewLauncher(1712): AnimationController : ### mUnlockAnimationHasInit == false, do not play unlock animation 07-19 17:36:08.093: E/NewLauncher(1712): DatabaseHandler : DEBUG : handleUpdateApps pindex=14, cindex=1 07-19 17:36:08.803: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:10.813: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:11.823: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:12.823: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:14.833: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:15.843: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:16.573: E/NewLauncher(1712): StartActivity : DEBUG : launchApplication useFlipAnim [false] 07-19 17:36:16.613: E/jdwp(30620): Failed sending reply to debugger: Broken pipe 07-19 17:36:16.733: E/AndroidRuntime(30620): FATAL EXCEPTION: main 07-19 17:36:16.733: E/AndroidRuntime(30620): Process: com.fuck.www, PID: 30620 07-19 17:36:16.733: E/AndroidRuntime(30620): java.lang.UnsatisfiedLinkError: Couldn't load cocos2dcpp from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.fuck.www-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.fuck.www-2, /vendor/lib, /system/lib]]]: findLibrary returned null 07-19 17:36:16.733: E/AndroidRuntime(30620): at java.lang.Runtime.loadLibrary(Runtime.java:375) 07-19 17:36:16.733: E/AndroidRuntime(30620): at java.lang.System.loadLibrary(System.java:526) 07-19 17:36:16.733: E/AndroidRuntime(30620): at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:207) 07-19 17:36:16.733: E/AndroidRuntime(30620): at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:222) 07-19 17:36:16.733: E/AndroidRuntime(30620): at android.app.Activity.performCreate(Activity.java:5231) 07-19 17:36:16.733: E/AndroidRuntime(30620): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 07-19 17:36:16.733: E/AndroidRuntime(30620): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2172) 07-19 17:36:16.733: E/AndroidRuntime(30620): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2268) 07-19 17:36:16.733: E/AndroidRuntime(30620): at android.app.ActivityThread.access$800(ActivityThread.java:145) 07-19 17:36:16.733: E/AndroidRuntime(30620): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206) 07-19 17:36:16.733: E/AndroidRuntime(30620): at android.os.Handler.dispatchMessage(Handler.java:102) 07-19 17:36:16.733: E/AndroidRuntime(30620): at android.os.Looper.loop(Looper.java:136) 07-19 17:36:16.733: E/AndroidRuntime(30620): at android.app.ActivityThread.main(ActivityThread.java:5086) 07-19 17:36:16.733: E/AndroidRuntime(30620): at java.lang.reflect.Method.invokeNative(Native Method) 07-19 17:36:16.733: E/AndroidRuntime(30620): at java.lang.reflect.Method.invoke(Method.java:515) 07-19 17:36:16.733: E/AndroidRuntime(30620): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888) 07-19 17:36:16.733: E/AndroidRuntime(30620): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697) 07-19 17:36:16.733: E/AndroidRuntime(30620): at dalvik.system.NativeStart.main(Native Method) 07-19 17:36:16.853: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:19.093: E/QCALOG(379): [MessageQ] ProcessNewMessage: [LOWI-SERVER] unknown deliver target [OS-Agent] 07-19 17:36:19.883: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:20.903: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:21.923: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:22.943: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:23.073: E/Parcel(290): Reading a NULL string not supported here. 07-19 17:36:23.073: E/Parcel(290): Reading a NULL string not supported here. 07-19 17:36:23.963: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:27.613: E/Parcel(290): Reading a NULL string not supported here. 07-19 17:36:27.613: E/Parcel(290): Reading a NULL string not supported here. 07-19 17:36:29.993: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:31.003: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:35.013: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:36.023: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:37.043: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:38.063: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:39.083: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:40.113: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:41.113: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:42.963: E/cutils-trace(30685): Error opening trace file: No such file or directory (2) 07-19 17:36:43.123: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:46.153: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:47.183: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:48.203: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:49.233: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:50.253: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:51.873: E/Icing(29849): Couldn't handle android.intent.action.DEVICE_STORAGE_OK intent due to initialization failure. 07-19 17:36:53.273: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:54.293: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:36:59.323: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:37:00.343: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:37:04.383: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:37:06.403: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:37:08.433: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:37:09.453: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:37:10.473: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! 07-19 17:37:11.493: E/JavaBinder(955): !!! FAILED BINDER TRANSACTION !!! ```
android项目在4.4上正常运行,在5.0以上无法运行
报这个错误后就会停止运行 !!! FAILED BINDER TRANSACTION !!! Error reporting crash android.os.TransactionTooLargeException at android.os.BinderProxy.transactNative(Native Method) at android.os.BinderProxy.transact(Binder.java:496) at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:4208) at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:89) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
androidstudio编写cmake程序ffmpeg时报的错
--------- beginning of crash 2019-12-21 14:14:46.254 6347-6381/com.zj.player A/libc: Fatal signal 4 (SIGILL), code 0, fault addr 0x18cb in tid 6381 (Thread-2) 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: Build fingerprint: 'google/android_x86/x86:7.1.2/N2G47O/V9.5.8.0.OCACNFA:/release-keys' 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: Revision: '0' 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: ABI: 'x86' 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: pid: 6347, tid: 6381, name: Thread-2 >>> com.zj.player <<< 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: signal 4 (SIGILL), code 0 (SI_USER), fault addr 0x18cb 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: eax 00000000 ebx 000018ed ecx 00000004 edx 9d5c2ff4 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: esi 9d7647e4 edi 9d84520c 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: eip 9d369fff ebp 000018cb esp 96aff6a0 flags 00000246 2019-12-21 14:14:46.313 6384-6384/? A/DEBUG: backtrace: 2019-12-21 14:14:46.313 6384-6384/? A/DEBUG: #00 pc 00209fff /system/lib/libhoudini.so --------- beginning of system 2019-12-21 14:14:46.765 1456-1477/system_process E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 60) 2019-12-21 14:14:46.766 1456-6391/system_process E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 104) 2019-12-21 14:14:46.767 1288-1288/? E/lowmemorykiller: Error writing /proc/6347/oom_score_adj; errno=22 2019-12-21 14:14:46.792 1290-1290/? E/EGL_adreno: tid 1290: eglCreateSyncKHR(2054): error 0x3004 (EGL_BAD_ATTRIBUTE) 2019-12-21 14:14:46.793 1456-1500/system_process E/InputDispatcher: channel '3c2e8ec com.zj.player/com.zj.player.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2019-12-21 14:14:46.966 1912-1977/com.android.launcher3 E/EGL_adreno: tid 1977: eglSurfaceAttrib(1323): error 0x3009 (EGL_BAD_MATCH) 2019-12-21 14:14:47.016 1456-3168/system_process E/EGL_adreno: tid 3168: eglSurfaceAttrib(1323): error 0x3009 (EGL_BAD_MATCH)
为啥报在这个错误,大佬们知道这是什么原因嘛?
``` 12-25 17:38:11.153 480-501/system_process W/WindowManagerService: Failed looking up window java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@3fa72859 does not exist at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:10882) at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:10873) at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1439) at android.os.BinderProxy.sendDeathNotice(Binder.java:551) 12-25 17:38:11.153 480-501/system_process I/WindowState: WIN DEATH: null ```
Android TransactionTooLargeException
传递数据过大,如何解决问题啊 大神们 E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 1498316) 09-15 15:52:45.159 31952-31952/? I/INFO: start and bind service failed, Exception : java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 1498316 bytes at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1430) at android.app.ContextImpl.startService(ContextImpl.java:1396) at android.content.ContextWrapper.startService(ContextWrapper.java:623) at com.baidu.trace.LBSTraceClient.b(Unknown Source) at com.baidu.trace.LBSTraceClient.startTrace(Unknown Source) at com.skx.wherecar.app.MyApp.onCreate(MyApp.java:144) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5483) at android.app.ActivityThread.-wrap2(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1602) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:163) at android.app.ActivityThread.main(ActivityThread.java:6315) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:877) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767) Caused by: android.os.TransactionTooLargeException: data parcel size 1498316 bytes at android.os.BinderProxy.transactNative(Native Method) at android.os.BinderProxy.transact(Binder.java:618) at android.app.ActivityManagerProxy.startService(ActivityManagerNative.java:4368) at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1414) at android.app.ContextImpl.startService(ContextImpl.java:1396)  at android.content.ContextWrapper.startService(ContextWrapper.java:623)  at com.baidu.trace.LBSTraceClient.b(Unknown Source)  at com.baidu.trace.LBSTraceClient.startTrace(Unknown Source)  at com.skx.wherecar.app.MyApp.onCreate(MyApp.java:144)  at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025)  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5483)  at android.app.ActivityThread.-wrap2(ActivityThread.java)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1602)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:163)  at android.app.ActivityThread.main(ActivityThread.java:6315)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:877)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767) 
ubuntu UE4 ./GenerateProjectFiles.sh fail
``` ERROR: Unable to instantiate instance of 'BenchmarkToolTarget' object type from compiled assembly 'UE4ProgramRules'. Unreal Build Tool creates an instance of your module's 'Rules' object in order to find out about your module's requirements. The CLR exception details may provide more information: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> UnrealBuildTool.BuildException: GetBuildPlatform: No BuildPlatform found for Linux at UnrealBuildTool.UEBuildPlatform.GetBuildPlatform (UnrealBuildTool.UnrealTargetPlatform InPlatform, System.Boolean bInAllowFailure) [0x0003e] in <419e2fed768047499590e1bf32bd22a2>:0 at UnrealBuildTool.TargetRules..ctor (UnrealBuildTool.TargetInfo Target) [0x002fd] in <419e2fed768047499590e1bf32bd22a2>:0 at BenchmarkToolTarget..ctor (UnrealBuildTool.TargetInfo Target) [0x00000] in <1d1f9db457f54166bfa716e4af014894>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <98fac219bd4e453693d76fda7bd96ab0>:0 --- End of inner exception stack trace --- at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00017] in <98fac219bd4e453693d76fda7bd96ab0>:0 at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in <98fac219bd4e453693d76fda7bd96ab0>:0 at System.Reflection.MonoCMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0002f] in <98fac219bd4e453693d76fda7bd96ab0>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <98fac219bd4e453693d76fda7bd96ab0>:0 ```
求大神帮忙看一下:IDEA 中springboot maven mybatis整合项目 启动报错
``` UserController.java文件: @RestController @RequestMapping("/springboot") public class UserController { @Resource(name="userInfoService") UserInfoService userInfoService; @RequestMapping("printUserInfo/{userName}") public String printUserInfo(@PathVariable String userName) { return userInfoService.printUserInfo(userName); } } ``` ``` UserInfoService.java文件: @Component(value="userInfoService") public class UserInfoService { @Autowired UserInfoMapper userInfoMapper; public String printUserInfo(String userName) { UserInfoTableCriteria userInfoTableCriteria = new UserInfoTableCriteria(); userInfoTableCriteria.setName(userName); UserInfoTableDao userInfoTableDao = userInfoMapper.query(userInfoTableCriteria); return userInfoTableDao.toString(); } public UserInfoTableDao createUserInfo(UserInfoTableDao userInfoTableDao) { UserInfoTableDao userInfoTableDaoTmp = userInfoMapper.insert(userInfoTableDao); return userInfoTableDaoTmp; } } ``` ``` UserInfoMapper.java文件 @Repository @Mapper public interface UserInfoMapper { public UserInfoTableDao query(UserInfoTableCriteria userInfoTableCriteria); // public List<UserInfoTableDao> queryList(UserInfoTableCriteria userInfoTableCriteria); public UserInfoTableDao insert(UserInfoTableDao userInfoTableDao); public UserInfoTableDao update(UserInfoTableDao userInfoTableDao); public int delete(UserInfoTableDao userInfoTableDao); } ``` ``` SpringbootApplication.java文件: @EnableTransactionManagement @SpringBootApplication @ComponentScan(basePackages = "com.maven.springboot.service") //@MapperScan(basePackages = "com.maven.springboot.mapper") public class SpringbootApplication { public static void main(String[] args) { SpringApplication.run(SpringbootApplication.class, args); } } ``` ``` 文件中namespace,resultType,parameterType对应的文件路径也是完全正确的。 UserInfoMapper.xml文件: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.maven.springboot.mapper.UserInfoMapper"> <select id="query" resultType="com.maven.springboot.entity.UserInfoTableDao" parameterType="com.maven.springboot.entity.UserInfoTableCriteria"> select id as id, name as name, sex as sex, age as age, tel as tel, address as address from userinfo where id = #{id} or name = #{name} </select> <insert id="insert" parameterType="com.maven.springboot.entity.UserInfoTableDao"> insert into userinfo(name,sex,age,tel,address) values (#{name}, #{sex}, #{age}, #{tel}, #{address}) </insert> <update id="update" parameterType="com.maven.springboot.entity.UserInfoTableDao"> update userinfo set tel = #{tel}, address = #{address} where id = #{id} </update> <delete id="delete" parameterType="com.maven.springboot.entity.UserInfoTableDao"> delete from userinfo where id = #{id} </delete> </mapper> ``` ``` application.properpties文件: #数据连接配置 spring.datasource.url=jdbc:mysql://localhost:3306/image_info_db spring.datasource.username=root spring.datasource.password=123456 #spring.datasource.driver-class-name=com.mysql.jdbc.Driver #MyBatis配置文件通配符 mybatis.mapper-locations=classpath:/mapping/*.xml ``` 一下是报错信息: 11-Nov-2019 17:52:52.140 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method [manageApp] java.lang.IllegalStateException: Error starting child at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1728) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:456) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:405) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/springboot]] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) ... 41 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userInfoService': Unsatisfied dependency expressed through field 'userInfoMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userInfoMapper' defined in file [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\springboot\WEB-INF\classes\com\maven\springboot\mapper\UserInfoMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties': Could not bind properties to 'MybatisPlusProperties' : prefix=mybatis-plus, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'mybatis-plus.configuration.mapped-statements[0].parameter-map.parameter-mappings[0]' to org.apache.ibatis.mapping.ParameterMapping at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:639) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:116) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:397) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1429) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:152) at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:132) at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:92) at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ... 42 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userInfoMapper' defined in file [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\springboot\WEB-INF\classes\com\maven\springboot\mapper\UserInfoMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties': Could not bind properties to 'MybatisPlusProperties' : prefix=mybatis-plus, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'mybatis-plus.configuration.mapped-statements[0].parameter-map.parameter-mappings[0]' to org.apache.ibatis.mapping.ParameterMapping at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1533) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1413) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:636) ... 64 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties': Could not bind properties to 'MybatisPlusProperties' : prefix=mybatis-plus, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'mybatis-plus.configuration.mapped-statements[0].parameter-map.parameter-mappings[0]' to org.apache.ibatis.mapping.ParameterMapping at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:787) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:226) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:400) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1518) ... 75 more Caused by: org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties': Could not bind properties to 'MybatisPlusProperties' : prefix=mybatis-plus, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'mybatis-plus.configuration.mapped-statements[0].parameter-map.parameter-mappings[0]' to org.apache.ibatis.mapping.ParameterMapping at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.bind(ConfigurationPropertiesBindingPostProcessor.java:110) at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:96) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1795) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:874) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:778) ... 97 more Caused by: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'mybatis-plus.configuration.mapped-statements[0].parameter-map.parameter-mappings[0]' to org.apache.ibatis.mapping.ParameterMapping at org.springframework.boot.context.properties.bind.Binder.handleBindError(Binder.java:337) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:297) at org.springframework.boot.context.properties.bind.Binder.lambda$null$1(Binder.java:385) at org.springframework.boot.context.properties.bind.Binder$Context.withSource(Binder.java:519) at org.springframework.boot.context.properties.bind.Binder$Context.access$1000(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.lambda$bindAggregate$2(Binder.java:386) at org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:106) at org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:86) at org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:71) at org.springframework.boot.context.properties.bind.CollectionBinder.bindAggregate(CollectionBinder.java:49) at org.springframework.boot.context.properties.bind.AggregateBinder.bind(AggregateBinder.java:56) at org.springframework.boot.context.properties.bind.Binder.lambda$bindAggregate$3(Binder.java:388) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.access$200(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindAggregate(Binder.java:388) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:349) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$4(Binder.java:421) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:88) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:77) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:54) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$5(Binder.java:425) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.withDataObject(Binder.java:529) at org.springframework.boot.context.properties.bind.Binder$Context.access$500(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindDataObject(Binder.java:423) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:364) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$4(Binder.java:421) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:88) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:77) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:54) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$5(Binder.java:425) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.withDataObject(Binder.java:529) at org.springframework.boot.context.properties.bind.Binder$Context.access$500(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindDataObject(Binder.java:423) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:364) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) at org.springframework.boot.context.properties.bind.Binder.lambda$null$1(Binder.java:385) at org.springframework.boot.context.properties.bind.Binder$Context.withSource(Binder.java:519) at org.springframework.boot.context.properties.bind.Binder$Context.access$1000(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.lambda$bindAggregate$2(Binder.java:386) at org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:106) at org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:86) at org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:71) at org.springframework.boot.context.properties.bind.CollectionBinder.bindAggregate(CollectionBinder.java:49) at org.springframework.boot.context.properties.bind.AggregateBinder.bind(AggregateBinder.java:56) at org.springframework.boot.context.properties.bind.Binder.lambda$bindAggregate$3(Binder.java:388) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.access$200(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindAggregate(Binder.java:388) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:349) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$4(Binder.java:421) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:88) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:77) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:54) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$5(Binder.java:425) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.withDataObject(Binder.java:529) at org.springframework.boot.context.properties.bind.Binder$Context.access$500(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindDataObject(Binder.java:423) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:364) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$4(Binder.java:421) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:88) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:77) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:54) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$5(Binder.java:425) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.withDataObject(Binder.java:529) at org.springframework.boot.context.properties.bind.Binder$Context.access$500(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindDataObject(Binder.java:423) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:364) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:281) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:211) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:198) at org.springframework.boot.context.properties.ConfigurationPropertiesBinder.bind(ConfigurationPropertiesBinder.java:89) at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.bind(ConfigurationPropertiesBindingPostProcessor.java:107) ... 111 more Caused by: java.lang.IllegalStateException: Failed to extract parameter names for org.apache.ibatis.mapping.ParameterMapping(org.apache.ibatis.mapping.ParameterMapping$1) at org.springframework.util.Assert.state(Assert.java:94) at org.springframework.boot.context.properties.bind.ValueObjectBinder$DefaultValueObject.parseConstructorParameters(ValueObjectBinder.java:178) at org.springframework.boot.context.properties.bind.ValueObjectBinder$DefaultValueObject.<init>(ValueObjectBinder.java:173) at org.springframework.boot.context.properties.bind.ValueObjectBinder$DefaultValueObject.get(ValueObjectBinder.java:218) at org.springframework.boot.context.properties.bind.ValueObjectBinder$DefaultValueObject.get(ValueObjectBinder.java:206) at org.springframework.boot.context.properties.bind.ValueObjectBinder$ValueObject.get(ValueObjectBinder.java:112) at org.springframework.boot.context.properties.bind.ValueObjectBinder.bind(ValueObjectBinder.java:51) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$5(Binder.java:425) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.withDataObject(Binder.java:529) at org.springframework.boot.context.properties.bind.Binder$Context.access$500(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindDataObject(Binder.java:423) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:364) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) ... 190 more 11-Nov-2019 17:52:52.452 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method [createStandardContext] javax.management.RuntimeOperationsException: Exception invoking method [manageApp] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:298) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:456) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:405) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Error starting child at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1728) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289) ... 33 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/springboot]] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) ... 41 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userInfoService': Unsatisfied dependency expressed through field 'userInfoMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userInfoMapper' defined in file [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\springboot\WEB-INF\classes\com\maven\springboot\mapper\UserInfoMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties': Could not bind properties to 'MybatisPlusProperties' : prefix=mybatis-plus, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'mybatis-plus.configuration.mapped-statements[0].parameter-map.parameter-mappings[0]' to org.apache.ibatis.mapping.ParameterMapping at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:639) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:116) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:397) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1429) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:152) at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:132) at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:92) at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ... 42 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userInfoMapper' defined in file [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\springboot\WEB-INF\classes\com\maven\springboot\mapper\UserInfoMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties': Could not bind properties to 'MybatisPlusProperties' : prefix=mybatis-plus, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'mybatis-plus.configuration.mapped-statements[0].parameter-map.parameter-mappings[0]' to org.apache.ibatis.mapping.ParameterMapping at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1533) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1413) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:636) ... 64 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties': Could not bind properties to 'MybatisPlusProperties' : prefix=mybatis-plus, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'mybatis-plus.configuration.mapped-statements[0].parameter-map.parameter-mappings[0]' to org.apache.ibatis.mapping.ParameterMapping at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:787) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:226) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:400) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1518) ... 75 more Caused by: org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties': Could not bind properties to 'MybatisPlusProperties' : prefix=mybatis-plus, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'mybatis-plus.configuration.mapped-statements[0].parameter-map.parameter-mappings[0]' to org.apache.ibatis.mapping.ParameterMapping at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.bind(ConfigurationPropertiesBindingPostProcessor.java:110) at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:96) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1795) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:874) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:778) ... 97 more Caused by: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'mybatis-plus.configuration.mapped-statements[0].parameter-map.parameter-mappings[0]' to org.apache.ibatis.mapping.ParameterMapping at org.springframework.boot.context.properties.bind.Binder.handleBindError(Binder.java:337) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:297) at org.springframework.boot.context.properties.bind.Binder.lambda$null$1(Binder.java:385) at org.springframework.boot.context.properties.bind.Binder$Context.withSource(Binder.java:519) at org.springframework.boot.context.properties.bind.Binder$Context.access$1000(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.lambda$bindAggregate$2(Binder.java:386) at org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:106) at org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:86) at org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:71) at org.springframework.boot.context.properties.bind.CollectionBinder.bindAggregate(CollectionBinder.java:49) at org.springframework.boot.context.properties.bind.AggregateBinder.bind(AggregateBinder.java:56) at org.springframework.boot.context.properties.bind.Binder.lambda$bindAggregate$3(Binder.java:388) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.access$200(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindAggregate(Binder.java:388) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:349) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$4(Binder.java:421) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:88) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:77) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:54) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$5(Binder.java:425) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.withDataObject(Binder.java:529) at org.springframework.boot.context.properties.bind.Binder$Context.access$500(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindDataObject(Binder.java:423) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:364) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$4(Binder.java:421) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:88) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:77) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:54) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$5(Binder.java:425) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.withDataObject(Binder.java:529) at org.springframework.boot.context.properties.bind.Binder$Context.access$500(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindDataObject(Binder.java:423) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:364) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) at org.springframework.boot.context.properties.bind.Binder.lambda$null$1(Binder.java:385) at org.springframework.boot.context.properties.bind.Binder$Context.withSource(Binder.java:519) at org.springframework.boot.context.properties.bind.Binder$Context.access$1000(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.lambda$bindAggregate$2(Binder.java:386) at org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:106) at org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:86) at org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:71) at org.springframework.boot.context.properties.bind.CollectionBinder.bindAggregate(CollectionBinder.java:49) at org.springframework.boot.context.properties.bind.AggregateBinder.bind(AggregateBinder.java:56) at org.springframework.boot.context.properties.bind.Binder.lambda$bindAggregate$3(Binder.java:388) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.access$200(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindAggregate(Binder.java:388) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:349) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$4(Binder.java:421) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:88) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:77) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:54) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$5(Binder.java:425) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.withDataObject(Binder.java:529) at org.springframework.boot.context.properties.bind.Binder$Context.access$500(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindDataObject(Binder.java:423) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:364) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$4(Binder.java:421) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:88) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:77) at org.springframework.boot.context.properties.bind.JavaBeanBinder.bind(JavaBeanBinder.java:54) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$5(Binder.java:425) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.withDataObject(Binder.java:529) at org.springframework.boot.context.properties.bind.Binder$Context.access$500(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindDataObject(Binder.java:423) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:364) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:281) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:211) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:198) at org.springframework.boot.context.properties.ConfigurationPropertiesBinder.bind(ConfigurationPropertiesBinder.java:89) at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.bind(ConfigurationPropertiesBindingPostProcessor.java:107) ... 111 more Caused by: java.lang.IllegalStateException: Failed to extract parameter names for org.apache.ibatis.mapping.ParameterMapping(org.apache.ibatis.mapping.ParameterMapping$1) at org.springframework.util.Assert.state(Assert.java:94) at org.springframework.boot.context.properties.bind.ValueObjectBinder$DefaultValueObject.parseConstructorParameters(ValueObjectBinder.java:178) at org.springframework.boot.context.properties.bind.ValueObjectBinder$DefaultValueObject.<init>(ValueObjectBinder.java:173) at org.springframework.boot.context.properties.bind.ValueObjectBinder$DefaultValueObject.get(ValueObjectBinder.java:218) at org.springframework.boot.context.properties.bind.ValueObjectBinder$DefaultValueObject.get(ValueObjectBinder.java:206) at org.springframework.boot.context.properties.bind.ValueObjectBinder$ValueObject.get(ValueObjectBinder.java:112) at org.springframework.boot.context.properties.bind.ValueObjectBinder.bind(ValueObjectBinder.java:51) at org.springframework.boot.context.properties.bind.Binder.lambda$bindDataObject$5(Binder.java:425) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:543) at org.springframework.boot.context.properties.bind.Binder$Context.withDataObject(Binder.java:529) at org.springframework.boot.context.properties.bind.Binder$Context.access$500(Binder.java:486) at org.springframework.boot.context.properties.bind.Binder.bindDataObject(Binder.java:423) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:364) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) ... 190 more
springcloud stream 整合 rabbitmq Error creating bean with name 'org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry'
在springcloud 一个自学项目中 整合springcloud stream +rabbitmq 集群出现问题 我的rabbitmq环境如图: ![图片说明](https://img-ask.csdn.net/upload/202002/02/1580634055_471846.png) 服务是正常的这里贴上192.168.106.10的rabbitmq ![图片说明](https://img-ask.csdn.net/upload/202002/02/1580634136_973917.png) 下面上我的application。yml ![图片说明](https://img-ask.csdn.net/upload/202002/02/1580634205_509161.png) 这里会标红 我也不大清楚为什么 接口信息: public interface LogOutSource { String OUTPUT_CHANNEL = "ehcmsLogOutChannel"; @Output(LogOutSource.OUTPUT_CHANNEL) MessageChannel ehccardLogOut(); } 服务生产端: @Service @EnableBinding(value = { LogOutSource.class }) public class RabbitSender { @Autowired LogOutSource logOutSource; public String sendMessage(Object message){ Message<String> build = MessageBuilder.withPayload(message.toString()).build(); System.out.println("*************发送数据***************"); boolean isSend = logOutSource.ehccardLogOut().send(build); System.out.println(" ###### 发送状态="+isSend+" ###### "); return null; } } 这样启动的话会报错: ``` org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:208) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.DefaultLifecycleProcessor.getLifecycleBeans(DefaultLifecycleProcessor.java:289) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.DefaultLifecycleProcessor.stopBeans(DefaultLifecycleProcessor.java:195) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.DefaultLifecycleProcessor.stop(DefaultLifecycleProcessor.java:116) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.stop(AbstractApplicationContext.java:1353) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.DefaultLifecycleProcessor.doStop(DefaultLifecycleProcessor.java:251) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.DefaultLifecycleProcessor.access$300(DefaultLifecycleProcessor.java:53) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.stop(DefaultLifecycleProcessor.java:377) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.DefaultLifecycleProcessor.stopBeans(DefaultLifecycleProcessor.java:210) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.DefaultLifecycleProcessor.onClose(DefaultLifecycleProcessor.java:128) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1018) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:975) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) [?:1.8.0_191] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [?:1.8.0_191] at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1625) [?:1.8.0_191] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) [?:1.8.0_191] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) [?:1.8.0_191] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:1.8.0_191] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:1.8.0_191] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:1.8.0_191] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:1.8.0_191] at org.springframework.cloud.stream.binder.DefaultBinderFactory.destroy(DefaultBinderFactory.java:94) [spring-cloud-stream-2.1.0.RELEASE.jar:2.1.0.RELEASE] at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:258) [spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:571) [spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:543) [spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:1036) [spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:504) [spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:1029) [spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1057) [spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:562) [spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:311) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at com.ydwy.EhcmsEhcardApplication.main(EhcmsEhcardApplication.java:16) [classes/:?] 2020-02-02 17:05:16.366 INFO 2863 --- [ main] o.s.i.m.IntegrationMBeanExporter : Summary on shutdown: ehcmsLogOutChannel 2020-02-02 17:05:16.366 INFO 2863 --- [ main] o.s.i.m.IntegrationMBeanExporter : Summary on shutdown: nullChannel 2020-02-02 17:05:16.366 INFO 2863 --- [ main] o.s.i.m.IntegrationMBeanExporter : Summary on shutdown: errorChannel 2020-02-02 17:05:16.366 INFO 2863 --- [ main] o.s.i.m.IntegrationMBeanExporter : Summary on shutdown: _org.springframework.integration.errorLogger.handler 2020-02-02 17:05:16.367 INFO 2863 --- [ main] f.a.ReferenceAnnotationBeanPostProcessor : org.apache.dubbo.common.bytecode.proxy0@3f803fae was destroying! 2020-02-02 17:05:16.367 INFO 2863 --- [ main] f.a.ReferenceAnnotationBeanPostProcessor : org.apache.dubbo.common.bytecode.proxy0@3f803fae was destroying! 2020-02-02 17:05:16.367 INFO 2863 --- [ main] f.a.ReferenceAnnotationBeanPostProcessor : org.apache.dubbo.common.bytecode.proxy0@3f803fae was destroying! 2020-02-02 17:05:16.367 INFO 2863 --- [ main] f.a.ReferenceAnnotationBeanPostProcessor : class org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor was destroying! 2020-02-02 17:05:16.372 WARN 2863 --- [ main] o.s.b.c.e.EventPublishingRunListener : Error calling ApplicationEventListener java.lang.IllegalStateException: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@301aa982 has not been refreshed yet at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1092) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1104) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.ApplicationListenerMethodAdapter.getTargetBean(ApplicationListenerMethodAdapter.java:288) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:258) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:179) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:142) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:158) [spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) [spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.boot.context.event.EventPublishingRunListener.failed(EventPublishingRunListener.java:123) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplicationRunListeners.callFailedListener(SpringApplicationRunListeners.java:90) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplicationRunListeners.failed(SpringApplicationRunListeners.java:83) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:792) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:321) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at com.ydwy.EhcmsEhcardApplication.main(EhcmsEhcardApplication.java:16) [classes/:?] 2020-02-02 17:05:16.372 INFO 2863 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-02-02 17:05:16.507 ERROR 2863 --- [ main] o.s.b.SpringApplication : Application run failed org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.cloud.client.discovery.DiscoveryClient' available at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:346) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:337) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1123) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at com.alibaba.cloud.dubbo.registry.SpringCloudRegistryFactory.init(SpringCloudRegistryFactory.java:74) ~[spring-cloud-alibaba-dubbo-2.1.0.RELEASE.jar:2.1.0.RELEASE] at com.alibaba.cloud.dubbo.registry.SpringCloudRegistryFactory.getRegistry(SpringCloudRegistryFactory.java:84) ~[spring-cloud-alibaba-dubbo-2.1.0.RELEASE.jar:2.1.0.RELEASE] at org.apache.dubbo.registry.RegistryFactory$Adaptive.getRegistry(RegistryFactory$Adaptive.java) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.registry.integration.RegistryProtocol.getRegistry(RegistryProtocol.java:298) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:212) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:120) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:61) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:59) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:607) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:457) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:415) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:378) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:336) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:114) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:60) ~[dubbo-2.7.3.jar:2.7.3] at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:896) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:161) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:311) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at com.ydwy.EhcmsEhcardApplication.main(EhcmsEhcardApplication.java:16) [classes/:?] ``` 虽然报错了 但是rabbitmq那边已经出现了这个交换机: ![图片说明](https://img-ask.csdn.net/upload/202002/02/1580634458_252922.png)
Android Binder 跨进程传递对象的本质
之前看过一些对Binder的分析,存在一个问题没有理解,问题是:Binder驱动实现对象传递的本质是传递什么?是地址?还是什么? 两个对象在不同的进程中,如何引用其它进程中的对象? 我想知道传递的本质。
Android Binder 疑惑???
1.一个进程被创建时,Native层的ProcessState::self()会依次调用open(),ioctl(),mmap()在Binder驱动中注册,这里新进程的Binder对象都还没new出来,这里注册的是什么? 2.若一个进程有多个Binder,每个Binder都想在ServiceManager中注册,此操作势必经过驱动,驱动会为这些Binder生成对应的binder_node吗?也就是说驱动里保存了一条进程的多个Binder吗?
关于华为荣耀手机程序运行时闪退的问题?
关于华为荣耀手机程序运行时闪退的问题? 请大佬们帮忙看看是什么原因啊,在此先多谢各位大佬了 ``` 2019-09-06 14:08:47.726 12620-12639/? E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist! 2019-09-06 14:08:47.787 1790-3421/? E/HsmCoreServiceImpl: onTransact in code is: 102 2019-09-06 14:08:47.940 12603-12617/? E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist! 2019-09-06 14:08:47.986 1790-11981/? E/HsmCoreServiceImpl: onTransact in code is: 102 2019-09-06 14:08:48.419 1313-3804/? E/WifiService: enforceCanAccessScanResults: hiding ssid and bssidUID 10351 has no location permission 2019-09-06 14:08:48.425 12479-12479/? E/nt.mm:appbrand: Invalid ID 0x00000000. 2019-09-06 14:08:48.429 1313-3804/? E/WifiService: enforceCanAccessScanResults: hiding ssid and bssidUID 10351 has no location permission 2019-09-06 14:08:49.287 720-720/? E/Thermal-daemon: [flash_led] temp_new :39 temp_old :38 2019-09-06 14:08:49.290 720-720/? E/Thermal-daemon: Report temperature: [flash_led] temp :39 report_threshold:1 2019-09-06 14:08:49.290 720-720/? E/Thermal-daemon: [charger_ic] temp_new :40 temp_old :39 2019-09-06 14:08:49.292 720-720/? E/Thermal-daemon: Report temperature: [charger_ic] temp :40 report_threshold:1 2019-09-06 14:08:49.295 720-720/? E/Thermal-daemon: [ap] temp_new :39 temp_old :38 2019-09-06 14:08:49.298 720-720/? E/Thermal-daemon: Report temperature: [ap] temp :39 report_threshold:1 2019-09-06 14:08:49.661 1313-3804/? E/WifiService: enforceCanAccessScanResults: hiding ssid and bssidUID 10351 has no location permission 2019-09-06 14:08:49.811 624-624/? E/WifiHAL: enter wifi_get_link_stats 2019-09-06 14:08:49.821 1313-1519/? E/WificondControl: Noise: -92, Snr: 0, Chload: -1 2019-09-06 14:08:50.863 12479-12568/? E/[HOTFIX]: [ThreadDexHotfixMonitor]Bind hotfix monitor service fail! 2019-09-06 14:08:52.225 12620-12743/? E/[HOTFIX]: [ThreadDexHotfixMonitor]Bind hotfix monitor service fail! 2019-09-06 14:08:52.230 12603-12747/? E/[HOTFIX]: [ThreadDexHotfixMonitor]Bind hotfix monitor service fail! 2019-09-06 14:08:52.800 717-12927/? E/HwExtendedCodec: mime: audio/vorbis matching compontent failed! 2019-09-06 14:08:52.827 624-624/? E/WifiHAL: enter wifi_get_link_stats 2019-09-06 14:08:52.844 1313-1519/? E/WificondControl: Noise: -92, Snr: 0, Chload: -1 2019-09-06 14:08:52.926 724-11678/? E/OMXNodeInstance: setConfig(0xf2f29c20:google.vorbis.decoder, ??(0x6f700006)) ERROR: Undefined(0x80001001) 2019-09-06 14:08:52.929 724-11339/? E/OMXNodeInstance: setConfig(0xf2f29c20:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001) 2019-09-06 14:08:53.488 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:08:53.488 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:08:53.488 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:08:53.489 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:08:53.489 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:08:53.489 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:08:53.684 1313-1519/? E/WificondControl: Noise: -92, Snr: 0, Chload: -1 2019-09-06 14:08:54.299 720-720/? E/Thermal-daemon: [battery] temp_new :37 temp_old :35 2019-09-06 14:08:54.301 720-720/? E/Thermal-daemon: Report temperature: [battery] temp :37 report_threshold:1 2019-09-06 14:08:54.302 720-720/? E/Thermal-daemon: [charger_ic] temp_new :41 temp_old :40 2019-09-06 14:08:54.304 720-720/? E/Thermal-daemon: Report temperature: [charger_ic] temp :41 report_threshold:1 2019-09-06 14:09:15.807 13033-11766/? A/google-breakpad: Microdump skipped (uninteresting) 2019-09-06 14:09:15.827 1790-3421/? E/HsmCoreServiceImpl: onTransact in code is: 103 2019-09-06 14:09:15.896 13035-11766/? A/google-breakpad: -----BEGIN BREAKPAD MICRODUMP----- 2019-09-06 14:09:15.896 13035-11766/? A/google-breakpad: V UNKNOWN:0.0.0.0 2019-09-06 14:09:15.896 13035-11766/? A/google-breakpad: O A arm 08 armv8l 4.9.111 #1 SMP PREEMPT Fri Mar 29 23:12:42 CST 2019 2019-09-06 14:09:15.896 13035-11766/? A/google-breakpad: P UNKNOWN 2019-09-06 14:09:15.896 13035-11766/? A/google-breakpad: G UNKNOWN 2019-09-06 14:09:15.899 13035-11766/? A/google-breakpad: H 12C00000 FFFF1000 00C4 2CE75000 6DFBE000 0C:41 0D:31 0E:19 0F:10 10:0E 11:04 12:0C 13:02 14:01 15:03 16:01 17:01 1C:01 1D:02 2019-09-06 14:09:15.899 13035-11766/? A/google-breakpad: -----starting crashing thread----- 2019-09-06 14:09:15.914 11758-11766/? A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6ab0bc in tid 11766 (FinalizerDaemon), pid 11758 (ncent.tmgp.zrwp) 2019-09-06 14:09:15.950 1313-12028/? E/WifiService: enforceCanAccessScanResults: hiding ssid and bssidUID 10351 has no location permission 2019-09-06 14:09:16.041 13042-13042/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 2019-09-06 14:09:16.042 13042-13042/? A/DEBUG: Build fingerprint: 'HONOR/STF-AL00/HWSTF:9/HUAWEISTF-AL00/179C00R1:user/release-keys' 2019-09-06 14:09:16.042 13042-13042/? A/DEBUG: Revision: '0' 2019-09-06 14:09:16.042 13042-13042/? A/DEBUG: ABI: 'arm' 2019-09-06 14:09:16.042 13042-13042/? A/DEBUG: pid: 11758, tid: 11766, name: FinalizerDaemon >>> com.tencent.tmgp.zrwp <<< 2019-09-06 14:09:16.042 13042-13042/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6ab0bc 2019-09-06 14:09:16.042 13042-13042/? A/DEBUG: r0 006ab0b8 r1 00000000 r2 006ab0b8 r3 6a6099ca 2019-09-06 14:09:16.042 13042-13042/? A/DEBUG: r4 006ab0b8 r5 00000000 r6 e93e01d8 r7 e93e01d8 2019-09-06 14:09:16.042 13042-13042/? A/DEBUG: r8 00000000 r9 00000000 r10 e93e01ec r11 6f92ef18 2019-09-06 14:09:16.042 13042-13042/? A/DEBUG: ip eaeecd08 sp c7ee04e0 lr e934af41 pc e934aefc 2019-09-06 14:09:16.071 1313-3804/? E/WifiService: enforceCanAccessScanResults: hiding ssid and bssidUID 10351 has no location permission 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: backtrace: 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #00 pc 0002fefc /system/lib/libcrypto.so (ASN1_primitive_free+36) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #01 pc 0002ff3d /system/lib/libcrypto.so (ASN1_primitive_free+100) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #02 pc 0002fd71 /system/lib/libcrypto.so (asn1_item_combine_free+160) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #03 pc 0002fd71 /system/lib/libcrypto.so (asn1_item_combine_free+160) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #04 pc 0002fd71 /system/lib/libcrypto.so (asn1_item_combine_free+160) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #05 pc 0002fcad /system/lib/libcrypto.so (ASN1_item_free+20) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #06 pc 000160c3 /system/framework/arm/boot-conscrypt.oat (offset 0x16000) (com.android.org.conscrypt.NativeCrypto.ASN1_TIME_to_Calendar [DEDUPED]+130) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #07 pc 0002e027 /system/framework/arm/boot-conscrypt.oat (offset 0x16000) (com.android.org.conscrypt.OpenSSLX509Certificate.finalize+70) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #08 pc 0018f7bf /system/framework/arm/boot-core-libart.oat (offset 0x8d000) (java.lang.Daemons$FinalizerDaemon.doFinalize+86) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #09 pc 0018fa1b /system/framework/arm/boot-core-libart.oat (offset 0x8d000) (java.lang.Daemons$FinalizerDaemon.runInternal+466) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #10 pc 0012b2ab /system/framework/arm/boot-core-libart.oat (offset 0x8d000) (java.lang.Daemons$Daemon.run+66) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #11 pc 00270911 /system/framework/arm/boot.oat (offset 0x132000) (java.lang.Thread.run+64) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #12 pc 00430375 /system/lib/libart.so (art_quick_invoke_stub_internal+68) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #13 pc 004091a1 /system/lib/libart.so (art_quick_invoke_stub+224) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #14 pc 000a4901 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #15 pc 00365029 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+52) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #16 pc 00365dbd /system/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+316) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #17 pc 00387d19 /system/lib/libart.so (art::Thread::CreateCallback(void*)+900) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #18 pc 00065ab3 /system/lib/libc.so (__pthread_start(void*)+22) 2019-09-06 14:09:16.089 13042-13042/? A/DEBUG: #19 pc 0001e975 /system/lib/libc.so (__start_thread+32) 2019-09-06 14:09:16.099 11758-11758/? E/ncent.tmgp.zrw: No implementation found for java.lang.String com.tencent.bugly.crashreport.crash.jni.NativeCrashHandler.regist(java.lang.String, boolean, int) (tried Java_com_tencent_bugly_crashreport_crash_jni_NativeCrashHandler_regist and Java_com_tencent_bugly_crashreport_crash_jni_NativeCrashHandler_regist__Ljava_lang_String_2ZI) 2019-09-06 14:09:16.242 1313-4246/? E/WifiService: enforceCanAccessScanResults: hiding ssid and bssidUID 10351 has no location permission 2019-09-06 14:09:16.386 1845-1861/? E/OPCollectLog: HwForegroundAppAction:duplicate pkgName. 2019-09-06 14:09:16.416 11758-13071/? E/ncent.tmgp.zrw: No implementation found for java.lang.String com.tencent.bugly.crashreport.crash.jni.NativeCrashHandler.regist(java.lang.String, boolean, int) (tried Java_com_tencent_bugly_crashreport_crash_jni_NativeCrashHandler_regist and Java_com_tencent_bugly_crashreport_crash_jni_NativeCrashHandler_regist__Ljava_lang_String_2ZI) 2019-09-06 14:09:16.459 11758-11819/? E/AwareLog: eglSlice: report time too small 2019-09-06 14:09:17.018 624-624/? E/WifiHAL: enter wifi_get_link_stats 2019-09-06 14:09:17.029 1313-1519/? E/WificondControl: Noise: -92, Snr: 0, Chload: -1 2019-09-06 14:09:17.037 629-629/? E/HWComposer: presentAndGetReleaseFences: present failed for display 0: NotValidated (7) 2019-09-06 14:09:17.052 733-733/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_02 2019-09-06 14:09:17.062 732-2789/? E/iMonitor: FaultDetect: DUMPTOOL_PRINTF return. 2019-09-06 14:09:17.090 623-623/? E/TS_Service: hwTsSetAftAlgoOrientation 2019-09-06 14:09:17.103 732-2789/? E/iMonitor: FaultDetect: DUMPTOOL_PRINTF return. 2019-09-06 14:09:17.103 732-2789/? E/iMonitor: FaultDetect: DUMPTOOL_PRINTF return. 2019-09-06 14:09:17.109 732-2789/? E/iMonitor: FaultDetect: DUMPTOOL_PRINTF return. 2019-09-06 14:09:17.110 732-2789/? E/iMonitor: FaultDetect: DUMPTOOL_PRINTF return. 2019-09-06 14:09:17.110 732-2789/? E/iMonitor: FaultDetect: DUMPTOOL_PRINTF return. 2019-09-06 14:09:17.111 732-2789/? E/iMonitor: FaultDetect: DUMPTOOL_PRINTF return. 2019-09-06 14:09:17.152 725-805/? E/AwareLog: iawared: change_property_content open /proc/11758/task/11799/static_vip fail errno(2)! 2019-09-06 14:09:17.170 1881-3034/? E/AwareLog: SPKSchedFeature: Uid has been sent, ignore. 2019-09-06 14:09:17.200 1313-1499/? E/InputDispatcher: channel '316a469 com.tencent.tmgp.zrwp/com.tencent.midas.proxyactivity.APMidasPayProxyActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2019-09-06 14:09:17.200 1313-1499/? E/InputDispatcher: channel '601333 com.tencent.tmgp.zrwp/com.tencent.midas.proxyactivity.APMidasPayProxyActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2019-09-06 14:09:17.214 1881-3092/? E/AwareLog: GameSdkConfigReader: GameSdkLog: idNameMap: null 2019-09-06 14:09:17.229 1313-1499/? E/InputDispatcher: channel 'c46b993 com.tencent.tmgp.zrwp/com.xmen.main.AppActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2019-09-06 14:09:17.297 1313-1352/? E/ActivityManager: Failed to schedule configuration change android.os.DeadObjectException at android.os.BinderProxy.transactNative(Native Method) at android.os.BinderProxy.transact(Binder.java:1147) at android.app.IApplicationThread$Stub$Proxy.scheduleTransaction(IApplicationThread.java:1900) at android.app.servertransaction.ClientTransaction.schedule(ClientTransaction.java:129) at com.android.server.am.ClientLifecycleManager.scheduleTransaction(ClientLifecycleManager.java:47) at com.android.server.am.ClientLifecycleManager.scheduleTransaction(ClientLifecycleManager.java:100) at com.android.server.am.ActivityManagerService.updateGlobalConfigurationLocked(ActivityManagerService.java:24536) at com.android.server.am.ActivityManagerService.updateDisplayOverrideConfigurationLocked(ActivityManagerService.java:24650) at com.android.server.am.ActivityManagerService.updateDisplayOverrideConfiguration(ActivityManagerService.java:24615) at com.android.server.wm.WindowManagerService.sendNewConfiguration(WindowManagerService.java:5075) at com.android.server.wm.WindowManagerService$H.handleMessage(WindowManagerService.java:5606) at android.os.Handler.dispatchMessage(Handler.java:109) at android.os.Looper.loop(Looper.java:207) at android.os.HandlerThread.run(HandlerThread.java:65) at com.android.server.ServiceThread.run(ServiceThread.java:44) 2019-09-06 14:09:17.308 9088-9088/? E/HiBoard_LauncherOverlayService: IllegalArgumentException, mWorkspace have not attach,errmsg:View=com.huawei.intelligent.ui.view.Workspace{80ef296 V.E...... ......I. 0,0-0,0} not attached to window manager 2019-09-06 14:09:17.320 9101-9101/? E/HiSearch9.11.6.301: [LauncherOverlayService]: IllegalArgumentException, mWorkspace have not attach and e: View=com.huawei.search.ui.views.Workspace{6b052d5 VFE...C.. ......I. 0,0-0,0} not attached to window manager 2019-09-06 14:09:17.326 1790-11981/? E/HsmCoreServiceImpl: onTransact in code is: 102 2019-09-06 14:09:17.326 1881-3092/? E/AwareLog: GameSdkConfigReader: GameSdkLog: idNameMap: null 2019-09-06 14:09:17.330 1790-1992/? E/Hicom_PolicyCenterService: handleAppDied. null == mMultipathAppsMap 2019-09-06 14:09:17.337 1790-1992/? E/XEngineMpipControl: Invalid SubId 2019-09-06 14:09:17.351 12661-12661/? E/DataSrv-9.3.0.304-O-0709-00:28-PackageUtils: NameNotFoundException: service apk is not installed 2019-09-06 14:09:17.355 725-805/? E/AwareLog: iawared: unknown message:157 2019-09-06 14:09:17.355 725-805/? E/AwareLog: iawared: change_property_content open /proc/11758/task/11796/static_vip fail errno(2)! 2019-09-06 14:09:17.355 725-805/? E/AwareLog: iawared: getProcCpuset open /proc/11758/task/11758/cpuset fail errno(2)! 2019-09-06 14:09:17.355 725-805/? E/AwareLog: iawared: getProcCpuset open /proc/11758/task/11758/cpuset fail errno(2)! 2019-09-06 14:09:17.363 1790-1811/? E/HsmCoreServiceImpl: onTransact in code is: 103 2019-09-06 14:09:17.401 1914-2088/? E/HwLauncher: SettingsEx , no such field. 2019-09-06 14:09:17.404 1675-1675/? E/ndroid.systemu: No package ID ff found for ID 0xffffffff. 2019-09-06 14:09:17.413 1675-1675/? E/ndroid.systemu: No package ID ff found for ID 0xffffffff. 2019-09-06 14:09:17.422 1790-1811/? E/HsmCoreServiceImpl: onTransact in code is: 103 2019-09-06 14:09:17.424 4509-4703/? E/[HwRecSys]HwRecSysService: getIsRportDirectService is false! 2019-09-06 14:09:17.469 1313-1813/? E/ProcessInfoCollector: getProcessInfo: failed to find this proc 2019-09-06 14:09:17.474 13106-13106/? E/ndroid.contact: Not starting debugger since process cannot load the jdwp agent. 2019-09-06 14:09:17.498 3861-3861/? E/UI-KeyboardView: EnShiftState.reset() failed! mKeyboard is null 2019-09-06 14:09:17.500 1790-11981/? E/HsmCoreServiceImpl: onTransact in code is: 102 2019-09-06 14:09:17.604 3861-3861/? E/CrashInfoComponent: [ SogouIME:onInitializeInterface 2019-09-06 14:09:17:595 ] 2019-09-06 14:09:17.604 3861-3861/? E/CrashInfoComponent: [ MainImeServiceDel:onInitializeInterface start 2019-09-06 14:09:17:604 ] 2019-09-06 14:09:17.705 1313-1519/? E/WificondControl: Noise: -92, Snr: 0, Chload: -1 2019-09-06 14:09:17.757 13106-13131/? E/Contacts: RcsFeatureManager isRcsEnabled = true 2019-09-06 14:09:17.812 3861-3861/? E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: /data/user/0/com.sohu.inputmethod.sogou/files/.theme/sogou_custom/res/composing_bg.png (No such file or directory) 2019-09-06 14:09:17.814 1313-1813/? E/ProcessInfoCollector: getProcessInfo: failed to find this proc 2019-09-06 14:09:17.819 13140-13140/? E/d.process.acor: Not starting debugger since process cannot load the jdwp agent. 2019-09-06 14:09:17.831 3861-3861/? E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: /data/user/0/com.sohu.inputmethod.sogou/files/.theme/sogou_custom/res/composing_bg.png (No such file or directory) 2019-09-06 14:09:17.847 1790-26786/? E/HsmCoreServiceImpl: onTransact in code is: 102 2019-09-06 14:09:17.901 13106-13122/? E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist! 2019-09-06 14:09:18.205 13106-13106/? E/Contacts: AlphaScroller Resources.NotFoundException in AlphaScroller 2019-09-06 14:09:18.212 13106-13106/? E/Contacts: AlphaScroller Resources.NotFoundException in AlphaScroller 2019-09-06 14:09:18.242 13106-13106/? E/SQLiteLog: (1) 2019-09-06 14:09:18.242 13106-13106/? E/Contacts: ContactsAppProvider makeInsertOperation gets SQLiteException. 2019-09-06 14:09:18.297 13140-13156/? E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist! 2019-09-06 14:09:18.374 732-899/? E/JankService: JankFrequencyMonitor action return :0 2019-09-06 14:09:18.826 13106-13145/? E/ndroid.contact: Invalid ID 0x00000000. 2019-09-06 14:09:18.827 13106-13145/? E/ndroid.contact: Invalid ID 0x00000000. 2019-09-06 14:09:18.897 13106-13145/? E/ndroid.contact: Invalid ID 0x00000000. 2019-09-06 14:09:19.553 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:19.554 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:19.554 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:19.554 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:19.555 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:19.555 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:20.035 624-624/? E/WifiHAL: enter wifi_get_link_stats 2019-09-06 14:09:20.047 1313-1519/? E/WificondControl: Noise: -92, Snr: 0, Chload: -1 2019-09-06 14:09:21.561 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:21.562 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:21.562 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:21.562 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:21.563 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:21.563 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:23.054 624-624/? E/WifiHAL: enter wifi_get_link_stats 2019-09-06 14:09:23.067 1313-1519/? E/WificondControl: Noise: -92, Snr: 0, Chload: -1 2019-09-06 14:09:23.090 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:23.090 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:23.092 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:23.092 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:23.093 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:23.093 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:23.094 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:23.095 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:23.096 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:23.096 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:23.097 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:23.097 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:23.099 1845-2036/? E/HwWifiStatStore: updateLinkSpeed linkSpeed =130 lastSpdLev=3 index=3 2019-09-06 14:09:23.102 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:23.102 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:23.102 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:23.103 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:23.104 1313-1667/? E/WifiService: enforceCanAccessScanResults: hiding ssid and bssidUID 10097 has no location permission 2019-09-06 14:09:23.105 1675-1675/? E/ndroid.systemu: Invalid ID 0x00000000. 2019-09-06 14:09:23.105 1675-1675/? E/HwNotchUtils: setIconForView iconId is not found 2019-09-06 14:09:24.333 720-720/? E/Thermal-daemon: [battery] temp_new :36 temp_old :35 2019-09-06 14:09:24.334 720-720/? E/Thermal-daemon: Report temperature: [battery] temp :36 report_threshold:1 ```
appium1.15.1连接安卓系统7.0以上的真机,打开非系统应用报安全错误,求解?
以下是打开应用的代码(python)。如果操作对象是系统应用,代码正常运行;如果操作的对象为用户安装的应用,代码报错 ``` from appium import webdriver desired_caps = dict() #平台名:区分Android、ios desired_caps['platformName'] = 'Android' #平台版本:同连接设备上的(关于)安卓版本一致 (6.1.1版本,可填写6.1.1、6.1、6) desired_caps['platformVersion'] = '9' #设备名:ios需正确填写,安卓不为空则可以 desired_caps['deviceName'] = 'CLB7N18301000651' #应用名:通过adb查看 desired_caps['appPackage'] = 'com.lefull.tenant' #界面名:通过adb查看 desired_caps['appActivity'] = '.ui.TenantActivity' #打开应用,进入指定页面 driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps) ``` 运行非系统应用,代码报错 ``` selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.lefull.tenant' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command '/Users/moon/android-sdk-macosx/platform-tools/adb -P 5037 -s CLB7N18301000651 shell am start -W -n com.lefull.tenant/.ui.TenantActivity -S' exited with code 255'; Stderr: 'Security exception: Permission Denial: starting Intent { flg=0x10000000 cmp=com.lefull.tenant/.ui.TenantActivity } from null (pid=30377, uid=2000) not exported from uid 10163 java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=com.lefull.tenant/.ui.TenantActivity } from null (pid=30377, uid=2000) not exported from uid 10163 at com.android.server.am.ActivityStackSupervisor.checkStartAnyActivityPermission(Landroid/content/Intent;Landroid/content/pm/ActivityInfo;Ljava/lang/String;IIILjava/lang/String;ZZLcom/android/server/am/ProcessRecord;Lcom/android/server/am/ActivityRecord;Lcom/android/server/am/ActivityStack;)Z(libmapleservices.so:4357457) at com.android.server.am.ActivityStarter.startActivity(Landroid/app/IApplicationThread;Landroid/content/Intent;Landroid/content/Intent;Ljava/lang/String;Landroid/content/pm/ActivityInfo;Landroid/content/pm/ResolveInfo;Landroid/service/voice/IVoiceInteractionSession;Lcom/android/internal/app/IVoiceInteractor;Landroid/os/IBinder;Ljava/lang/String;IIILjava/lang/String;IIILcom/android/server/am/SafeActivityOptions;ZZ[Lcom/android/server/am/ActivityRecord;Lcom/android/server/am/TaskRecord;Z)I(libmapleservices.so:4763781) at com.android.server.am.ActivityStarter.startActivity(Landroid/app/IApplicationThread;Landroid/content/Intent;Landroid/content/Intent;Ljava/lang/String;Landroid/content/pm/ActivityInfo;Landroid/content/pm/ResolveInfo;Landroid/service/voice/IVoiceInteractionSession;Lcom/android/internal/app/IVoiceInteractor;Landroid/os/IBinder;Ljava/lang/String;IIILjava/lang/String;IIILcom/android/server/am/SafeActivityOptions;ZZ[Lcom/android/server/am/ActivityRecord;Lcom/android/server/am/TaskRecord;Ljava/lang/String;Z)I(libmapleservices.so:4769313) at com.android.server.am.HwActivityStarter.startActivity(Landroid/app/IApplicationThread;Landroid/content/Intent;Landroid/content/Intent;Ljava/lang/String;Landroid/content/pm/ActivityInfo;Landroid/content/pm/ResolveInfo;Landroid/service/voice/IVoiceInteractionSession;Lcom/android/internal/app/IVoiceInteractor;Landroid/os/IBinder;Ljava/lang/String;IIILjava/lang/String;IIILcom/android/server/am/SafeActivityOptions;ZZ[Lcom/android/server/am/ActivityRecord;Lcom/android/server/am/TaskRecord;Ljava/lang/String;Z)I(libmaplehwServices.so:3322649) at com.android.server.am.ActivityStarter.startActivityMayWait(Landroid/app/IApplicationThread;ILjava/lang/String;Landroid/content/Intent;Ljava/lang/String;Landroid/service/voice/IVoiceInteractionSession;Lcom/android/internal/app/IVoiceInteractor;Landroid/os/IBinder;Ljava/lang/String;IILandroid/app/ProfilerInfo;Landroid/app/WaitResult;Landroid/content/res/Configuration;Lcom/android/server/am/SafeActivityOptions;ZILcom/android/server/am/TaskRecord;Ljava/lang/String;Z)I(libmapleservices.so:6583725) at com.android.server.am.ActivityStarter.execute()I(libmapleservices.so:4770265) at com.android.server.am.ActivityManagerService.startActivityAndWait(Landroid/app/IApplicationThread;Ljava/lang/String;Landroid/content/Intent;Ljava/lang/String;Landroid/os/IBinder;Ljava/lang/String;IILandroid/app/ProfilerInfo;Landroid/os/Bundle;I)Landroid/app/WaitResult;(libmapleservices.so:6887257) at com.android.server.am.ActivityManagerShellCommand.runStartActivity(Ljava/io/PrintWriter;)I(libmapleservices.so:6994469) at com.android.server.am.ActivityManagerShellCommand.onCommand(Ljava/lang/String;)I(libmapleservices.so:7136029) at android.os.ShellCommand.exec(Landroid/os/Binder;Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;[Ljava/lang/String;Landroid/os/ShellCallback;Landroid/os/ResultReceiver;)I(libmapleframework.so:7202205) at com.android.server.am.ActivityManagerService.onShellCommand(Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;[Ljava/lang/String;Landroid/os/ShellCallback;Landroid/os/ResultReceiver;)V(libmapleservices.so:7192841) at android.os.Binder.onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z(libmapleframework.so:4130721) at android.app.IActivityManager$Stub.onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z(libmapleframework.so:4752437) at com.android.server.am.ActivityManagerService.onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z(libmapleservices.so:5920045) at com.android.server.am.HwActivityManagerService.onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z(libmaplehwServices.so:3379945) at android.os.Binder.execTransact(IJJI)Z(libmapleframework.so:6087833)'; Code: '255' ``` 在网络上查资料,发现全部的测试安卓系统都是5。如果想测试安卓7以上的系统,应该如何解决??? 谢谢!!
APP闪退是怎么回事啊啊啊啊?
10-01 20:16:43.424 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:16:43.451 1137-1606/? E/WificondControl: Noise: -90, Snr: 35, Chload: -1 10-01 20:16:43.975 6263-6263/? E/MD5: loadso arm msfbootV2 resultCode=3387394 10-01 20:16:43.975 6263-6263/? E/MD5: loadso msfbootV2 true resultCode=3387394 cost=11 10-01 20:16:44.034 1932-14135/? E/HsmCoreServiceImpl: onTransact in code is: 102 10-01 20:16:44.690 1137-1606/? E/WificondControl: Noise: -89, Snr: 35, Chload: -1 10-01 20:16:46.042 769-769/? E/Thermal-daemon: [battery] temp_new :35 temp_old :36 10-01 20:16:46.044 769-769/? E/Thermal-daemon: Report temperature: [battery] temp :35 report_threshold:1 10-01 20:16:46.461 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:16:46.490 1137-1606/? E/WificondControl: Noise: -89, Snr: 35, Chload: -1 10-01 20:16:47.424 1137-3995/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:16:47.454 1137-4601/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:16:47.483 7272-25974/? E/data_debug: body_data 16 = 10-01 20:16:47.787 2586-4963/? E/albn: Phenotype API error. Event # bsvs@ebf648e6, EventCode: GET_COMMITTED_CONFIGURATION [CONTEXT service_id=51 ] alaj: 29503 at albu.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):40) at albt.b(Unknown Source:2) at albn.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):103) at albn.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):97) at yvi.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):27) at bgjq.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):2) at rnb.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):21) at java.util.concurrent.ThreadPoolExecutor.processTask(ThreadPoolExecutor.java:1187) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at rsw.run(Unknown Source:7) at java.lang.Thread.run(Thread.java:784) 10-01 20:16:47.787 2586-4963/? E/AsyncOperation: serviceID=51, operation=GetCommittedConfigurationOperationCall OperationException[Status{statusCode=unknown status code: 29503, resolution=null}] at albn.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):111) at albn.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):97) at yvi.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):27) at bgjq.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):2) at rnb.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):21) at java.util.concurrent.ThreadPoolExecutor.processTask(ThreadPoolExecutor.java:1187) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at rsw.run(Unknown Source:7) at java.lang.Thread.run(Thread.java:784) 10-01 20:16:47.789 2586-6528/? E/NetRec: [169] ailh.a: Could not retrieve server token for package com.google.android.apps.gcs java.util.concurrent.ExecutionException: qgu: 29503: at asbm.b(:com.google.android.gms@15090037@15.0.90 (100400-231259764):2) at asbm.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):29) at ailh.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):1) at ailh.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):4) at aile.getHeaders(:com.google.android.gms@15090037@15.0.90 (100400-231259764):2) at com.android.volley.toolbox.HttpClientStack.performRequest(:com.google.android.gms@15090037@15.0.90 (100400-231259764):9) at rgd.performRequest(:com.google.android.gms@15090037@15.0.90 (100400-231259764):1) at brn.executeRequest(:com.google.android.gms@15090037@15.0.90 (100400-231259764):1) at com.android.volley.toolbox.BasicNetwork.performRequest(:com.google.android.gms@15090037@15.0.90 (100400-231259764):10) at rge.performRequest(:com.google.android.gms@15090037@15.0.90 (100400-231259764):13) at com.android.volley.NetworkDispatcher.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):7) at com.android.volley.NetworkDispatcher.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):2) Caused by: qgu: 29503: at qmn.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):3) at akzo.b(:com.google.android.gms@15090037@15.0.90 (100400-231259764):3) at albt.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):7) at yvc.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):5) at yvi.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):34) at bgjq.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):2) at rnb.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):21) at java.util.concurrent.ThreadPoolExecutor.processTask(ThreadPoolExecutor.java:1187) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at rsw.run(Unknown Source:7) at java.lang.Thread.run(Thread.java:784) 10-01 20:16:47.901 7272-25973/? E/realBody size: 2 10-01 20:16:48.577 3721-4778/? E/HiAction_XChannel.h-82: handleHeartbeatReq(): receive heartbeat response timeout 10-01 20:16:48.838 1856-32683/? E/CellBatching.CellBatchingHardware: isDisConnect:false 10-01 20:16:49.503 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:16:49.526 1137-1606/? E/WificondControl: Noise: -88, Snr: 35, Chload: -1 10-01 20:16:50.594 3721-4777/? E/HiAction_XChannel.RecvThread-82: run(): inputStream.read SocketException: 10-01 20:16:50.595 3721-6579/? E/HiAction_XChannel.XChannelClient-83: reset():recvThread.join() or sendThread.join() exception: java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:422) at java.lang.Thread.join(Thread.java:1282) at java.lang.Thread.join(Thread.java:1358) at com.huawei.xcom.service.j.z(XChannelClient.java:452) at com.huawei.xcom.service.j.d(XChannelClient.java:44) at com.huawei.xcom.service.j$2.run(XChannelClient.java:122) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301) at java.util.concurrent.ThreadPoolExecutor.processTask(ThreadPoolExecutor.java:1187) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:784) 10-01 20:16:52.535 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:16:52.560 1137-1606/? E/WificondControl: Noise: -89, Snr: 35, Chload: -1 10-01 20:16:52.699 1137-1606/? E/WificondControl: Noise: -89, Snr: 35, Chload: -1 10-01 20:16:53.225 27471-27535/? E/UndealCount.QZoneUnreadServletLogic: creditlevel:3 message: 10-01 20:16:53.416 1137-4601/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:16:53.444 1137-4601/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:16:53.628 3721-6579/? E/HiAction_b: syncSend(): receive response timeout 10-01 20:16:55.571 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:16:55.594 1137-1606/? E/WificondControl: Noise: -90, Snr: 35, Chload: -1 10-01 20:16:56.636 783-841/? E/bastetd: [BastetService ] prepareHeartbeatProxy# Bastet is not available 10-01 20:16:57.483 7272-25974/? E/data_debug: body_data 16 = 10-01 20:16:57.525 7272-25973/? E/realBody size: 2 10-01 20:16:58.609 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:16:58.636 1137-1606/? E/WificondControl: Noise: -90, Snr: 35, Chload: -1 10-01 20:17:00.010 1758-1758/? E/DateView: DateView,mCurrentTime: 1569932220010 10-01 20:17:00.707 1137-1606/? E/WificondControl: Noise: -90, Snr: 35, Chload: -1 10-01 20:17:01.648 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:17:01.669 1137-1606/? E/WificondControl: Noise: -90, Snr: 35, Chload: -1 10-01 20:17:02.760 1137-3995/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:17:02.787 1137-3995/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:17:04.679 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:17:04.703 1137-1606/? E/WificondControl: Noise: -89, Snr: 35, Chload: -1 10-01 20:17:07.068 6677-6677/? E/JankService: child Thread receive to stop 10-01 20:17:07.206 798-843/? E/JankService: all data read ok 10-01 20:17:07.484 7272-25974/? E/data_debug: body_data 16 = 10-01 20:17:07.712 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:17:07.723 1137-1606/? E/WificondControl: Noise: -90, Snr: 34, Chload: -1 10-01 20:17:07.863 7272-25973/? E/realBody size: 2 10-01 20:17:08.717 1137-1606/? E/WificondControl: Noise: -90, Snr: 35, Chload: -1 10-01 20:17:08.769 1137-3995/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:17:08.796 1137-12974/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:17:10.732 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:17:10.747 1137-1606/? E/WificondControl: Noise: -91, Snr: 35, Chload: -1 10-01 20:17:11.205 1137-4601/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:17:11.232 1137-12974/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:17:13.759 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:17:13.785 1137-1606/? E/WificondControl: Noise: -90, Snr: 35, Chload: -1 10-01 20:17:14.046 1932-1932/? E/SmartDualCardTraffic: isCustomerApplyTheTrafficPackage:: customer not set the package! 10-01 20:17:16.718 1137-1606/? E/WificondControl: Noise: -90, Snr: 35, Chload: -1 10-01 20:17:16.792 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:17:16.815 1137-1606/? E/WificondControl: Noise: -90, Snr: 35, Chload: -1 10-01 20:17:17.484 7272-25974/? E/data_debug: body_data 16 = 10-01 20:17:17.543 7272-25973/? E/realBody size: 2 10-01 20:17:18.849 1856-32683/? E/CellBatching.CellBatchingHardware: isDisConnect:false 10-01 20:17:18.987 1137-1769/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:17:19.017 1137-1769/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:17:19.464 1897-2047/? E/HwCHRWifiRSSIGroupSummery: updatArpSummery mRSSI:-1 HwCHRWifiRSSIGroup [rssi_index=4, rtt_tcp_packets=0, rtt_tcp_duration=0, rtt_lan_duration=45199, rtt_lan_failures=4, rtt_lan_succ=980, rtt_lan_max=779, rtt_lan_min=2,same_area_frequency=0,adjacent_area_frequency=0] 10-01 20:17:19.825 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:17:19.851 1137-1606/? E/WificondControl: Noise: -90, Snr: 35, Chload: -1 10-01 20:17:20.071 1137-1137/? E/PowerManagerService: Exception when search wack lock :java.lang.IllegalArgumentException: Wake lock not active: android.os.Binder@8bb3733 from uid 1000 10-01 20:17:20.268 2586-4963/? E/albn: Phenotype API error. Event # bsvs@222a8b55, EventCode: GET_COMMITTED_CONFIGURATION [CONTEXT service_id=51 ] alaj: 29503 at albu.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):40) at albt.b(Unknown Source:2) at albn.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):103) at albn.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):97) at yvi.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):27) at bgjq.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):2) at rnb.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):21) at java.util.concurrent.ThreadPoolExecutor.processTask(ThreadPoolExecutor.java:1187) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at rsw.run(Unknown Source:7) at java.lang.Thread.run(Thread.java:784) 10-01 20:17:20.271 2586-4963/? E/AsyncOperation: serviceID=51, operation=GetCommittedConfigurationOperationCall OperationException[Status{statusCode=unknown status code: 29503, resolution=null}] at albn.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):111) at albn.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):97) at yvi.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):27) at bgjq.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):2) at rnb.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):21) at java.util.concurrent.ThreadPoolExecutor.processTask(ThreadPoolExecutor.java:1187) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at rsw.run(Unknown Source:7) at java.lang.Thread.run(Thread.java:784) 10-01 20:17:20.272 2586-6529/? E/NetRec: [170] ailh.a: Could not retrieve server token for package com.google.android.apps.gcs java.util.concurrent.ExecutionException: qgu: 29503: at asbm.b(:com.google.android.gms@15090037@15.0.90 (100400-231259764):2) at asbm.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):29) at ailh.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):1) at ailh.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):4) at aile.getHeaders(:com.google.android.gms@15090037@15.0.90 (100400-231259764):2) at com.android.volley.toolbox.HttpClientStack.performRequest(:com.google.android.gms@15090037@15.0.90 (100400-231259764):9) at rgd.performRequest(:com.google.android.gms@15090037@15.0.90 (100400-231259764):1) at brn.executeRequest(:com.google.android.gms@15090037@15.0.90 (100400-231259764):1) at com.android.volley.toolbox.BasicNetwork.performRequest(:com.google.android.gms@15090037@15.0.90 (100400-231259764):10) at rge.performRequest(:com.google.android.gms@15090037@15.0.90 (100400-231259764):13) at com.android.volley.NetworkDispatcher.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):7) at com.android.volley.NetworkDispatcher.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):2) Caused by: qgu: 29503: at qmn.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):3) at akzo.b(:com.google.android.gms@15090037@15.0.90 (100400-231259764):3) at albt.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):7) at yvc.a(:com.google.android.gms@15090037@15.0.90 (100400-231259764):5) at yvi.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):34) at bgjq.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):2) at rnb.run(:com.google.android.gms@15090037@15.0.90 (100400-231259764):21) at java.util.concurrent.ThreadPoolExecutor.processTask(ThreadPoolExecutor.java:1187) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at rsw.run(Unknown Source:7) at java.lang.Thread.run(Thread.java:784) 10-01 20:17:22.864 684-684/? E/WifiHAL: enter wifi_get_link_stats 10-01 20:17:22.889 1137-1606/? E/WificondControl: Noise: -91, Snr: 35, Chload: -1 10-01 20:17:23.369 1137-12974/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:17:23.396 1137-4601/? E/RMS.HwSysResManagerService: Process Permission error! pid:1964 uid:1001 Process.myPid:1137 10-01 20:17:24.732 1137-1606/? E/WificondControl: Noise: -92, Snr: 35, Chload: -1 10-01 20:17:25.900 684-684/? E/WifiHAL: enter wifi
android桌面开发动态壁纸设置问题?
我自己写了一个android桌面,但无法设置动态壁纸,但android自带的桌面又能设置,设置的动态壁纸是系统内置的,android系统为4.0,总是报如下错误:`V/RenderScript( 2118): 0x128990 RS Thread exited V/RenderScript( 2118): 0x128990 Context::~Context done V/RenderScript( 2118): 0x128990 rsContextDestroy done W/WindowManager( 1917): Failed looking up window W/WindowManager( 1917): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@6e92fa40 does not exist W/WindowManager( 1917): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7163) W/WindowManager( 1917): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7154) W/WindowManager( 1917): at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2209) W/WindowManager( 1917): at com.android.server.wm.Session.remove(Session.java:149) W/WindowManager( 1917): at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:124) W/WindowManager( 1917): at com.android.server.wm.Session.onTransact(Session.java:111) W/WindowManager( 1917): at android.os.Binder.execTransact(Binder.java:338) W/WindowManager( 1917): at dalvik.system.NativeStart.run(Native Method) E/InputQueue-JNI( 2548): channel '6e97d310 Media:com.android.wallpaper.livepicker/com.android.wallpaper.livepicker.LiveWallpaperPreview (client)' ~ Publisher closed input channel or an error occurred. events=0x8 W/WindowManager( 1917): Failed looking up window W/WindowManager( 1917): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@6e990550 does not exist W/WindowManager( 1917): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7163) W/WindowManager( 1917): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7154) W/WindowManager( 1917): at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2209) W/WindowManager( 1917): at com.android.server.wm.Session.remove(Session.java:149) W/WindowManager( 1917): at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:124) W/WindowManager( 1917): at com.android.server.wm.Session.onTransact(Session.java:111) W/WindowManager( 1917): at android.os.Binder.execTransact(Binder.java:338) W/WindowManager( 1917): at dalvik.system.NativeStart.run(Native Method)`
Binder通讯,能发不能收,onTransact偶尔触发不了
最近在做关于Binder通讯的事情,发现有时候Android中的Binder向C++层发送消息时, C++层中的onTransact会不触发。但是C++层能向Android发送数据,究竟是什么原因造成的? 能发,不能收,偶尔会出现这种情况,求大神!
andriod中运行登录程序时app退出,求解
12-06 20:01:31.438 12197-13159/? E/ws000﹕ begin call prefClean 12-06 20:01:31.438 12197-13159/? E/ws000﹕ end call prefClean 12-06 20:01:31.968 1964-1998/? E/ProcessStats﹕ Starting service ServiceState{42528fc8 com.oppo.virusdetect.tmsecure.SecureService pkg=com.oppo.virusdetect proc=42528fc8} without owner 12-06 20:01:32.008 12729-12729/? E/ClearRunningAppService﹕ onStartCommand android.intent.action.OPPO_ON_TRIM_MEMORY 12-06 20:01:32.018 12729-13164/? E/ClearRunningAppService﹕ ClearPersisentRunning packageName =com.android.dialer 12-06 20:01:32.018 12729-13164/? E/ClearRunningAppService﹕ ClearPersisentRunning runningAppProcessInfo.pid =13074 12-06 20:01:32.018 12729-13164/? E/ClearRunningAppService﹕ ClearPersisentRunning success 12-06 20:01:32.738 12514-12514/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.788 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.808 12514-12573/? E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #4 Process: com.thinkpad.redemo, PID: 12514 java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:300) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355) at java.util.concurrent.FutureTask.setException(FutureTask.java:222) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841) Caused by: java.lang.NullPointerException at com.thinkpad.redemo.LandActivity.gotoLogin(LandActivity.java:127) at com.thinkpad.redemo.LandActivity.access$300(LandActivity.java:23) at com.thinkpad.redemo.LandActivity$2.doInBackground(LandActivity.java:67) at com.thinkpad.redemo.LandActivity$2.doInBackground(LandActivity.java:55) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237)             at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)             at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)             at java.lang.Thread.run(Thread.java:841) 12-06 20:01:32.818 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.828 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.828 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.848 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.848 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.858 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.858 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.858 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.858 1964-1978/? E/OppoPhoneWindow﹕ OppoPhoneWindow 12-06 20:01:32.868 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.868 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.868 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:32.878 2197-2197/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.018 1964-1977/? E/JavaBinder﹕ !!! FAILED BINDER TRANSACTION !!! 12-06 20:01:33.028 1964-1977/? E/JavaBinder﹕ !!! FAILED BINDER TRANSACTION !!! 12-06 20:01:33.038 1964-2089/? E/JavaBinder﹕ !!! FAILED BINDER TRANSACTION !!! 12-06 20:01:33.038 1964-2089/? E/JavaBinder﹕ !!! FAILED BINDER TRANSACTION !!! 12-06 20:01:33.038 2271-2271/? E/JavaBinder﹕ !!! FAILED BINDER TRANSACTION !!! 12-06 20:01:33.038 2271-2271/? E/JavaBinder﹕ !!! FAILED BINDER TRANSACTION !!! 12-06 20:01:33.108 1964-1964/? E/NotificationService﹕ Suppressing notification from package com.qihoo360.mobilesafe by user request. 12-06 20:01:33.658 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.688 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.688 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.688 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.698 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.698 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.698 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.698 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.698 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.708 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.708 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.708 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.738 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.748 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.758 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.758 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.758 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.778 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.778 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.788 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.908 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.918 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.928 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.938 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.968 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:33.988 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:34.618 13183-13183/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:34.918 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:34.928 13165-13165/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:36.628 13226-13226/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:36.668 13226-13226/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:36.668 13226-13226/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:36.668 13226-13226/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:36.678 13226-13226/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:36.678 13226-13226/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:36.678 13226-13226/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:36.678 13226-13226/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:36.688 13226-13226/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:36.708 12729-12729/? E/ClearRunningAppService﹕ onStartCommand android.intent.action.OPPO_ON_TRIM_MEMORY 12-06 20:01:36.708 12729-13240/? E/ClearRunningAppService﹕ ClearPersisentRunning packageName =com.oppo.virusdetect 12-06 20:01:36.708 12729-13240/? E/ClearRunningAppService﹕ ClearPersisentRunning runningAppProcessInfo.pid =13226 12-06 20:01:36.708 12729-13240/? E/ClearRunningAppService﹕ ClearPersisentRunning success 12-06 20:01:36.718 12729-13240/? E/ClearRunningAppService﹕ ClearPersisentRunning packageName =com.android.dialer 12-06 20:01:36.718 12729-13240/? E/ClearRunningAppService﹕ ClearPersisentRunning runningAppProcessInfo.pid =13165 12-06 20:01:36.718 12729-13240/? E/ClearRunningAppService﹕ ClearPersisentRunning success 12-06 20:01:43.128 1964-1964/? E/NotificationService﹕ Suppressing notification from package com.qihoo360.mobilesafe by user request. 12-06 20:01:44.558 12402-12402/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:44.578 12471-12471/? E/Parcel﹕ Reading a NULL string not supported here. 12-06 20:01:44.598 1964-2089/? E/ProcessStats﹕ Starting service ServiceState{42528fc8 com.oppo.virusdetect.tmsecure.SecureService pkg=com.oppo.virusdetect proc=42528fc8} without owner 12-06 20:01:46.588 12402-13262/? E/ws000﹕ begin call prefClean 12-06 20:01:46.588 12402-13262/? E/ws000﹕ end call prefClean 12-06 20:01:46.598 12471-13261/? E/ws000﹕ begin call prefClean 12-06 20:01:46.598 12471-13261/? E/ws000﹕ end call prefClean 12-06 20:01:47.168 1964-1974/? E/ProcessStats﹕ Starting service ServiceState{42528fc8 com.oppo.virusdetect.tmsecure.SecureService pkg=com.oppo.virusdetect proc=42528fc8} without owner 12-06 20:01:47.198 12729-12729/? E/ClearRunningAppService﹕ onStartCommand android.intent.action.OPPO_ON_TRIM_MEMORY 12-06 20:01:47.208 12729-13265/? E/ClearRunningAppService﹕ ClearPersisentRunning packageName =com.android.dialer 12-06 20:01:47.208 12729-13265/? E/ClearRunningAppService﹕ ClearPersisentRunning runningAppProcessInfo.pid =13241 12-06 20:01:47.208 12729-13265/? E/ClearRunningAppService﹕ ClearPersisentRunning success
修改xml文件后,app就闪退了
我修改了layou下的xml文件,然后app就闪退了。 代码添加了“”android:id="@+id/order_sales_percentage_layout"“” <RelativeLayout android:id="@+id/order_sales_percentage_layout" style="@style/activity_content_table_relativelayout_attrs" android:layout_height="wrap_content" > <TextView android:id="@+id/order_sales_percentage_textv" style="@style/activity_content_table_row_title_attrs" android:text="@string/order_sales_percentage" /> </RelativeLayout> log: D/NativeCrypto(9949): ssl=0xee46e000 info_callback ignored D/NativeCrypto(9949): doing handshake -- ret=1 D/NativeCrypto(9949): ssl=0xee46e000 NativeCrypto_SSL_get_certificate => NULL I/System.out(9949): gba_cipher_suite:TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 I/System.out(9949): >doSendRequest D/NativeCrypto(9949): ssl=0xee46e000 sslWrite buf=0xee5d3000 len=389 write_timeout_millis=0 D/NativeCrypto(9949): ssl=0xee46e000 sslWrite buf=0xee486200 len=380 write_timeout_millis=0 I/System.out(9949): <doSendRequest D/NativeCrypto(9949): ssl=0xee46e000 sslRead buf=0xee5d3000 len=8192,timeo=10000 D/UsbDeviceManager(918): onReceive - BATTERY_CHANGED - mPlugType: 2, mSettingUsbCharging: false, mConnected: true, mSettingUsbBicr: false D/WifiService(918): onReceive, action:android.intent.action.BATTERY_CHANGED D/PSD(377): Prox is far ps 206 als 229 highlight 0 crosstalk 205 D/OpenGLRenderer(9949): Flushing caches (mode 0) D/Surface(9949): Surface::disconnect(this=0xf49cc400,api=1) D/OpenGLRenderer(9949): Flushing caches (mode 0) V/WindowManager(918): Changing focus from Window{1b3780a2 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity EXITING} to Window{3eae745 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity} Callers=com.android.server.wm.WindowManagerService.removeWindowLocked:3238 com.android.server.wm.WindowManagerService.removeWindow:3174 com.android.server.wm.Session.remove:193 android.view.IWindowSession$Stub.onTransact:233 I/WindowManager(918): Gaining focus: Window{3eae745 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity} I/WindowManager(918): Losing focus: Window{1b3780a2 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity EXITING} I/ActivityManager(918): START u0 {cmp=cn.com.xxxx.business/com.xxx.xxx.Business.CompanySelectActivity (has extras)} from uid 10126 from pid 9949 on display 0 I/SafeCenter.AppProtectService(27567): activityStarting() intent: Intent { cmp=cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity (has extras) } V/WindowManager(918): addAppToken: AppWindowToken{3d016c25 token=Token{290a481c ActivityRecord{1f3cd8f u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity t130}}} to stack=1 task=130 at 1 I/libPerfService(918): 1: set freq: 1001000, 1508000 I/libPerfService(918): 1: set: 4, 4 I/libPerfService(918): 1: set vcore level: 3 0V/InputMethodManager(9949): onWindowFocus: android.widget.EditText{1a4a3e58 VFED..C. .F...... 70,380-650,462 #7f0a0330 app:id/login_password_edit_text} softInputMode=32 first=false flags=#1810100 V/InputMethodManagerService(918): windowGainedFocus: android.os.BinderProxy@46afcb7 controlFlags=#3 softInputMode=#20 windowFlags=#1810100 W/InputMethodManagerService(918): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@322c81fa attribute=null, token = android.os.BinderProxy@314e3bbc I/PPS(918): [PPSNotifyAppState] nPackNum:1, pack:cn.com.antika.business, com:com.GlamourPromise.Beauty.Business.CompanySelectActivity, state:1, pid:0, last_boost_tid:-1 D/ActivityManager(918): Delay resumeKeyDispatchingLocked() to avoid deadlock. I/PPS(918): [PPSNotifyAppState] nPackNum:1, pack:cn.com.antika.business, com:com.GlamourPromise.Beauty.Business.LoginActivity, state:0, pid:0, last_boost_tid:-1 D/AbsListView(9949): checkAbsListViewlLogProperty get invalid command V/PhoneWindow(9949): DecorView setVisiblity: visibility = 4 ,Parent =null, this =com.android.internal.policy.impl.PhoneWindow$DecorView{2b63a461 I.E..... R.....ID 0,0-0,0} D/ViewRootImpl(9949): hardware acceleration is enabled, this = ViewRoot{19e37adf cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity,ident = 4} V/WindowManager(918): Adding window Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity} at 7 of 14 (after Window{1b3780a2 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity EXITING}) V/PhoneWindow(9949): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{19e37adf cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity,ident = 4}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{2b63a461 V.E..... R.....ID 0,0-0,0} V/WindowManager(918): Changing focus from Window{3eae745 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity} to Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3993 com.android.server.wm.Session.relayout:203 android.view.IWindowSession$Stub.onTransact:273 com.android.server.wm.Session.onTransact:136 I/WindowManager(918): Gaining focus: Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity} D/OpenGLRenderer(9949): CanvasContext() 0xf48971c0 initialize 0xf49ca108 D/Surface(9949): Surface::connect(this=0xf49ca100,api=1) D/mali_winsys(9949): new_window_surface returns 0x3000 D/Surface(9949): Surface::allocateBuffers(this=0xf49ca100) D/AbsListView(9949): onSizeChanged w=700, h=1049, oldw=0, oldh=0, getChildCount=0, mSyncPosition=0, mNeedSync=false, mSyncMode=0, mAdapterandroid.widget.ExpandableListConnector@3cc5732c, this=android.widget.ExpandableListView{3dcd67d1 VFED.VC. ......I. 10,195-710,1244 #7f0a018f app:id/company_list}, callstack=android.widget.ListView.onSizeChanged:1156 android.view.View.sizeChange:16199 android.view.View.setFrame:16164 android.widget.AbsListView.setFrame:2308 android.view.View.layout:16055 android.view.ViewGroup.layout:5234 android.widget.LinearLayout.setChildFrame:1959 android.widget.LinearLayout.layoutVertical:1813 android.widget.LinearLayout.onLayout:1722 android.view.View.layout:16065 D/AndroidRuntime(9949): Shutting down VM I/Process(9949): Sending signal. PID: 9949 SIG: 9 D/PSD(377): set_ps_threshold: low_threshold 268 high_threshold 288 ps_average 208 algo_state 1 E/LIGHT(918): AmbiLightSensor: get als value 235 E/LIGHT(918): AmbiLightSensor: report als event E/PROXIMITY(918): ProximitySensor: unknown event (type=3, code=0) E/PROXIMITY(918): ProximitySensor: invalid EV_SYN D/SurfaceFlinger(328): Skip composition. D/SurfaceFlinger(328): Skip composition. E/JavaBinder(918): !!! FAILED BINDER TRANSACTION !!! E/JavaBinder(918): !!! FAILED BINDER TRANSACTION !!! D/GuiExt(384): [GuiExtS] binder of dump tunnel(RB-0xdd4f3380) died I/WindowState(918): WIN DEATH: Window{3eae745 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity} I/SurfaceFlinger(328): EventThread Client Pid (9949) disconnected by (328) I/SurfaceFlinger(328): EventThread Client Pid (9949) disconnected by (328) W/ADB_SERVICES(9929): terminating JDWP 9949 connection: Try again I/WindowState(918): WIN DEATH: Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity} W/ADB_SERVICES(9929): terminating JDWP 9949 connection: Try again I/WindowState(918): WIN DEATH: Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity} 继续贴日志 V/WindowManager(918): Changing focus from Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity EXITING} to null Callers=com.android.server.wm.WindowManagerService.removeWindowLocked:3238 com.android.server.wm.WindowState$DeathRecipient.binderDied:1168 android.os.BinderProxy.sendDeathNotice:559 <bottom of call stack> I/WindowManager(918): Losing focus: Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity EXITING} D/PerfServiceManager(918): [PerfService] MESSAGE_TIMEOUT:107 I/libPerfService(918): [perfScnDisable] scn:1, scn_root_cluster:-1 I/libPerfService(918): [perfScnDisable] scn:6, scn_root_cluster:-1 I/libPerfService(918): 7: set vcore level: 3 D/PerfServiceManager(918): [PerfService] set utilization:0.8 D/SurfaceFlinger(328): Skip composition. I/ActivityManager(918): Process cn.com.antika.business (pid 9949) has died Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1517 com.android.server.am.OppoExtraActivityManagerService.setKeyLockModeNormal:47 com.android.server.am.ActivityManagerService.appDiedLocked:6305 com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied:1441 android.os.BinderProxy.sendDeathNotice:559 D/ActivityManager(918): SVC-handleAppDiedLocked: app = ProcessRecord{701a5a1 9949:cn.com.antika.business/u0a126}, app.pid = 9949 I/PPS(918): [PPSNotifyAppState] nPackNum:1, pack:cn.com.antika.business, com:(null), state:3, pid:0, last_boost_tid:-1 D/ForegroundUtils(2208): Process died; UID 10126 PID 9949 W/ActivityManager(918): Force removing ActivityRecord{1f3cd8f u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity t130}: app died, no saved state D/ForegroundUtils(2208): Foreground changed, PID: 9949 UID: 10126 foreground: false V/NetworkStats(918): setKernelCounterSet uid=10126 set=0 D/ForegroundUtils(2208): Foreground UID/PID combinations: D/ConnectivityService(918): onUidRulesChanged(uid=10126, uidRules=0) D/ActivityManager(918): [BMW] moveNextFloatingStackToTopLocked next = null curTop = ActivityStack{34190215 stackId=1, 14 tasks} D/WindowManager(918): notifyActivityDrawnForKeyguard: waiting=false Callers=com.android.server.wm.WindowManagerService.handleAppTransitionReadyLocked:10689 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:11319 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:10058 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:10000 com.android.server.wm.WindowManagerService.moveStackWindowsLocked:6068 W/ContextImpl(918): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1517 com.android.server.am.OppoProtectEyeManagerService.sendProtectEyeBroadcast:170 com.android.server.am.OppoProtectEyeManagerService.handleProtectEyeMode:154 com.android.server.am.ActivityStack.resumeTopActivityInnerLocked:2234 com.android.server.am.ActivityStack.resumeTopActivityLocked:1790 I/libPerfService(918): perfSetFavorPid - pid:2360, 938 I/PPS(918): [PPSNotifyAppState] nPackNum:1, pack:com.oppo.launcher, com:.Launcher, state:1, pid:0, last_boost_tid:-1 I/OppoPhoneWindowManager(918): KeyLockModeReceiver KeyLockMode: 0 ProcessName: cn.com.antika.business D/ForegroundUtils(2208): Foreground changed, PID: 2360 UID: 10063 foreground: true V/NetworkStats(918): setKernelCounterSet uid=10063 set=1 D/ForegroundUtils(2208): Foreground UID/PID combinations: D/ConnectivityService(918): onUidRulesChanged(uid=10063, uidRules=0) D/ForegroundUtils(2208): UID: 10063 PID: 2360 D/OpenGLRenderer(2360): Flushing caches (mode 0) D/OpenGLRenderer(2360): Flushing caches (mode 0) D/SurfaceFlinger(328): Skip composition. I/SurfaceFlinger(328): [SF client] DEL(0x7fa3c1d6c0) for (918:system_server) D/SurfaceFlinger(328): remove: cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity D/SurfaceFlinger(328): remove: cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity V/PhoneWindow(2360): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{213cf907 com.oppo.launcher/com.oppo.launcher.Launcher,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{50d63f8 V.E..... R.....ID 0,0-720,1280} V/WindowManager(918): Changing focus from null to Window{3d235d75 u0 com.oppo.launcher/com.oppo.launcher.Launcher} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3993 com.android.server.wm.Session.relayout:203 android.view.IWindowSession$Stub.onTransact:273 com.android.server.wm.Session.onTransact:136 I/WindowManager(918): Gaining focus: Window{3d235d75 u0 com.oppo.launcher/com.oppo.launcher.Launcher} D/OpenGLRenderer(2360): CanvasContext() 0x7f8eb387c0 initialize 0x7f8ea72610 D/Surface(2360): Surface::connect(this=0x7f8ea72600,api=1) D/mali_winsys(2360): new_window_surface returns 0x3000 D/Surface(2360): Surface::allocateBuffers(this=0x7f8ea72600) V/InputMethodManager(2360): onWindowFocus: null softInputMode=304 first=true flags=#5900100 V/InputMethodManager(2360): START INPUT: com.android.internal.policy.impl.PhoneWindow$DecorView{50d63f8 V.E..... R.....ID 0,0-720,1280} ic=null tba=android.view.inputmethod.EditorInfo@1ed6e15d controlFlags=#104 V/InputMethodManagerService(918): windowGainedFocus: android.os.BinderProxy@a099631 controlFlags=#104 softInputMode=#130 windowFlags=#5900100 D/InputMethodManagerService(918): unbindCurrentClient send MSG_SET_ACTIVE active: false , to client:ClientState{3d9a3942 uid 10126 pid 9949} D/InputMethodManagerService(918): case MSG_SET_ACTIVE, active:false W/InputMethodManagerService(918): Got RemoteException sending setActive(false) notification to pid 9949 uid 10126 D/InputMethodManagerService(918): startInputUnchecked send MSG_SET_ACTIVE active:true, to client:null D/InputMethodManagerService(918): case MSG_SET_ACTIVE, active:true D/InputMethodManager(2360): receive service's setActive call, active:true I/InputMethodManager(2360): handleMessage: MSG_SET_ACTIVE true, was false D/SurfaceFlinger(328): Skip composition. V/WallpaperService(27833): Visibility change in com.android.systemui.ImageWallpaper$DrawableEngine@20ab8bb1: 1 I/OppoBroadcastManager(918): oppo Broadcast intent Intent { act=com.nav.color flg=0x10 (has extras) } on background queue V/WallpaperService(27833): onVisibilityChanged(true): com.android.systemui.ImageWallpaper$DrawableEngine@20ab8bb1 V/WallpaperService(27833): Offsets change in com.android.systemui.ImageWallpaper$DrawableEngine@20ab8bb1: 0.0,0.0 D/WindowManager(918): notifyActivityDrawnForKeyguard: waiting=false Callers=com.android.server.wm.WindowManagerService.handleAppTransitionReadyLocked:10689 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:11319 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:10058 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:10000 com.android.server.wm.WindowManagerService.access$900:216 D/BluetoothAdapter(27833): 870302359: getState() : mService = null. Returning STATE_OFF D/BluetoothAdapter(27833): 870302359: getState() : mService = null. Returning STATE_OFF I/WifiStateMachine(918): fetchRssiLinkSpeedAndFrequencyNative, newRssi:-32, newLinkSpeed:65, SSID:"TP-LINK_CWMD" D/NetworkLinkMonitor(918): RSSI_PKTCNT_FETCH_SUCCEEDED--dtotal= 13
android studio 文件复制后出错
我吧mac上写出来的android Studio的代码 复制到win上 运行的时候就会报这个错误 求大佬讲解 Unknown failure (at android.os.Binder.execTransact(Binder.java:565)) Error while Installing APKs 开始在win10上打开的时候出现了 The path '\Users\user\Library\Android\sdk' does not belong to a directory. Android Studio will use this Android SDK instead: 'C:\Users\Administrator\AppData\Local\Android\Sdk' and will modify the project's local.properties file. 是不是因为sdk放的位置不同
终于明白阿里百度这样的大公司,为什么面试经常拿ThreadLocal考验求职者了
点击上面↑「爱开发」关注我们每晚10点,捕获技术思考和创业资源洞察什么是ThreadLocalThreadLocal是一个本地线程副本变量工具类,各个线程都拥有一份线程私有的数
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
此博客仅为我业余记录文章所用,发布到此,仅供网友阅读参考,如有侵权,请通知我,我会删掉。 补充 有不少读者留言说本文章没有用,因为天气预报直接打开手机就可以收到了,为何要多此一举发送到邮箱呢!!!那我在这里只能说:因为你没用,所以你没用!!! 这里主要介绍的是思路,不是天气预报!不是天气预报!!不是天气预报!!!天气预报只是用于举例。请各位不要再刚了!!! 下面是我会用到的两个场景: 每日下
Python 植物大战僵尸代码实现(2):植物卡片选择和种植
这篇文章要介绍的是: - 上方植物卡片栏的实现。 - 点击植物卡片,鼠标切换为植物图片。 - 鼠标移动时,判断当前在哪个方格中,并显示半透明的植物作为提示。
死磕YOLO系列,YOLOv1 的大脑、躯干和手脚
YOLO 是我非常喜欢的目标检测算法,堪称工业级的目标检测,能够达到实时的要求,它帮我解决了许多实际问题。 这就是 YOLO 的目标检测效果。它定位了图像中物体的位置,当然,也能预测物体的类别。 之前我有写博文介绍过它,但是每次重新读它的论文,我都有新的收获,为此我准备写一个系列的文章来详尽分析它。这是第一篇,从它的起始 YOLOv1 讲起。 YOLOv1 的论文地址:https://www.c
知乎高赞:中国有什么拿得出手的开源软件产品?(整理自本人原创回答)
知乎高赞:中国有什么拿得出手的开源软件产品? 在知乎上,有个问题问“中国有什么拿得出手的开源软件产品(在 GitHub 等社区受欢迎度较好的)?” 事实上,还不少呢~ 本人于2019.7.6进行了较为全面的 回答 - Bravo Yeung,获得该问题下回答中得最高赞(236赞和1枚专业勋章),对这些受欢迎的 Github 开源项目分类整理如下: 分布式计算、云平台相关工具类 1.SkyWalk
记一次腾讯面试:进程之间究竟有哪些通信方式?如何通信? ---- 告别死记硬背
有一次面试的时候,被问到进程之间有哪些通信方式,不过由于之前没深入思考且整理过,说的并不好。想必大家也都知道进程有哪些通信方式,可是我猜很多人都是靠着”背“来记忆的,所以今天的这篇文章,讲给大家详细着讲解他们是如何通信的,让大家尽量能够理解他们之间的区别、优缺点等,这样的话,以后面试官让你举例子,你也能够顺手拈来。 1、管道 我们来看一条 Linux 的语句 netstat -tulnp | gr...
20行Python代码爬取王者荣耀全英雄皮肤
引言 王者荣耀大家都玩过吧,没玩过的也应该听说过,作为时下最火的手机MOBA游戏,咳咳,好像跑题了。我们今天的重点是爬取王者荣耀所有英雄的所有皮肤,而且仅仅使用20行Python代码即可完成。 准备工作 爬取皮肤本身并不难,难点在于分析,我们首先得得到皮肤图片的url地址,话不多说,我们马上来到王者荣耀的官网: 我们点击英雄资料,然后随意地选择一位英雄,接着F12打开调试台,找到英雄原皮肤的图片
网络(8)-HTTP、Socket、TCP、UDP的区别和联系
TCP/IP协议是传输层协议,主要解决数据如何在网络中传输,而HTTP是应用层协议,主要解决如何包装数据。 一、TCP与UDP的不同 1. 是否需要建立连接。 UDP在传送数据之前不需要先建立连接;TCP则提供面向连接的服务; 2. 是否需要给出确认 对方的传输层在收到UDP报文后,不需要给出任何确认,而 TCP需要给出确认报文,要提供可靠的、面向连接的传输服务。 3.虽然UDP不提供可靠交...
简明易理解的@SpringBootApplication注解源码解析(包含面试提问)
欢迎关注文章系列 ,关注我 《提升能力,涨薪可待》 《面试知识,工作可待》 《实战演练,拒绝996》 欢迎关注我博客,原创技术文章第一时间推出 也欢迎关注公 众 号【Ccww笔记】,同时推出 如果此文对你有帮助、喜欢的话,那就点个赞呗,点个关注呗! 《提升能力,涨薪可待篇》- @SpringBootApplication注解源码解析 一、@SpringBootApplication 的作用是什
防劝退!数据结构和算法难理解?可视化动画带你轻松透彻理解!
大家好,我是 Rocky0429,一个连数据结构和算法都不会的蒟蒻… 学过数据结构和算法的都知道这玩意儿不好学,没学过的经常听到这样的说法还没学就觉得难,其实难吗?真难! 难在哪呢?当年我还是个小蒟蒻,初学数据结构和算法的时候,在忍着枯燥看完定义原理,之后想实现的时候,觉得它们的过程真的是七拐八绕,及其难受。 在简单的链表、栈和队列这些我还能靠着在草稿上写写画画理解过程,但是到了数论、图...
西游记团队中如果需要裁掉一个人,会先裁掉谁?
2019年互联网寒冬,大批企业开始裁员,下图是网上流传的一张截图: 裁员不可避免,那如何才能做到不管大环境如何变化,自身不受影响呢? 我们先来看一个有意思的故事,如果西游记取经团队需要裁员一名,会裁掉谁呢,为什么? 西游记团队组成: 1.唐僧 作为团队teamleader,有很坚韧的品性和极高的原则性,不达目的不罢休,遇到任何问题,都没有退缩过,又很得上司支持和赏识(直接得到唐太宗的任命,既给
开挂的人生!那些当选院士,又是ACM/IEEE 双料Fellow的华人学者们
昨日,2019年两院院士正式官宣,一时间抢占了各大媒体头条。 朋友圈也是一片沸腾,奔走相告,赶脚比自己中了大奖还嗨皮! 谁叫咱家导师就是这么厉害呢!!! 而就在最近,新一年度的IEEE/ACM Fellow也将正式公布。 作为学术届的顶级荣誉,不自然地就会将院士与Fellow作比较,到底哪个含金量更高呢? 学术君认为,同样是专业机构对学者的认可,考量标准不一,自然不能一概而论。 但...
聊聊C语言和指针的本质
坐着绿皮车上海到杭州,24块钱,很宽敞,在火车上非正式地聊几句。 很多编程语言都以 “没有指针” 作为自己的优势来宣传,然而,对于C语言,指针却是与生俱来的。 那么,什么是指针,为什么大家都想避开指针。 很简单, 指针就是地址,当一个地址作为一个变量存在时,它就被叫做指针,该变量的类型,自然就是指针类型。 指针的作用就是,给出一个指针,取出该指针指向地址处的值。为了理解本质,我们从计算机模型说起...
Python语言高频重点汇总
Python语言高频重点汇总 GitHub面试宝典仓库——点这里跳转 文章目录Python语言高频重点汇总**GitHub面试宝典仓库——点这里跳转**1. 函数-传参2. 元类3. @staticmethod和@classmethod两个装饰器4. 类属性和实例属性5. Python的自省6. 列表、集合、字典推导式7. Python中单下划线和双下划线8. 格式化字符串中的%和format9.
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观
代码详解:如何用Python快速制作美观、炫酷且有深度的图表
全文共12231字,预计学习时长35分钟生活阶梯(幸福指数)与人均GDP(金钱)正相关的正则图本文将探讨三种用Python可视化数据的不同方法。以可视化《2019年世界幸福报告》的数据为例,本文用Gapminder和Wikipedia的信息丰富了《世界幸福报告》数据,以探索新的数据关系和可视化方法。《世界幸福报告》试图回答世界范围内影响幸福的因素。报告根据对“坎特里尔阶梯问题”的回答来确定幸...
程序员一般通过什么途径接私活?
二哥,你好,我想知道一般程序猿都如何接私活,我也想接,能告诉我一些方法吗? 上面是一个读者“烦不烦”问我的一个问题。其实不止是“烦不烦”,还有很多读者问过我类似这样的问题。 我接的私活不算多,挣到的钱也没有多少,加起来不到 20W。说实话,这个数目说出来我是有点心虚的,毕竟太少了,大家轻喷。但我想,恰好配得上“一般程序员”这个称号啊。毕竟苍蝇再小也是肉,我也算是有经验的人了。 唾弃接私活、做外
(经验分享)作为一名普通本科计算机专业学生,我大学四年到底走了多少弯路
今年正式步入了大四,离毕业也只剩半年多的时间,回想一下大学四年,感觉自己走了不少弯路,今天就来分享一下自己大学的学习经历,也希望其他人能不要走我走错的路。 (一)初进校园 刚进入大学的时候自己完全就相信了高中老师的话:“进入大学你们就轻松了”。因此在大一的时候自己学习的激情早就被抛地一干二净,每天不是在寝室里玩游戏就是出门游玩,不过好在自己大学时买的第一台笔记本性能并不是很好,也没让我彻底沉...
如何写一篇技术博客,谈谈我的看法
前言 只有光头才能变强。 文本已收录至我的GitHub精选文章,欢迎Star:https://github.com/ZhongFuCheng3y/3y 我一直推崇学技术可以写技术博客去沉淀自己的知识,因为知识点实在是太多太多了,通过自己的博客可以帮助自己快速回顾自己学过的东西。 我最开始的时候也是只记笔记,认为自己能看得懂就好。但如果想验证自己是不是懂了,可以写成技术博客。在写技术博客的...
字节跳动面试官这样问消息队列:分布式事务、重复消费、顺序消费,我整理了一下
你知道的越多,你不知道的越多 点赞再看,养成习惯 GitHub上已经开源 https://github.com/JavaFamily 有一线大厂面试点脑图、个人联系方式和人才交流群,欢迎Star和完善 前言 消息队列在互联网技术存储方面使用如此广泛,几乎所有的后端技术面试官都要在消息队列的使用和原理方面对小伙伴们进行360°的刁难。 作为一个在互联网公司面一次拿一次Offer的面霸...
面试还搞不懂redis,快看看这40道面试题(含答案和思维导图)
Redis 面试题 1、什么是 Redis?. 2、Redis 的数据类型? 3、使用 Redis 有哪些好处? 4、Redis 相比 Memcached 有哪些优势? 5、Memcache 与 Redis 的区别都有哪些? 6、Redis 是单进程单线程的? 7、一个字符串类型的值能存储最大容量是多少? 8、Redis 的持久化机制是什么?各自的优缺点? 9、Redis 常见性...
大学四年自学走来,这些珍藏的「实用工具/学习网站」我全贡献出来了
知乎高赞:文中列举了互联网一线大厂程序员都在用的工具集合,涉及面非常广,小白和老手都可以进来看看,或许有新收获。
互联网公司的裁员,能玩出多少种花样?
裁员,也是一门学问,可谓博大精深!以下,是互联网公司的裁员的多种方法:-正文开始-135岁+不予续签的理由:千禧一代网感更强。95后不予通过试用期的理由:已婚已育员工更有责任心。2通知接下来要过苦日子,让一部分不肯同甘共苦的员工自己走人,以“兄弟”和“非兄弟”来区别员工。3强制996。员工如果平衡不了工作和家庭,可在离婚或离职里二选一。4不布置任何工作,但下班前必须提交千字工作日报。5不给活干+...
【设计模式】单例模式的八种写法分析
网上泛滥流传单例模式的写法种类,有说7种的,也有说6种的,当然也不排除说5种的,他们说的有错吗?其实没有对与错,刨根问底,写法终究是写法,其本质精髓大体一致!因此完全没必要去追究写法的多少,有这个时间还不如跟着宜春去网吧偷耳机、去田里抓青蛙得了,一天天的....
《面试宝典》:检验是否为合格的初中级程序员的面试知识点,你都知道了吗?查漏补缺
欢迎关注文章系列,一起学习 《提升能力,涨薪可待篇》 《面试知识,工作可待篇》 《实战演练,拒绝996篇》 也欢迎关注公 众 号【Ccww笔记】,原创技术文章第一时间推出 如果此文对你有帮助、喜欢的话,那就点个赞呗,点个关注呗! 《面试知识,工作可待篇》-Java笔试面试基础知识大全 前言 是不是感觉找工作面试是那么难呢? 在找工作面试应在学习的基础进行总结面试知识点,工作也指日可待,欢...
关于研发效能提升的思考
研发效能提升是最近比较热门的一个话题,本人根据这几年的工作心得,做了一些思考总结,由于个人深度有限,暂且抛转引入。 三要素 任何生产力的提升都离不开这三个因素:人、流程和工具,少了其中任何一个因素都无法实现。 人,即思想,也就是古人说的“道”,道不同不相为谋,是制高点,也是高层建筑的基石。 流程,即方法,也是古人说的“法”。研发效能的提升,也就是要提高投入产出比,既要增加产出,也要减...
微博推荐算法简述
在介绍微博推荐算法之前,我们先聊一聊推荐系统和推荐算法。有这样一些问题:推荐系统适用哪些场景?用来解决什么问题、具有怎样的价值?效果如何衡量? 推荐系统诞生很早,但真正被大家所重视,缘起于以”facebook”为代表的社会化网络的兴起和以“淘宝“为代表的电商的繁荣,”选择“的时代已经来临,信息和物品的极大丰富,让用户如浩瀚宇宙中的小点,无所适从。推荐系统迎来爆发的机会,变得离用户更近: 快...
相关热词 c# 时间比天数 c# oracle查询 c# 主动推送 事件 c# java 属性 c# 控制台 窗体 c# 静态类存值 c#矢量作图 c#窗体调用外部程式 c# enum是否合法 c# 如何卸载引用
立即提问