rejectedsoftware / vibenews

Combined web forum and NNTP server implementation for stand-alone newsgroups
GNU Affero General Public License v3.0
44 stars 3 forks source link

Cannot register new user #26

Closed luismarques closed 9 years ago

luismarques commented 9 years ago

Using vibenews 0.6.5, I cannot register a new user (using the non-admin interface), as it gives the following error:

[C17E7099:00000000 trc] exception trap
[C17E7099:00000000 ERR] Task terminated with unhandled exception: Called `get' on null Nullable!ValidUsername.
[C17E7099:00000000 dbg] Full error: core.exception.AssertError@/usr/include/dmd/phobos/std/typecons.d(1372): Called `get' on null Nullable!ValidUsername.
[C17E7099:00000000 dbg] ----------------
[C17E7099:00000000 dbg] ./vibenews(std.typecons.Nullable!(vibe.web.validation.ValidUsername).Nullable.getinout(pure nothrow ref @property @nogc @safe inout(vibe.web.validation.ValidUsername) function())+0x8a) [0x8404fa]
[C17E7099:00000000 dbg] ./vibenews(void userman.web.UserManWebInterface.postRegister(vibe.web.validation.ValidEmail, std.typecons.Nullable!(vibe.web.validation.ValidUsername).Nullable, immutable(char)[], vibe.web.validation.ValidPassword, vibe.web.validation.Confirm!("password").Confirm)+0x1d0) [0x988640]
[C17E7099:00000000 dbg] ./vibenews(void vibe.web.web.handleRequest!("postRegister", _D7userman3web19UserManWebInterface12postRegisterMFS4vibe3web10validation10ValidEmailS3std8typecons51__T8NullableTS4vibe3web10validation13ValidUsernameZ8NullableAyaS4vibe3web10validation13ValidPasswordS4vibe3web10validation35__T7ConfirmVAyaa8_70617373776f7264Z7ConfirmZv, userman.web.UserManWebInterface).handleRequest(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse, userman.web.UserManWebInterface, vibe.web.web.WebInterfaceSettings)+0x549) [0x98e291]
[C17E7099:00000000 dbg] ./vibenews(void vibe.web.web.__T20registerWebInterfaceTC7userman3web19UserManWebInterfaceVE4vibe3web6common11MethodStylei5Z.registerWebInterface(vibe.http.router.URLRouter, userman.web.UserManWebInterface, vibe.web.web.WebInterfaceSettings).__lambda12!(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse).__lambda12(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x2d) [0x98c951]
[C17E7099:00000000 dbg] ./vibenews(_D4vibe4http6router9URLRouter13handleRequestMFC4vibe4http6server17HTTPServerRequestC4vibe4http6server18HTTPServerResponseZ21__T9__lambda3TmTAAyaZ9__lambda3MFmMAAyaZv+0x210) [0x9f9354]
[C17E7099:00000000 dbg] ./vibenews(void vibe.http.router.MatchTree!(vibe.http.router.Route).MatchTree.match(immutable(char)[], scope void delegate(ulong, scope immutable(char)[][]))+0x1dc) [0x9f9a40]
[C17E7099:00000000 dbg] ./vibenews(void vibe.http.router.URLRouter.handleRequest(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x1a6) [0x9f90d2]
[C17E7099:00000000 dbg] ./vibenews(bool vibe.http.server.handleRequest(vibe.core.stream.Stream, vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener, ref vibe.http.server.HTTPServerSettings, ref bool)+0x1701) [0xa6b411]
[C17E7099:00000000 dbg] ./vibenews(void vibe.http.server.handleHTTPConnection(vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener)+0x19c) [0xa69c0c]
[C17E7099:00000000 dbg] ./vibenews(void vibe.http.server.listenHTTPPlain(vibe.http.server.HTTPServerSettings).doListen(vibe.http.server.HTTPServerSettings, ulong, immutable(char)[]).__lambda4(vibe.core.net.TCPConnection)+0x62) [0xa6960e]
[C17E7099:00000000 dbg] ./vibenews(void vibe.core.drivers.libevent2_tcp.ClientTask.execute()+0x4d4) [0xa49520]
[C17E7099:00000000 dbg] ./vibenews(void vibe.core.core.makeTaskFuncInfo!(void delegate()).makeTaskFuncInfo(ref void delegate()).callDelegate(vibe.core.core.TaskFuncInfo*)+0x72) [0x8e0bda]
[C17E7099:00000000 dbg] ./vibenews(void vibe.core.core.CoreTask.run()+0x18a) [0x9ad566]
[C17E7099:00000000 dbg] ./vibenews(void core.thread.Fiber.run()+0x2a) [0xb06a2a]
[C17E7099:00000000 dbg] ./vibenews(fiber_entryPoint+0x61) [0xb0693d]
[C17E7099:00000000 dbg] [(nil)]