[
https://issues.apache.org/jira/browse/ISIS-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood resolved ISIS-2758.
---------------------------------------
Resolution: Fixed
> Initial fixture scripts can fail to load due to JSF not present exception.
> --------------------------------------------------------------------------
>
> Key: ISIS-2758
> URL: https://issues.apache.org/jira/browse/ISIS-2758
> Project: Isis
> Issue Type: Bug
> Components: Isis Core
> Affects Versions: 2.0.0-M5
> Reporter: Daniel Keir Haywood
> Assignee: Daniel Keir Haywood
> Priority: Major
> Fix For: 2.0.0-M6
>
>
> stack trace due to: ExceptionInInitializerError
> "java.util.MissingResourceException: Can't find javax.faces.LogStrings bundle
> from"
> where call to currentUserName() brings in ImpersonatedUserHolder and
> ultimately its proxy results in going down a code path to attempt to bring in
> JSF:
> {code:java}
> public abstract class RequestContextHolder {
> private static final boolean jsfPresent =
> ClassUtils.isPresent("javax.faces.context.FacesContext",
> RequestContextHolder.class.getClassLoader());
> {code}
> this class is part of
> {code:java}
> <dependency>
> <groupId>javax</groupId>
> <artifactId>javaee-api</artifactId>
> </dependency>
> {code}
> referenced by both isis-commons and isis-applib.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)