error when force users to change password in zimbra 10
error when force users to change password in zimbra 10
Hi
I installed ZCS opensource 10 on Ubuntu 20.04
I faced a problem: I want to force users change their password in first login.I check "Must Change password " for all users but when the user logged in to server it shows':
Internal Server Error
The server has encountered an internal error.
Please try again later.
Error 500
Is that a bug? what should I do?
any idea?
Thanks
I installed ZCS opensource 10 on Ubuntu 20.04
I faced a problem: I want to force users change their password in first login.I check "Must Change password " for all users but when the user logged in to server it shows':
Internal Server Error
The server has encountered an internal error.
Please try again later.
Error 500
Is that a bug? what should I do?
any idea?
Thanks
-
umashankar.avagadda
- Zimbra Employee

- Posts: 163
- Joined: Wed Apr 05, 2023 6:29 am
Re: error when force users to change password in zimbra 10
can you please check the logs /opt/zimbra/log/mailbox.log, /opt/zimbra/log/zmmailboxd.out ?
Re: error when force users to change password in zimbra 10
Thanks:
in /opt/zimbra/log/mailbox.log there was not any thing special
/opt/zimbra/log/zmmailboxd.out
Caused by:
java.lang.NullPointerException: Cannot invoke "com.zimbra.cs.account.Account.getPasswordMinLength()" because "acct" is null
at org.apache.jsp.public_.login_jsp._jspService(login_jsp.java:1186)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:465)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331)
at org.eclipse.jetty.jsp.JettyJspServlet.service(JettyJspServlet.java:106)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:618)
in /opt/zimbra/log/mailbox.log there was not any thing special
/opt/zimbra/log/zmmailboxd.out
Caused by:
java.lang.NullPointerException: Cannot invoke "com.zimbra.cs.account.Account.getPasswordMinLength()" because "acct" is null
at org.apache.jsp.public_.login_jsp._jspService(login_jsp.java:1186)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:465)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331)
at org.eclipse.jetty.jsp.JettyJspServlet.service(JettyJspServlet.java:106)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:618)
-
umashankar.avagadda
- Zimbra Employee

- Posts: 163
- Joined: Wed Apr 05, 2023 6:29 am
Re: error when force users to change password in zimbra 10
is mailbox running ? Can you share the whole log of /opt/zimbra/log/zmmailboxd.out if possible?
Re: error when force users to change password in zimbra 10
yes. everything is ok. we can send and recieve without problem.
here the log file when I check "must change password" the errors appeared in log :
[484329.133s][info][gc] GC(5210) Pause Young (Normal) (G1 Evacuation Pause) 5025M->2130M(6412M) 31.123ms
[484418.170s][info][gc] GC(5211) Pause Young (Normal) (G1 Evacuation Pause) 5026M->2129M(6412M) 26.832ms
[484501.240s][info][gc] GC(5212) Pause Young (Normal) (G1 Evacuation Pause) 5025M->2131M(6412M) 19.812ms
[484585.779s][info][gc] GC(5213) Pause Young (Normal) (G1 Evacuation Pause) 4967M->2130M(6412M) 44.460ms
[484680.565s][info][gc] GC(5214) Pause Young (Normal) (G1 Evacuation Pause) 4970M->2136M(6412M) 25.451ms
[484757.237s][info][gc] GC(5215) Pause Young (Normal) (G1 Evacuation Pause) 5032M->2135M(6412M) 33.553ms
[484837.588s][info][gc] GC(5216) Pause Young (Normal) (G1 Evacuation Pause) 5011M->2136M(6412M) 20.609ms
[484924.683s][info][gc] GC(5217) Pause Young (Normal) (G1 Evacuation Pause) 4972M->2135M(6412M) 25.835ms
[485020.050s][info][gc] GC(5218) Pause Young (Normal) (GCLocker Initiated GC) 5016M->2139M(6412M) 30.815ms
2024-01-29 13:03:00.257:WARN:oejs.HttpChannel:qtp364604394-1883655: /
javax.servlet.ServletException: org.apache.jasper.JasperException: java.lang.NullPointerException: Cannot invoke "com.zimbra.cs.account.Account.getPasswordMinLength()" because "acct" is null
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:162)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763)
at org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:80)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.base/java.lang.Thread.run(Thread.java:833)
here the log file when I check "must change password" the errors appeared in log :
[484329.133s][info][gc] GC(5210) Pause Young (Normal) (G1 Evacuation Pause) 5025M->2130M(6412M) 31.123ms
[484418.170s][info][gc] GC(5211) Pause Young (Normal) (G1 Evacuation Pause) 5026M->2129M(6412M) 26.832ms
[484501.240s][info][gc] GC(5212) Pause Young (Normal) (G1 Evacuation Pause) 5025M->2131M(6412M) 19.812ms
[484585.779s][info][gc] GC(5213) Pause Young (Normal) (G1 Evacuation Pause) 4967M->2130M(6412M) 44.460ms
[484680.565s][info][gc] GC(5214) Pause Young (Normal) (G1 Evacuation Pause) 4970M->2136M(6412M) 25.451ms
[484757.237s][info][gc] GC(5215) Pause Young (Normal) (G1 Evacuation Pause) 5032M->2135M(6412M) 33.553ms
[484837.588s][info][gc] GC(5216) Pause Young (Normal) (G1 Evacuation Pause) 5011M->2136M(6412M) 20.609ms
[484924.683s][info][gc] GC(5217) Pause Young (Normal) (G1 Evacuation Pause) 4972M->2135M(6412M) 25.835ms
[485020.050s][info][gc] GC(5218) Pause Young (Normal) (GCLocker Initiated GC) 5016M->2139M(6412M) 30.815ms
2024-01-29 13:03:00.257:WARN:oejs.HttpChannel:qtp364604394-1883655: /
javax.servlet.ServletException: org.apache.jasper.JasperException: java.lang.NullPointerException: Cannot invoke "com.zimbra.cs.account.Account.getPasswordMinLength()" because "acct" is null
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:162)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763)
at org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:80)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.base/java.lang.Thread.run(Thread.java:833)
-
yogesh.dasi
- Zimbra Employee

- Posts: 67
- Joined: Tue Oct 18, 2022 11:22 am
Re: error when force users to change password in zimbra 10
This error is happening when the user is trying to login or when the user is created with option must change password?
Re: error when force users to change password in zimbra 10
when "must Change password" is enabled and user login.
if "must change password" uncheck every thing is ok and user can login without any problem
if "must change password" uncheck every thing is ok and user can login without any problem
Re: error when force users to change password in zimbra 10
any idea please?
-
yogesh.dasi
- Zimbra Employee

- Posts: 67
- Joined: Tue Oct 18, 2022 11:22 am
Re: error when force users to change password in zimbra 10
Trying to reproduce this issue on our end but it didn't happen yet. Error which is thrown for getPasswordMinLength() as acct null there are other calls too which are executed on the same account object and there it didn't show any error as such. We are looking into it further to understand the scenario.
In the mean time could you add the debug logger on the account showing the error and see if there is anything shows up for error in mailbox.log.
Also could please share complete exception that you see for acct null.
In the mean time could you add the debug logger on the account showing the error and see if there is anything shows up for error in mailbox.log.
Also could please share complete exception that you see for acct null.
-
saket.patel
- Zimbra Employee

- Posts: 169
- Joined: Mon Apr 11, 2022 8:39 pm
Re: error when force users to change password in zimbra 10
This looks like an issue with faulty build creation, can you share steps on how you created the build?
