Home > Back-end >  Using Mycat, produce the null pointer exception, it is can not find out teach genuflect is begged
Using Mycat, produce the null pointer exception, it is can not find out teach genuflect is begged

Time:09-29

The 2020-04-16 18:48:24, 125 ^ 159 ^ | | DEBUG ^ | main ^ | com. Heima. Model. Mappers. App. ApBehaviorEntryMapper. SelectByUserIdOrEquipmentId ^ | DEBUG ^ |==> Preparing:/*! Mycat: SQL=select id from ap_behavior_entry where burst='0 and 1 */select * from ap_behavior_entry where a a.e ntry_id=? And type=0 limit 1
The 2020-04-16 18:48:24, 146 ^ 161 ^ | | DEBUG ^ | main ^ | com. Heima. Model. Mappers. App. ApBehaviorEntryMapper. SelectByUserIdOrEquipmentId ^ | DEBUG ^ |==> Parameters: 1 (Integer)
The 2020-04-16 18:48:24, 209 ^ 163 ^ | | DEBUG ^ | main ^ | com. Heima. Model. The mappers. App. ApBehaviorEntryMapper. SelectByUserIdOrEquipmentId ^ | DEBUG ^ | <==Total: 0

Org. Springframework. Web. Util. NestedServletException: Request processing failed; Nested exception is Java. Lang. NullPointerException

The at org. Springframework. Web. Servlet. FrameworkServlet. The processRequest (FrameworkServlet. Java: 1013)
The at org. Springframework. Web. Servlet. FrameworkServlet. DoPost (FrameworkServlet. Java: 908)
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 660)
At org. Springframework. Web. Servlet. FrameworkServlet. Service (882) FrameworkServlet. Java:
At org. Springframework. Test. Web. Servlet. TestDispatcherServlet. Service (71) TestDispatcherServlet. Java:
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 741)
The at org. Springframework. Mock. Web. MockFilterChain $ServletFilterProxy. DoFilter (MockFilterChain. Java: 166)
The at org. Springframework. Mock. Web. MockFilterChain. DoFilter (MockFilterChain. Java: 133)
The at org. Springframework. Boot. Actuate. Web. Trace. Servlet. HttpTraceFilter. DoFilterInternal (HttpTraceFilter. Java: 90)
The at org. Springframework. Web. Filter. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 107)
The at org. Springframework. Mock. Web. MockFilterChain. DoFilter (MockFilterChain. Java: 133)
The at org. Springframework. Web. Filter. RequestContextFilter. DoFilterInternal (RequestContextFilter. Java: 99)
The at org. Springframework. Web. Filter. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 107)
The at org. Springframework. Mock. Web. MockFilterChain. DoFilter (MockFilterChain. Java: 133)
The at org. Springframework. Web. Filter. FormContentFilter. DoFilterInternal (FormContentFilter. Java: 92)
The at org. Springframework. Web. Filter. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 107)
The at org. Springframework. Mock. Web. MockFilterChain. DoFilter (MockFilterChain. Java: 133)
The at org. Springframework. Web. Filter. HiddenHttpMethodFilter. DoFilterInternal (HiddenHttpMethodFilter. Java: 93)
The at org. Springframework. Web. Filter. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 107)
The at org. Springframework. Mock. Web. MockFilterChain. DoFilter (MockFilterChain. Java: 133)
The at org. Springframework. Boot. Actuate. Metrics. Web. Servlet. WebMvcMetricsFilter. FilterAndRecordMetrics (WebMvcMetricsFilter. Java: 117)
The at org. Springframework. Boot. Actuate. Metrics. Web. Servlet. WebMvcMetricsFilter. DoFilterInternal (WebMvcMetricsFilter. Java: 106)
The at org. Springframework. Web. Filter. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 107)
The at org. Springframework. Mock. Web. MockFilterChain. DoFilter (MockFilterChain. Java: 133)
The at org. Springframework. Web. Filter. CharacterEncodingFilter. DoFilterInternal (CharacterEncodingFilter. Java: 200)
The at org. Springframework. Web. Filter. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 107)
The at org. Springframework. Mock. Web. MockFilterChain. DoFilter (MockFilterChain. Java: 133)
The at org. Springframework. Test. Web. Servlet. MockMvc. Perform (MockMvc. Java: 182)
At com. Heima. Article. Controller. V1. ArticleInfoControllerTest. TestLoadArticleBehavior (ArticleInfoControllerTest. Java: 50)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (498) Method. The Java:
The at org. Junit. Runners. Model. FrameworkMethod $1. RunReflectiveCall (FrameworkMethod. Java: 50)
The at org. Junit. Internal. Runners. Model. ReflectiveCallable. Run (ReflectiveCallable. Java: 12)
The at org. Junit. Runners. Model. FrameworkMethod. InvokeExplosively (FrameworkMethod. Java: 47)
The at org. Junit. Internal. Runners. Statements. InvokeMethod. Evaluate (InvokeMethod. Java: 17)
The at org. Springframework. Test. The context. Takeup. Statements. RunBeforeTestExecutionCallbacks. Evaluate (RunBeforeTestExecutionCallbacks. Java: 74)
The at org. Springframework. Test. The context. Takeup. Statements. RunAfterTestExecutionCallbacks. Evaluate (RunAfterTestExecutionCallbacks. Java: 84)
The at org. Springframework. Test. The context. Takeup. Statements. RunBeforeTestMethodCallbacks. Evaluate (RunBeforeTestMethodCallbacks. Java: 75)
The at org. Springframework. Test. The context. Takeup. Statements. RunAfterTestMethodCallbacks. Evaluate (RunAfterTestMethodCallbacks. Java: 86)
The at org. Springframework. Test. The context. Takeup. Statements. SpringRepeat. Evaluate (SpringRepeat. Java: 84)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related