質問編集履歴
1
ああああああああああああああああああ
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
ああああああああああああああああああ
|
test
CHANGED
@@ -1,143 +1 @@
|
|
1
|
-
### 前提・実現したいこと
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
springbootでCRUDの学習をしており、createの部分で躓いており、Nullを解消してDBにデータをインサートしたいです。
|
6
|
-
|
7
|
-
ProductControllerの42行目が起因してエラーが出ているところはわかるのですが実際にどの部分が間違えているのかがわからないためご教授いただければ幸いです。
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
デバッグを使用として、サービスクラスのmapperを呼び出しているところにブレークポイントを設定しましたが実行は止まらず解決の糸口がわからないため、何卒ご教授いただければ幸いです。
|
12
|
-
|
13
|
-
### 発生している問題・エラーメッセージ
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
```
|
18
|
-
|
19
|
-
|
1
|
+
ああああああああああああああああああああああああああああああああああああ
|
20
|
-
|
21
|
-
at cooking.controller.ProductController.postRegistration(ProductController.java:42)
|
22
|
-
|
23
|
-
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
24
|
-
|
25
|
-
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
26
|
-
|
27
|
-
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
28
|
-
|
29
|
-
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
|
30
|
-
|
31
|
-
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
|
32
|
-
|
33
|
-
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
|
34
|
-
|
35
|
-
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
|
36
|
-
|
37
|
-
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:893)
|
38
|
-
|
39
|
-
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:798)
|
40
|
-
|
41
|
-
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
|
42
|
-
|
43
|
-
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
|
44
|
-
|
45
|
-
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
|
46
|
-
|
47
|
-
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
|
48
|
-
|
49
|
-
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
|
50
|
-
|
51
|
-
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
|
52
|
-
|
53
|
-
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
|
54
|
-
|
55
|
-
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
|
56
|
-
|
57
|
-
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
58
|
-
|
59
|
-
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
60
|
-
|
61
|
-
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
|
62
|
-
|
63
|
-
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
64
|
-
|
65
|
-
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
66
|
-
|
67
|
-
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
|
68
|
-
|
69
|
-
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
|
70
|
-
|
71
|
-
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
72
|
-
|
73
|
-
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
74
|
-
|
75
|
-
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
|
76
|
-
|
77
|
-
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
|
78
|
-
|
79
|
-
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
80
|
-
|
81
|
-
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
82
|
-
|
83
|
-
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94)
|
84
|
-
|
85
|
-
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
|
86
|
-
|
87
|
-
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
88
|
-
|
89
|
-
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
90
|
-
|
91
|
-
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
|
92
|
-
|
93
|
-
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
|
94
|
-
|
95
|
-
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
96
|
-
|
97
|
-
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
98
|
-
|
99
|
-
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
|
100
|
-
|
101
|
-
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
102
|
-
|
103
|
-
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
|
104
|
-
|
105
|
-
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
|
106
|
-
|
107
|
-
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
|
108
|
-
|
109
|
-
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
|
110
|
-
|
111
|
-
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
|
112
|
-
|
113
|
-
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)
|
114
|
-
|
115
|
-
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
|
116
|
-
|
117
|
-
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860)
|
118
|
-
|
119
|
-
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1598)
|
120
|
-
|
121
|
-
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
122
|
-
|
123
|
-
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
124
|
-
|
125
|
-
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
126
|
-
|
127
|
-
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
128
|
-
|
129
|
-
at java.base/java.lang.Thread.run(Thread.java:829)
|
130
|
-
|
131
|
-
```
|
132
|
-
|
133
|
-
![イメージ説明](97c4f5b6ef9439a98056b5eee98e30c1.png)
|
134
|
-
|
135
|
-
![イメージ説明](bb319618108c0705cf23b9692f000ec5.png)
|
136
|
-
|
137
|
-
![イメージ説明](f5911f29513c9227114e5b2301f151cc.png)
|
138
|
-
|
139
|
-
![イメージ説明](fb789ce0ff9a8ede6e71e7d75ddf082e.png)
|
140
|
-
|
141
|
-
![イメージ説明](18a532fe48ef59cd4b30ef3e910d27d5.png)
|
142
|
-
|
143
|
-
![イメージ説明](2838f913ec73c483757c582dd24bd1ff.png)
|