Timo
Timo
Explore posts from servers
JCHJava Community | Help. Code. Learn.
Created by Timo on 6/17/2024 in #java-help
Cannot find the email of the customuser
{ "timestamp": "2024-06-17T18:10:06.641+00:00", "status": 400, "error": "Bad Request", "message": "User not found", "path": "/api/retour/history" } not sure how to fix it excactly
7 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 6/16/2024 in #java-help
need to handle it when the stock is null
everything works but when the stock == 0 it java.lang.NullPointerException: Cannot invoke "com.example.todoappdeel3.models.OrderProduct.getQuantity()" because "orderProduct" is null get stuck
157 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 6/15/2024 in #java-help
need to handle it when the stock is null
get an error when the stock is 0 but not sure how to fix it java.lang.NullPointerException: Cannot invoke "com.example.todoappdeel3.models.OrderProduct.getQuantity()" because "orderProduct" is null
7 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 5/29/2024 in #java-help
has been blocked by CORS policy: Response to preflight request doesn't pass access control check
dunno why it gives a cors error using angular and springboot
11 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 5/29/2024 in #java-help
"Could not write JSON: class java.util.ArrayList cannot be cast to class org.hibernate.mapping.List
tried to make i api call for allorders and orsderbyuserid but now i broke both:boohoo:
10 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 5/29/2024 in #java-help
to {GET [/orders/history]}: There is already 'orderController' bean method
what im i doing wrong here seems something with the path but chaning it doesn t seem to work
9 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 5/24/2024 in #java-help
need to change a json on a network request from the order
angular/java want to get the user id but also the products but dunno how to do it so they don t block each other
41 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 5/23/2024 in #java-help
Custom user is null when i is defined in another tabel with springboot
don t understand why it can t pick the value from the customuser it is just the id so i can match an order to a registered person
23 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 5/18/2024 in #java-help
trying to fix a broken repository
need to fix a broken repository and everything is broken can t use my own but would start all over again if i could right now i have a 500 error related to the orders
6 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 5/17/2024 in #java-help
Cannot invoke "com.example.todoappdeel3.models.CustomUser.getPassword()" because "customUser" is nul
no clue how i can fix it been stukc for 2 hours now
10 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 5/6/2024 in #java-help
why should you use dao and dto
don t really understand why you should use them and don t have a deep un derstanding of them
15 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 4/15/2024 in #java-help
want accept a type to my dao in spring
dunno what im missing
26 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 4/5/2024 in #java-help
trying to get my order saved in different storage in sql (springboot)
already do it in the function addproduct to cart (line 83) and trying to do the same in deleteOrderCartComponentsBycartimtemId (175)
8 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 4/3/2024 in #java-help
got a bug where when i checkout the 2nd item gets deleted from the order
the weird thing is that the 3 and 4 item are getting added using springboot angular and postgres for fullstack
81 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 3/24/2024 in #java-help
it is cancelling my api request in springboot
it canceles before it can even get the info
18 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 3/23/2024 in #java-help
error starting springboot
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-03-23T15:00:28.872+01:00 ERROR 3084 --- [ main] o.s.boot.SpringApplication : Application run failed
9 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 3/18/2024 in #java-help
how can i connect the Category in springboot in the backend to frontend?
will show pics
8 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 2/27/2024 in #java-help
how should i create my database with springboot
will sent pics 🙂
11 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 2/27/2024 in #java-help
how can i not acces postman (springboot)
not in pycharm this time XD
19 replies
JCHJava Community | Help. Code. Learn.
Created by Timo on 2/27/2024 in #java-help
need help reviewing code
why doesn t something show on the website?
11 replies