INCF / eeg-database

EEG/ERP portal enables community researchers to store, update, download and search data and metadata from EEG/ERP experiments. The system is developed as a standalone product; the database access is available through a web interface.

Home Page:https://github.com/INCF/eeg-database/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ScenarioPage - NPE

rinkesj opened this issue · comments

from production:
2014-08-22 22:15:24,951 [btpool0-34] org.apache.wicket.DefaultExceptionMapper ERROR - Unexpected error occurred
org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public cz.zcu.kiv.eegdatabase.wui.ui.scenarios.ScenarioDetailPage(org.apache.wicket.request.mapper.parameter.PageParameters)' and argument 'DEFAULT_PARAM_ID=[93]'. An exception has been thrown during construction!
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:194)

Caused by: java.lang.NullPointerException
at cz.zcu.kiv.eegdatabase.wui.ui.scenarios.ScenarioDetailPage.setupComponents(ScenarioDetailPage.java:88)
at cz.zcu.kiv.eegdatabase.wui.ui.scenarios.ScenarioDetailPage.(ScenarioDetailPage.java:77)
... 65 more

On production isnt scenario with id 93, it was request via old link. But some NPE protection for this will be nice.