EG4 Community Forum

500 Error When Regi...
 
Notifications
Clear all

Question 500 Error When Registering

4 Posts
2 Users
0 Reactions
14 Views
 ray
(@ray)
Posts: 8
Active Member
Topic starter
 

I have two EG4 12000XP that I finally got hooked up this weekend. Problem is that 1) They don't charge from the PV. I get voltage but it never charges. I wanted to register the product to maybe be able to change things in the cloud but I get this error whenever I try to register. I'm not sure what to do here? I can change some of the settings on the inverter itself and was able to get the dongle connected to wifi but am stuck because the registration page is broken. 

I'm not sure why the PV is not charging the batteries. I currently have only tried to get one online before I turn on the other one. I also get errors when filling out support ticket. 

I see no error codes at all on my inverter, I have set the batteries to 0:Standard. Although the manual says this is 0:EG4 (incorrect). I also set them to Lux (6) that seems to actually work better as it correctly picks up the 6 EG4 Rack Batteries. 

I have everything set up but don't understand why it will not charge the batteries. It reads 72 volts, but will only ever go into BatOffGrid mode. 

But, first I guess I need to figure out why I can't register my account. 

TTP Status 500 – Internal Server Error
Type Exception Report
 
Message Request processing failed; nested exception is java.lang.NullPointerException: Cannot invoke "com.w.server.core.bean.view.user.User.getUserId()" because "defaultCustomerCodeUser" is null
 
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
 
Exception
 
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException: Cannot invoke "com.w.server.core.bean.view.user.User.getUserId()" because "defaultCustomerCodeUser" is null
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
javax.servlet.http.HttpServlet.service(HttpServlet.java:515)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
javax.servlet.http.HttpServlet.service(HttpServlet.java:583)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
com.w.server.view.decryption.DecryptionFilter.doFilter(DecryptionFilter.java:129)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Root Cause
 
java.lang.NullPointerException: Cannot invoke "com.w.server.core.bean.view.user.User.getUserId()" because "defaultCustomerCodeUser" is null
com.w.server.service.user.InstallerRecordService.doReportInstall(InstallerRecordService.java:283)
com.w.server.service.user.InstallerRecordService$$FastClassBySpringCGLIB$$8299745f.invoke(<generated>)
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
com.w.server.service.user.InstallerRecordService$$EnhancerBySpringCGLIB$$76765ca1.doReportInstall(<generated>)
com.w.server.service.device.inverter.InverterService.changeInverterPlant(InverterService.java:1362)
com.w.server.service.device.inverter.InverterService$$FastClassBySpringCGLIB$$787d9dff.invoke(<generated>)
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
com.w.server.service.device.inverter.InverterService$$EnhancerBySpringCGLIB$$50b9dd81.changeInverterPlant(<generated>)
com.w.server.service.device.datalog.DatalogService.updateInverters2PlantOfDatalog(DatalogService.java:581)
com.w.server.service.device.datalog.DatalogService.add(DatalogService.java:447)
com.w.server.service.device.datalog.DatalogService$$FastClassBySpringCGLIB$$41b1d207.invoke(<generated>)
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
com.w.server.service.device.datalog.DatalogService$$EnhancerBySpringCGLIB$$41733e99.add(<generated>)
com.w.server.service.user.RegisterService.registerWithAllInfo(RegisterService.java:191)
com.w.server.service.user.RegisterService$$FastClassBySpringCGLIB$$bee2b20f.invoke(<generated>)
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
com.w.server.service.user.RegisterService$$EnhancerBySpringCGLIB$$2b6e23b1.registerWithAllInfo(<generated>)
com.w.server.view.web.user.controller.RegisterController.registerWithAllInfo(RegisterController.java:193)
jdk.internal.reflect.GeneratedMethodAccessor2165.invoke(Unknown Source)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:569)
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:204)
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:854)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:765)
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
javax.servlet.http.HttpServlet.service(HttpServlet.java:515)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
javax.servlet.http.HttpServlet.service(HttpServlet.java:583)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
com.w.server.view.decryption.DecryptionFilter.doFilter(DecryptionFilter.java:129)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Note The full stack trace of the root cause is available in the server logs.
 
Apache Tomcat/8.5.88
 
Posted : October 26, 2025 10:06 pm
 ray
(@ray)
Posts: 8
Active Member
Topic starter
 

Was able to the inverter working (needed more voltage), but still have this error on the registration page. So sort of stuck right now on the install process. 

 
Posted : October 27, 2025 9:20 pm
 ray
(@ray)
Posts: 8
Active Member
Topic starter
 

This was a replacement dongle sent to me, so I wonder if that is part of the problem... It fails when it tries to report the install (per the stacktrace above) and it attempts to grab the default customer code which doens't seem to be set up for my dongle. 

 
Posted : October 27, 2025 9:23 pm
EG4 Eric
(@eg4eric)
Posts: 671
Honorable Member
 

@ray Are you still not able to register the dongle?

 
Posted : October 28, 2025 4:26 pm
Share: