integration issue

Post Reply
Posts: 1
Joined: 24 Feb 2021, 22:28

17 Mar 2021, 23:44

Hello guys,

I just bought this template.
1. first i see in forum that there is the demo project, but where is it?
2. i followed the steps, (import poseidon layout, template, add dependency to local mvn rep). But i have the following issue :

Code: Select all

public static ArrayList<String> filterStylesheets(FacesContext context, ArrayList<ResourceInfo> resourceInfos) {
        if (resourceInfos == null || resourceInfos.isEmpty()) {
            return null;
        ResourceHandler resourceHandler = context.getApplication().getResourceHandler();
        ArrayList<String> stylesheets = new ArrayList<String>();
        for (ResourceInfo resourceInfo : resourceInfos) {
            if (isStylesheet(resourceInfo.getResource())) {
                Resource resource;
                if (ComponentUtils.isValueBlank(resourceInfo.getLibrary())) {
                    resource = resourceHandler.createResource(resourceInfo.getName());
                else {
                    resource = resourceHandler.createResource(resourceInfo.getName(), resourceInfo.getLibrary());
        return stylesheets;

Code: Select all

Caused by: java.lang.NullPointerException: Cannot invoke "javax.faces.application.Resource.getRequestPath()" because "resource" is null
with = css/demo-poseidon-wedgewood-light.css

Your help would be greatly appreciated!

Posts: 115
Joined: 29 Jul 2019, 13:57

19 Mar 2021, 15:12


1. Demo project is in the tag folder. You can run with basic 2 steps:
Firstly run sass compile command:

Code: Select all

sass --watch src/main/webapp/resources:src/main/webapp/resources --no-source-map
After then run demo project with maven command:

Code: Select all

mvn clean jetty:run
Please take care of your sass version before run these commands. Use sass version 1.30 or upper.

2. Please copy theme folders (after sass compile command) and paste to your maven project under src/main/webapp/resources folder. Also you can look and examine the file-folder structure on demo project in tag folder.

Best Regards,

Post Reply

Return to “Poseidon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests