You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that FilterConfig.getSerlvetContext().getRealPath("/") returns null in some cases, so theme directory search fails in DirectoryUtil.getThemeDirectory()
Aug 20, 2013 7:23:50 PM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException
SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
java.lang.NullPointerException
at com.sismics.reader.core.util.DirectoryUtil.getThemeDirectory(DirectoryUtil.java:93)
at com.sismics.reader.core.dao.file.theme.ThemeDao.findAll(ThemeDao.java:30)
at com.sismics.reader.rest.resource.ThemeResource.list(ThemeResource.java:34)
It seems that FilterConfig.getSerlvetContext().getRealPath("/") returns null in some cases, so theme directory search fails in DirectoryUtil.getThemeDirectory()
Maybe http://stackoverflow.com/a/536260 is an answer?
The text was updated successfully, but these errors were encountered: