[ONYX-96] Bug dans le appConfig et ajout de unit test Created: 21/Oct/08 Updated:
03/Aug/09 Resolved: 22/Oct/08
Status:
Waiting for Test
Project:
Onyx
Component/s:
None
Affects
Version/s:
None
Fix Version/s:
None
Type:
Bug
Priority:
Major
Reporter:
Nathalie Émond
Assignee:
Alice Carey
Resolution:
Cannot Reproduce
Votes:
0
Labels:
None
Remaining
Estimate:
Not Specified
Time Spent:
Not Specified
Original
Estimate:
Not Specified
Description
J'ai deploye l'application en mode 'deployment'.
Je me suis trompee, j'ai du alors redeploye l'applcation toujours en mode 'deployment'. A partir de ce moment j'ai eu ces messages:
2008-10-21 13:43:46,132 - ERROR - apache.wicket.RequestCycle - Can't instantiate page using constructor public
org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage()
org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public
org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage()
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:168)
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:262)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:283)
at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1171)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199)
at org.apac
ET
Caused by: java.lang.NullPointerException
at org.obiba.onyx.webapp.OnyxAuthenticatedSession.getRoles(OnyxAuthenticatedSession.java:94)
at org.obiba.onyx.webapp.base.panel.MenuBuilder.build(MenuBuilder.java:51)
at org.obiba.onyx.webapp.base.panel.MenuBuilder.build(MenuBuilder.java:37)
at org.obiba.onyx.webapp.base.panel.MenuBar.buildMenus(MenuBar.java:34)
at org.obiba.onyx.webapp.base.panel.MenuBar.<init>(MenuBar.java:29)
at org.obiba.onyx.webapp.base.page.BasePage.<init>(BasePage.java:39)
at org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage.<init>(ApplicationConfigurationPage.java:55)
... 33 more
Il faudrait ajouter des unit test dans cette partie pour eviter ce genre de probleme!
Comment by Alice Carey [ 22/Oct/08 ]
Sur jettyServer, aucune problème...
Generated at Fri May 26 10:25:41 EDT 2017 using JIRA 7.1.9#71013-
sha1:1aa0586d78efb7ed8b3de5c648d4b24912070b66.
1 / 2 100%
La catégorie de ce document est-elle correcte?
Merci pour votre participation!

Faire une suggestion

Avez-vous trouvé des erreurs dans linterface ou les textes ? Ou savez-vous comment améliorer linterface utilisateur de StudyLib ? Nhésitez pas à envoyer vos suggestions. Cest très important pour nous !