Skip to content
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

NullPointerException after registration #197

Open
HD24 opened this issue Mar 11, 2015 · 2 comments
Open

NullPointerException after registration #197

HD24 opened this issue Mar 11, 2015 · 2 comments

Comments

@HD24
Copy link

HD24 commented Mar 11, 2015

I've downloaded the latest version and after registration always I have the same problem:

Execution exception
NullPointerException occured : Try to read admin on null object models.Account (controllers.Application.initSession, line 49)

In /app/controllers/Application.java (around line 49)

45: if(account == null && tx.accounts.size() == 0) {
46: Bootstrap.index();
47: }
48:
49: if(account.admin != null && account.admin)
50: agencies = tx.agencies.values().toArray(new Agency[tx.agencies.size()]);
51: else {
52: agencies = new Agency[] { tx.agencies.get(account.agencyId) };
53: }
54:
55: renderArgs.put("agencies", agencies);

Can someone help me?

Thanks

@JWJoubert
Copy link

My first response (but I'm not a developer) would be that you have not created the initial startup account. Or do you mean you get this error when you first try to run the editor on 127.0.0.1:9000?

@cascafico
Copy link

I solved removing cookies from client browser and adding a slash "/" in address, ie http:/lampo.zapto.org:9000/

Sorry, I cannot replicate problem, hence I don't know which one (or both) solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants