-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nubes session error #74
Comments
exception of sessionCheck : java.lang.reflect.InvocationTargetException |
Hello, Sorry but the issue doesn't sound very very clear to me. Could you please push, on a minimalist GitHub project, a small case that reproduces the issue. For example, just a Main class with a single controller using the session. This way, I can reproduce the bug, add an automatic test case failing reproducing your issue, then fix it (and watch that indeed, the test case passes after the fix). Thanks a lot ! |
Sorry T.T
} |
Here is sessionCheck |
and here is account
} |
Thanks for the source code, but I can't make it work without all the rest of your application. A "reproducer" is a very simple, standalone project (means : that works on its own, without anything else needed) running and showing the bug in action. Here I see some Please understand that reproducing issues from other people is very hard, and it helps alot to have a very simple test case (the most minimal as possible) showing the issue, without any "noise" (i.e. some code that is not involved in the bug). But please note, as mentionned in #67 that using Thanks. |
oh i use '(RoutingContext ctx, Session session)' in sessionCheck |
i tried get sessonKey in the session in sessionCheck . String sesionKey was null,,, |
i make server with nubes. but i can't use SessionHandler. when i route sessionHandler, server didn't work. then i saw a issue, use this code '(RoutingContext routingContext,Session session)'.
i try contain session. so i write this code 'session.put("sessionKey",sessionKey);'. it worked! but i make method sessionCheck. so i write this code (RoutingContext routingContext,Session session). but it didn't work!!T.T
i do debug this code. so i think session of login method and session of sessionCheck are different object.
please slove this problem T.T
The text was updated successfully, but these errors were encountered: