Mantis - Resin
Viewing Issue Advanced Details
4055 minor always 05-28-10 12:54 05-31-10 14:42
alex  
 
normal  
closed 4.0.6  
fixed  
none    
none 4.0.8  
0004055: /resin-admin create new password with non-writable admin-users.xml.generated throws bad exception
on behalf of Steve Francis
The error message needs to be improved and reflect real reason for the failure
to reproduce: generate admin-users.xml.generated once, set attributes to -w and try generating another username/password combination
500 Servlet Exception

[show] java.lang.IllegalStateException: Cannot marshal false to BinaryOutput

java.lang.IllegalStateException: Cannot marshal false to BinaryOutput
    at com.caucho.quercus.marshal.BinaryOutputMarshal.marshal(BinaryOutputMarshal.java:72)
    at com.caucho.quercus.env.JavaInvoker.callMethod(JavaInvoker.java:675)
    at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:641)
    at com.caucho.quercus.expr.CallExpr.evalImpl(CallExpr.java:238)
    at com.caucho.quercus.expr.CallExpr.eval(CallExpr.java:151)
    at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523)
    at com.caucho.quercus.statement.ExprStatement.execute(ExprStatement.java:67)
    at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105)
    at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:81)
    at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105)
    at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:409)
    at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:89)
    at com.caucho.quercus.env.Env.executePageTop(Env.java:3874)
    at com.caucho.quercus.env.Env.executeTop(Env.java:3817)
    at com.caucho.quercus.servlet.QuercusServletImpl.service(QuercusServletImpl.java:185)
    at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:610)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:96)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:286)
    at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:283)
    at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:121)
    at com.caucho.security.FormLogin.loginChallenge(FormLogin.java:406)
    at com.caucho.security.AbstractLogin.login(AbstractLogin.java:312)
    at com.caucho.security.LoginList.login(LoginList.java:165)
    at com.caucho.server.http.AbstractCauchoRequest.login(AbstractCauchoRequest.java:398)
    at com.caucho.server.security.SecurityFilterChain.doFilter(SecurityFilterChain.java:116)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
    at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:169)
    at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:286)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:783)
    at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:647)
    at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:613)
    at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:566)
    at com.caucho.network.listen.TcpSocketLink$AcceptTask.doTask(TcpSocketLink.java:1147)
    at com.caucho.network.listen.TcpSocketLink$ConnectionReadTask.runThread(TcpSocketLink.java:1084)
    at com.caucho.network.listen.TcpSocketLink$AcceptTask.run(TcpSocketLink.java:1115)
    at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
    at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)

There are no notes attached to this issue.