Hi

I just checked out the latest from Sling GIT repo and built 
org-apache-sling-starter (mvn --update-snapshots clean install). When I start 
the resulting standalone jar file opening Composum fails with:

java.lang.NullPointerException
        at com.composum.sling.core.util.LinkUtil.getExtension(LinkUtil.java:342)
        at com.composum.sling.core.util.LinkUtil.getExtension(LinkUtil.java:299)
        at com.composum.sling.core.util.LinkUtil.getUrl(LinkUtil.java:136)
        at com.composum.sling.core.util.LinkUtil.getUrl(LinkUtil.java:94)
        at com.composum.sling.core.util.LinkUtil.getUrl(LinkUtil.java:45)
        at 
com.composum.sling.core.servlet.AbstractConsoleServlet.doGet(AbstractConsoleServlet.java:80)

I tried to reverse the logic in that line:

//                    if (resourceType != null && 
!content.getPrimaryType().equals(resourceType)) {
                    if (resourceType != null && 
!resourceType.equals(content.getPrimaryType())) {

But then I still cannot bring up Composum.

Cheers - Andy Schaefer

Reply via email to