Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all 12476 articles
Browse latest View live

AuthenticationSupport service missing after building index.

$
0
0

I got an error on browser console after starting the CQ Author instance saying that "Service Unavailable AuthenticationSupport service missing. Cannot authenticate request. "

 

I just started all the bundles and also rebuit the index but still am getting the same error message.

 

When i logged in to system/console(OSGI Console) One thing i just noticed Authenticator tab is missing.

 

Help out to solve this issue

 

Thanks in Advance...

 

Mahesh


need to call servlet from jsp how

$
0
0

generally we specify in action attribute 

 

in cq how to specify the servlet path

 

what should be the folder structure plz explain with an example

Errors when (re)activating digital assets on a new Publish install

$
0
0

Greetings,

 

First post here, and I'm also not very well versed with Adobe CQ (yet), so bear with me:

 

I've configured an Author instance in a dev environemtnt, got it up and running, updated, etc and created workflows, set up replication, done all the basics.

 

After a failed attempt to upgrade our Publish instance to CQ5 SP2.2, I recreated it from scratch. I set up replication again with our Author instance, and started reactivating Workflows/Users/Websites/etc.

 

I started to reactivate our Digital Assets (we have many gigs of pictures/movies) and this is where I ran into some problems.

 

I was performing a tree activation on a folder under the Digital Assets, when I noticed that we had something like 300 items stuck in the replication queue.

 

I dug into the replication event log and was greeted with the following error:

 

7.01.2013 12:52:01 - DEBUG - publish : adding header: Action:Activate

07.01.2013 12:52:01 - DEBUG - publish : adding header: Path:/content/dam/WIP/NW/screenshots/Vellosk_Lore_Trailer_Screenshots/neverwinter_e3_scre en7.jpg

07.01.2013 12:52:01 - DEBUG - publish : adding header: Handle:/content/dam/WIP/NW/screenshots/Vellosk_Lore_Trailer_Screenshots/neverwinter_e3_sc reen7.jpg

07.01.2013 12:52:01 - DEBUG - publish : deserialize content for delivery

07.01.2013 12:52:01 - DEBUG - publish : set 1306653 bytes of post body.

07.01.2013 12:52:01 - INFO - publish : Sending POST request to http://eve/bin/receive?sling:authRequestLogin=1

07.01.2013 12:52:01 - INFO - publish : sent. Response: 400 Bad Request

07.01.2013 12:52:01 - ERROR - publish : Replication (ACTIVATE) of /content/dam/WIP/NW/screenshots/Vellosk_Lore_Trailer_Screenshots/neverwinter_e3_screen7.j pg not successful. Conversation follows

07.01.2013 12:52:01 - ERROR - publish : ------------------------------------------------

07.01.2013 12:52:01 - ERROR - publish : Sending message to eve:-1

07.01.2013 12:52:01 - ERROR - publish : >> POST /bin/receive HTTP/1.0

07.01.2013 12:52:01 - ERROR - publish : >> Action: Activate

07.01.2013 12:52:01 - ERROR - publish : >> Path: /content/dam/WIP/NW/screenshots/Vellosk_Lore_Trailer_Screenshots/neverwinter_e3_screen7.j pg

07.01.2013 12:52:01 - ERROR - publish : >> Handle: /content/dam/WIP/NW/screenshots/Vellosk_Lore_Trailer_Screenshots/neverwinter_e3_screen7.j pg

07.01.2013 12:52:01 - ERROR - publish : >> ...spooling 1306653 bytes...

07.01.2013 12:52:01 - ERROR - publish : --

07.01.2013 12:52:01 - ERROR - publish : << HTTP/1.1 400 Bad Request

07.01.2013 12:52:01 - ERROR - publish : << Connection: Close

07.01.2013 12:52:01 - ERROR - publish : << Server: Day-Servlet-Engine/4.1.32

07.01.2013 12:52:01 - ERROR - publish : << Content-Type: text/plain;charset=utf-8

07.01.2013 12:52:01 - ERROR - publish : << Content-Length: 130

07.01.2013 12:52:01 - ERROR - publish : << Date: Mon, 07 Jan 2013 20:52:01 GMT

07.01.2013 12:52:01 - ERROR - publish : <<

07.01.2013 12:52:01 - ERROR - publish : << error: com.day.cq.replication.ReplicationException: Repository error during page import: The system cannot find the path specified

07.01.2013 12:52:01 - ERROR - publish : Message sent.

07.01.2013 12:52:01 - ERROR - publish : ------------------------------------------------

07.01.2013 12:52:01 - INFO - publish : Replication (ACTIVATE) of /content/dam/WIP/NW/screenshots/Vellosk_Lore_Trailer_Screenshots/neverwinter_e3_screen7.j pg not successful.

 

I can't for the life of me find anything on Google that might have more information on this issue (or the cause). Could anyone point me in the right direction to resolve this issue?

 

Thanks!

Creating a component for user search

$
0
0

 

 

 

I am trying to make a component, where the user will enter a userid, and the component should search the user with that id and give all details for that user.

I am not finding any kind of help on the entire site which point to this area of user search.

 

i am using cq5.5.

 

Any help wil be greatly appreciated.

 

Thanks a lot.

java.lang.IllegalStateException when starting CQ5 quickstart

$
0
0

During CQ5-Start (with the quickstart/bin/start-script) I get every now and then the stack-trace:

 

RAWProcessor succesfully installed

java.lang.IllegalStateException: Can only register services while bundle is active or activating.

        at org.apache.felix.framework.Felix.registerService(Felix.java:2824)

        at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251)

        at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:229)

        at org.apache.sling.bundleresource.impl.BundleResourceProvider.registerService(BundleResourc eProvider.java:81)

        at org.apache.sling.bundleresource.impl.Activator.addBundleResourceProvider(Activator.java:1 18)

        at org.apache.sling.bundleresource.impl.Activator.bundleChanged(Activator.java:95)

        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatc her.java:807)

        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java :729)

        at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949)

        at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)

        at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)

        at java.lang.Thread.run(Thread.java:722)

 

The stdout.log displays:

ERROR: [Thread[FelixDispatchQueue,5,main]] Waited too long to acquire lock for bundle org.apache.sling.bundleresource.impl [95] owned by null (lockcount=0); giving up.

ERROR: Bundle org.apache.sling.bundleresource.impl [95]: EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: Can only register services while bundle is active or activating.)

 

I verified the Bundle via the OSGi-console, it's active.My interpretation is, that we see a timing problem - something is not ready in the expected time frame but at last it is fixed then automatically.

 

I would love to know what happened here, what I can  do to prevent this message and what I can do to track this error myself. Any hint is appreciated.

 

Ulrich

Creating a blueprint out of an existing livecopy

$
0
0

Hello,

 

We have a site in CQ 5.4 using roughly the following structure.

 

-/content/site/

               -/blueprint1/home/

                                   -/page1...

                                   -/page2...

               -/livecopy1/home/

                                   -/page1...

                                   -/page2...

               -/livecopy2/home/

                                   -/page1...

                                   -/page2...

 

ETC...

 

Now we would like to create a new blueprint out of livecopy2 that will follow the same structure so...

 

          -/livecopy2-copy1/home/

                                   -/page1...

                                   -/page2...

          -/livecopy2-copy2/home/

                                   -/page1...

                                   -/page2...

 

ETC...

 

 

After some testing, I can confirm this works, but only if /livecopy2 is pristine, meaning it has no cancelled inheritance from blueprint1. If it has any properties that have been modified (which I want to carry over to it's livecopies), the Site Admin gives me a message "Could not create Live Copy: Unable to remove Live Copy markers." And I see the following in the error log:

 

 

12.03.2013 12:33:20.943 *ERROR* [127.0.0.1 [1363106000934] POST /bin/wcmcommand HTTP/1.1] com.day.cq.wcm.msm.impl.commands.CreateSiteCommand Error during Live Copy creation. com.day.cq.wcm.api.WCMException: Unable to remove Live Copy markers

          at com.day.cq.wcm.msm.impl.Utils.detachLiveCopy(Utils.java:225)

          at com.day.cq.wcm.msm.impl.LiveCopyManager.remove(LiveCopyManager.java:213)

          at com.day.cq.wcm.msm.impl.LiveRelationshipManagerImpl.endRelationship(LiveRelationshipManag erImpl.java:308)

          at com.day.cq.wcm.msm.impl.commands.LiveCommand.createCopyTarget(LiveCommand.java:99)

          at com.day.cq.wcm.msm.impl.commands.LiveCommand.createLiveCopy(LiveCommand.java:145)

          at com.day.cq.wcm.msm.impl.commands.CreateLiveCopyCommand.performCommand(CreateLiveCopyComma nd.java:83)

          at com.day.cq.wcm.core.impl.commands.WCMCommandServlet$CommandHolder.performCommand(WCMComma ndServlet.java:149)

          at com.day.cq.wcm.core.impl.commands.WCMCommandServlet.performCommand(WCMCommandServlet.java :251)

          at com.day.cq.commons.servlets.AbstractCommandServlet.doPost(AbstractCommandServlet.java:49)

          at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.ja va:148)

          at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.jav a:344)

          at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.jav a:375)

          at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:491)

          at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

          at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:147)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

          at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:334 )

          at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:152)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

          at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:280)

          at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

          at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:287)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

          at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

          at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

          at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:67)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

          at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:96)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

          at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:119)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

          at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:84)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

          at org.apache.sling.portal.container.internal.request.PortalFilter.doFilter(PortalFilter.jav a:76)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

          at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)

          at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

          at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:171)

          at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:199)

          at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)

          at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)

          at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)

          at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)

          at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

          at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:249)

          at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

          at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

          at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

          at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

          at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)

          at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)

          at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

          at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

          at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate. java:277)

          at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:150)

          at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:228)

          at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)

          at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:74)

          at com.day.crx.launchpad.filters.CRXLaunchpadLicenseFilter.doFilter(CRXLaunchpadLicenseFilte r.java:96)

          at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:72)

          at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)

          at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:378)

          at com.day.j2ee.servletengine.ServletHandlerImpl.execute(ServletHandlerImpl.java:315)

          at com.day.j2ee.servletengine.DefaultThreadPool$DequeueThread.run(DefaultThreadPool.java:134 )

          at java.lang.Thread.run(Thread.java:680)

Caused by: com.day.cq.wcm.api.WCMException: Unable to remove Live Copy markers

          at com.day.cq.wcm.msm.impl.Utils.detachLiveCopy(Utils.java:274)

          at com.day.cq.wcm.msm.impl.Utils.detachLiveCopy(Utils.java:221)

          ... 70 more

Caused by: javax.jcr.nodetype.NoSuchNodeTypeException: Mixin cq:LiveRelationship not included in node /content/site/livecopy2-copy1/home/jcr:content

          at org.apache.jackrabbit.core.RemoveMixinOperation.perform(RemoveMixinOperation.java:87)

          at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)

          at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)

          at org.apache.jackrabbit.core.NodeImpl.removeMixin(NodeImpl.java:912)

          at org.apache.jackrabbit.core.NodeImpl.removeMixin(NodeImpl.java:2316)

          at com.day.cq.wcm.msm.impl.Utils.detachLiveCopy(Utils.java:249)

          ... 71 more

 

 

 

 

 

This kind of makes sense, because you can't cancel a live relationship before one actually exists, but there must be some sort of workaround to allow for this type of structure. We cannot be the only ones trying to use this CMS for multiple livecopy/blueprint relationship branches that share the same root. Does anyone have any ideas?

 

Thanks.

CQ5.5 Embedded Javascript not minifying

$
0
0

Hi

 

Have applied javascript minify on my publish server with the following results:

  • Any scripts which are in a standard client lib folder are minified
  • Any scripts which are merged in a client lib (using the embed property) are not minified

e.g.
Minified:
http://server:4503/apps/myapp/components/content/component/clientlibs.js

Not minified (even though this is just embedding the class above):
http://server:4503/etc/designs/myapp/clientlibs_component.js

 

I am using CQ5.5 with no Service Pack applied.  Is this the expected results?

 

Thanks

Error when trying to consume OSGI Service

$
0
0

Hi Everyone,

 

This is my first post after attending the developer and advanced developer courses on CQ5.5.  Everything has been fine up to the point where I am trying to create and consume an OSGI service but am receiving an error.  I was hoping someone could help?

 

I have created a bundle which has an interface (RepositoryService) and implementation (RepositoySeviceImp) .  I have modified the bnd file to export my package:

 

Export-Package: com.adobe.training

Import-Package: *

Private-Package: com.adobe.training.impl

# Include-Resource:

Bundle-Name: my training bundle

Bundle-Description: NA

Bundle-SymbolicName: com.adobe.training.hellobundle

Bundle-Version: 1.0.0-SNAPSHOT

Bundle-Activator: com.adobe.training.Activator


Everything looks fine in the OSGI console.


I then try to consume the service in my jsp:

<%com.adobe.training.RepositoryService repositoryService = sling.getService(com.adobe.training.RepositoryService.class);%>

<%= repositoryService.getRepositoryName()%>

 

However the repositioryService is null and causes the following exception..  I guess sling cannot find the class but I dont understand why?

 

  1. 18.03.2013 16:54:48.881 *INFO* [pool-6-thread-13-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.impl.AgentManagerImpl Processing job for agent publish
  2. 18.03.2013 16:54:48.882 *INFO* [pool-6-thread-13-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Sending POST request to http://localhost:4503/bin/receive?sling:authRequestLogin=1
  3. 18.03.2013 16:54:49.883 *ERROR* [pool-6-thread-13-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Error while sending request: java.net.ConnectException: Connection refused: connect
  4. 18.03.2013 16:54:49.883 *ERROR* [pool-6-thread-13-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Replication (ACTIVATE) of /etc/designs/mtDesign/static.css not successful: java.net.ConnectException: Connection refused: connect Conversation follows
  5. 18.03.2013 16:54:49.883 *ERROR* [pool-6-thread-13-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish ------------------------------------------------
  6. 18.03.2013 16:54:49.883 *ERROR* [pool-6-thread-13-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Sending message to localhost:4503
  7. 18.03.2013 16:54:49.883 *ERROR* [pool-6-thread-13-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> POST /bin/receive HTTP/1.0
  8. 18.03.2013 16:54:49.883 *ERROR* [pool-6-thread-13-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Action: Activate
  9. 18.03.2013 16:54:49.883 *ERROR* [pool-6-thread-13-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Path: /etc/designs/mtDesign/static.css
  10. 18.03.2013 16:54:49.883 *ERROR* [pool-6-thread-13-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Handle: /etc/designs/mtDesign/static.css
  11. 18.03.2013 16:54:49.883 *ERROR* [pool-6-thread-13-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> ...spooling 22345 bytes...
  12. 18.03.2013 16:54:49.883 *INFO* [pool-6-thread-13-com/day/cq/replication/job/publish(com/day/cq/replication/job/publish)] com.day.cq.replication.impl.AgentManagerImpl Job for agent publish processed in 1002ms. Failed.
  13. 18.03.2013 16:54:57.419 *ERROR* [0:0:0:0:0:0:0:1 [1363625697385] GET /content/geometrixx/en.html HTTP/1.1] com.day.cq.wcm.tags.IncludeTag Error while executing script content.jsp org.apache.sling.api.scripting.ScriptEvaluationException: An exception occurred processing JSP page /apps/geometrixx/components/homepage/content.jsp at line 28

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:385)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)

            at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)

            at org.apache.jsp.apps.geometrixx.components.page.body_jsp._jspx_meth_cq_005finclude_005f2(b ody_jsp.java:250)

            at org.apache.jsp.apps.geometrixx.components.page.body_jsp._jspService(body_jsp.java:170)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)

            at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)

            at org.apache.jsp.libs.foundation.components.page.page_jsp._jspx_meth_cq_005finclude_005f1(p age_jsp.java:197)

            at org.apache.jsp.libs.foundation.components.page.page_jsp._jspService(page_jsp.java:151)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

            at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:183 )

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:150)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProces sorImpl.java:297)

            at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatch er.java:216)

            at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatche r.java:103)

            at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponent Filter.java:381)

            at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.j ava:106)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

            at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:147)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )

            at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

            at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

            at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:296)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:89)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:153)

            at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206)

            at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)

            at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)

            at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179)

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:238)

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75 )

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)

            at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)

            at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:250)

            at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)

            at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)

            at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:377)

            at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:351)

            at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:625)

            at java.lang.Thread.run(Unknown Source)

Caused by: org.apache.sling.api.SlingException: An exception occurred processing JSP page /apps/geometrixx/components/homepage/content.jsp at line 28

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:574)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:451)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            ... 121 more

Caused by: java.lang.NullPointerException

            at org.apache.jsp.apps.geometrixx.components.homepage.content_jsp._jspService(content_jsp.ja va:160)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            ... 126 more

  1. 18.03.2013 16:54:57.420 *ERROR* [0:0:0:0:0:0:0:1 [1363625697385] GET /content/geometrixx/en.html HTTP/1.1] com.day.cq.wcm.tags.IncludeTag Error while executing script body.jsp org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script content.jsp

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:385)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)

            at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)

            at org.apache.jsp.libs.foundation.components.page.page_jsp._jspx_meth_cq_005finclude_005f1(p age_jsp.java:197)

            at org.apache.jsp.libs.foundation.components.page.page_jsp._jspService(page_jsp.java:151)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

            at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:183 )

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:150)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProces sorImpl.java:297)

            at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatch er.java:216)

            at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatche r.java:103)

            at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponent Filter.java:381)

            at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.j ava:106)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

            at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:147)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )

            at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

            at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

            at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:296)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:89)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:153)

            at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206)

            at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)

            at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)

            at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179)

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:238)

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75 )

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)

            at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)

            at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:250)

            at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)

            at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)

            at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:377)

            at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:351)

            at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:625)

            at java.lang.Thread.run(Unknown Source)

Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script content.jsp

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:563)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:443)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            ... 107 more

Caused by: org.apache.sling.api.SlingException: An exception occurred processing JSP page /apps/geometrixx/components/homepage/content.jsp at line 28

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:574)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:451)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)

            at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)

            at org.apache.jsp.apps.geometrixx.components.page.body_jsp._jspx_meth_cq_005finclude_005f2(b ody_jsp.java:250)

            at org.apache.jsp.apps.geometrixx.components.page.body_jsp._jspService(body_jsp.java:170)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            ... 112 more

Caused by: java.lang.NullPointerException

            at org.apache.jsp.apps.geometrixx.components.homepage.content_jsp._jspService(content_jsp.ja va:160)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            ... 126 more

  1. 18.03.2013 16:54:57.421 *ERROR* [0:0:0:0:0:0:0:1 [1363625697385] GET /content/geometrixx/en.html HTTP/1.1] com.day.cq.wcm.core.impl.WCMDebugFilter Error during include of SlingRequestPathInfo: path='/content/geometrixx/en/jcr:content', selectorString='null', extension='html', suffix='null' org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script body.jsp

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:385)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

            at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:183 )

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:150)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProces sorImpl.java:297)

            at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatch er.java:216)

            at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatche r.java:103)

            at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponent Filter.java:381)

            at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.j ava:106)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

            at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:147)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )

            at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

            at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

            at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:296)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:89)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:153)

            at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206)

            at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)

            at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)

            at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179)

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:238)

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75 )

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)

            at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)

            at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:250)

            at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)

            at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)

            at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:377)

            at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:351)

            at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:625)

            at java.lang.Thread.run(Unknown Source)

Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script body.jsp

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:563)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:443)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            ... 93 more

Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script content.jsp

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:563)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:443)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)

            at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)

            at org.apache.jsp.libs.foundation.components.page.page_jsp._jspx_meth_cq_005finclude_005f1(p age_jsp.java:197)

            at org.apache.jsp.libs.foundation.components.page.page_jsp._jspService(page_jsp.java:151)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            ... 98 more

Caused by: org.apache.sling.api.SlingException: An exception occurred processing JSP page /apps/geometrixx/components/homepage/content.jsp at line 28

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:574)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:451)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)

            at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)

            at org.apache.jsp.apps.geometrixx.components.page.body_jsp._jspx_meth_cq_005finclude_005f2(b ody_jsp.java:250)

            at org.apache.jsp.apps.geometrixx.components.page.body_jsp._jspService(body_jsp.java:170)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            ... 112 more

Caused by: java.lang.NullPointerException

            at org.apache.jsp.apps.geometrixx.components.homepage.content_jsp._jspService(content_jsp.ja va:160)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            ... 126 more

  1. 18.03.2013 16:54:57.432 *ERROR* [0:0:0:0:0:0:0:1 [1363625697385] GET /content/geometrixx/en.html HTTP/1.1] com.day.cq.wcm.core.impl.WCMDebugFilter Exception: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script body.jsp org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script body.jsp

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:385)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

            at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:183 )

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:150)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProces sorImpl.java:297)

            at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatch er.java:216)

            at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatche r.java:103)

            at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponent Filter.java:381)

            at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.j ava:106)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

            at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:147)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )

            at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

            at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

            at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:296)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:89)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:153)

            at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206)

            at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)

            at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)

            at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179)

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:238)

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75 )

            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

            at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)

            at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)

            at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:250)

            at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)

            at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)

            at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:377)

            at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:351)

            at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:625)

            at java.lang.Thread.run(Unknown Source)

Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script body.jsp

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:563)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:443)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            ... 93 more

Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script content.jsp

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:563)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:443)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)

            at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)

            at org.apache.jsp.libs.foundation.components.page.page_jsp._jspx_meth_cq_005finclude_005f1(p age_jsp.java:197)

            at org.apache.jsp.libs.foundation.components.page.page_jsp._jspService(page_jsp.java:151)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            ... 98 more

Caused by: org.apache.sling.api.SlingException: An exception occurred processing JSP page /apps/geometrixx/components/homepage/content.jsp at line 28

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:574)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:451)

            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

            at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)

            at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)

            at org.apache.jsp.apps.geometrixx.components.page.body_jsp._jspx_meth_cq_005finclude_005f2(b ody_jsp.java:250)

            at org.apache.jsp.apps.geometrixx.components.page.body_jsp._jspService(body_jsp.java:170)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            ... 112 more

Caused by: java.lang.NullPointerException

            at org.apache.jsp.apps.geometrixx.components.homepage.content_jsp._jspService(content_jsp.ja va:160)

            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

            ... 126 more

  1. 18.03.2013 16:54:58.895 *INFO* [0:0:0:0:0:0:0:1 [1363625698874] GET /libs/wcm/core/content/components.1363625645712.json HTTP/1.1] com.day.cq.wcm.core.impl.components.ComponentServlet provided components.

 

 

 

 

 

 

 

I


CQ5 Author behind a proxy

$
0
0

Hello,

 

I am having issues with CQ5 Autor configuration behind a proxy server.


Basically, what I want is to have all requests from (Firefox) browser proxied to CQ5 author for all requests apart from the requests to /restapi.

 

The proxy is setup as reverse proxy. Pollign for /restapi works and the following endpoint is returning correct response: http://cq5authorproxy:8080/restapi


The issue is with logging in to the CQ5. Login to http://cq5authorproxy:8080/libs/cq/core/content/login.html does not work and ends up with redirection to cq5authorproxy:8080/welcome

 

Any suggestions on how to work around this?

 

*****************************************************************************

    Listen 8080

 

     <VirtualHost 192.168.56.101:8080>

        ServerName      pathcache.origin.com

        ServerAlias     cq5authorproxy

 

        DocumentRoot    /www/servers

 

 

        AddDefaultCharset       utf-8

 

    #       AcceptPathInfo On

        RewriteEngine           On

        RewriteOptions          Inherit

        ProxyRequests Off

        ProxyPreserveHost Off

        SSLProxyEngine On

        ProxyVia Off

        ProxyErrorOverride On

 

    #      RewriteRule ^/restapi(.*) https://www.origin.com/restapi$1  [redirect=permanent]

 

        ProxyPass /restapi https://www.origin.com/restapi retry=0 timeout=10

        ProxyPassReverse /restapi https://www.origin.com/restapi

 

        ProxyPass /libs http://2.0.13.65:4502/libs retry=0 timeout=10

        ProxyPassReverse /libs http://2.0.13.65:4502/libs

 

        LogLevel debug

 

   </VirtualHost>

 

Message was edited by: dexpetkovic

On-Off time

$
0
0

Hi all,

 

Can anyone let me know which bundle is responsible for the on-off time property in a page.

When off time is set to a page , the page gets deactivated in that particular time of the day.

I want to see the query being applied to do the deactivation and the scheduler .

 

I am using cq5.6.1 .

 

Thanks in advance.

How to post a form to a servlet in CQ5.5?

$
0
0

Hi all,

  I'm using CQ5 to develop some things. and now i am not so clearly how to post a 'FORM' and accept with a SERVLET.

 

  I've seen this 'http://forums.adobe.com/message/4932739#4932739' already, and try it. But once i add a new <input /> like :<input name="age" value="age" />.

and i submit this form, then tell me error: javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {}age

 

  see the code

   jsp:

     <!-- String action = /content/myproject/en/thanks   -->

    <form id="submitForm" method="post" action="<%= action %>.POST.html" onsubmit="return validate();">

        <input type="hidden" name=":redirect" value="<%=resourceResolver.map(action)%>" />

        <input type="hidden" name=":formpath" value="<%=currentNode.getPath()%>" />

        <input type="hidden" name=":formtype" value="<%=component.getResourceType()%>" />

        <input type="hidden" name="_charset_" value="utf-8" />

        <input name="age" value="26" />  <!-- if i comment this line, it can submit success, otherwise show me Status: 500. -->

        <input type="submit" value="Submit"/>

    </form>

 

  servlet:

    @Component(immediate = true, metatype = false, label = "QuestionnaireServlet")

   @Service

   @Properties(value = {

                    @org.apache.felix.scr.annotations.Property(name = "sling.servlet.methods", value = { "POST" }),

                    @org.apache.felix.scr.annotations.Property(name = "sling.servlet.resourceTypes", value = { "sling/servlet/default" }),

                    @org.apache.felix.scr.annotations.Property(name = "sling.servlet.selectors", value = { "POST" }),

                    @org.apache.felix.scr.annotations.Property(name = "sling.servlet.extensions", value = { "html" })

   })

   public class QuestionnaireServlet extends SlingAllMethodsServlet implements

                    OptingServlet {

 

    protected void doPost(SlingHttpServletRequest request,

                              SlingHttpServletResponse response) throws ServletException,

                              IOException {

          //it seems never call this function.

    }

   }

 

can anybody told me in details ?

cafebabe-cafe-babe-cafe-babecafebabe

$
0
0

I'm trying to create some groups and permissions to lock down certain parts of CQ5.5 to particular users.  For the most part everything is ok, but I seem to keep hitting a barrier with the stuttering barista.

 

When I create a user, they have no permissions by default (aside from some /home ones if I understand correctly).  When I log in with this user, I get:

No resource found

Cannot serve request to /libs/cq/core/content/welcome.html in /libs/sling/servlet/errorhandler/404.jsp

 

All good, expected that.

 

If I add read access to the root node for this user, after logging in everything looks ok as if I've logged in as an admin.  Permissions shown here:

 

image1.png

 

But if I remove root node read access, and then give every sub node underneath root read access

 

image2.png

and log in after this, the RHS menu errors with :

image3.png

 

The error.log gives:

 

14.02.2013 01:43:22.885 *ERROR* [123.456.789.123 [1360766602856] GET /libs/cq/core/content/welcome.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.jcr.AccessDeniedException: cannot read item cafebabe-cafe-babe-cafe-babecafebabe

 

The only surface difference I see between the two is the lack of /bin having read permission.  When I try to add read permisson to /bin I get a popup saying

 

No modifiable ACL at /bin

 

Also, there's asterisks next to all of the selected nodes, which were not present when selecting the root node.  The CQ5 docs state the following:

 

For an action at a given path:

 

* (asterisk)There is at least one local entry (either effective or ineffective). These wildcard ACLs are defined in CRX.
! (exclamation mark)There is at least one entry that currently has no effect.

 

When you hover over the asterisk or exclamation mark, a tooltip provides more details about the declared entries. The tooltip is split into two parts:

 

Upper part

Lists the effective entries.

Lower partLists the noneffective entries that may have an effect somewhere else in the tree (as indicated by a special attribute present with the corresponding ACE limiting the scope of the entry). Alternatively, this is an entry whose effect has been revoked by another entry defined at the given path or at an ancestor node.

 

When I hover over the asterisks, I get the message

 

Allowed for

testuser (allow)

 

To me, this means everything is allowed.  The docs also state that permissions are inherited.

 

So I guess my questions are:

 

  1. Why doesn't selecting all nodes directly under the root node yield the same results as selecting the root node itself?
  2. Why can't I select the /bin node manually, but it can be selected by default when selecting the root node?
  3. Is there a way to see down the tree structure what nodes are selected or not without manually opening every branch one by one?
  4. Where is cafebabe-cafe-babe-cafe-babecafebabe and what permissions do I need to access this?

 

I think I have more questions, but I'm tired.  Need coffee.  Where's cafebabe...?

 

K

How to custom the ok button in the edit dialog

$
0
0

Hi Team:

I want to log down the user's action when user after edit the attribute in the edit dialog,how to do that?

any suggestions/pointers to solve this problem would be appreciable.

Only a type can be imported. org.apache.felix.scr.annotations.Component resolves to a package

$
0
0

I copied the example code exactly, but it won't compile. I receive errors on all the annotations, like:

"Only a type can be imported. org.apache.felix.scr.annotations.Component resolves to a package"

and

"Component cannot be resolved to a type"


-------------------------------------------------------------------------

package com.day.cq.wcm.apps.geometrixx.impl;


import com.day.cq.workflow.WorkflowException;

import com.day.cq.workflow.WorkflowSession;

import com.day.cq.workflow.exec.WorkItem;

import com.day.cq.workflow.exec.WorkflowData;

import com.day.cq.workflow.exec.WorkflowProcess;

import com.day.cq.workflow.metadata.MetaDataMap;

import org.apache.felix.scr.annotations.Component;

import org.apache.felix.scr.annotations.Properties;

import org.apache.felix.scr.annotations.Property;

import org.apache.felix.scr.annotations.Service;

import org.osgi.framework.Constants;

import org.slf4j.Logger;

import org.slf4j.LoggerFactory;


import javax.jcr.Node;

import javax.jcr.RepositoryException;


/**

* Sample workflow process

*/

@Component

@Service

@Properties({

@Property(name = Constants.SERVICE_DESCRIPTION, value = "A sample workflow process implementation."),

@Property(name = "process.label", value = "Sample Workflow Process")})


public class CustomWorkflow implements WorkflowProcess {


private static final String TYPE_JCR_PATH = "JCR_PATH";

private static final Logger log = LoggerFactory.getLogger(CustomWorkflow.class);


public void execute(WorkItem item, WorkflowSession session, MetaDataMap args) throws WorkflowException {

WorkflowData workflowData = item.getWorkflowData();

if (workflowData.getPayloadType().equals(TYPE_JCR_PATH)) {

String path = workflowData.getPayload().toString();

// More code here

}

}


}

 

Errors :

 

DescriptionResourcePath
Component cannot be resolved to a type.java/li
Only a type can be imported. org.apache.felix.scr.annotations.Component resolves to a package.java/li
Properties cannot be resolved to a type.java/l
Service cannot be resolved to a type.java


How can I limit the number of items an author can add to a parsys?

$
0
0

Hi

 

I am trying to customise the parsys component to restrict the number of items that an author can add to it. I want this limit to be controlled via a field in the design dialog.

 

Is anybody aware of a way to do this?

 

I have been playing around with promoting the parsys component and adding checks around this line:

     <cq:include path="*" resourceType="<%= newType %>"/>

 

So it only includes this when there is still space in the parsys, however that only seems to control whether the "Drag new items here" box is displayeds or not, it does nothing to prevent a user from inserting new components.

 

Thanks


facing org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException

$
0
0

Hi,

I am facing below issue in Performance testing does anyone guide why this error is coming. Individually these pages are running fine. Attached logs for your reference.

 

 

Thank ,

Yogesh

 

 

17.01.2013 05:10:57.232 *ERROR* [135.215.244.155 [1358421056013] GET /content/Intranet/microsite/innovation/right.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException org.apache.sling.api.SlingException:

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:560)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:496)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:448)

        at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :173)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:84)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:388)

        at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

        at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

        at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

        at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:491)

        at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

        at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:146)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )

        at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:280)

        at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

        at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:185)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:67)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:96)

       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.portal.container.internal.request.PortalFilter.doFilter(PortalFilter.jav a:76)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:171)

        at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:199)

        at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)

        at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)

        at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)

        at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)

        at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

        at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:249)

        at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

        at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

        at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

        at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

        at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)

        at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)

        at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate. java:277)

        at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:148)

        at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:228)

        at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)

        at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:74)

        at com.day.crx.launchpad.filters.CRXLaunchpadLicenseFilter.doFilter(CRXLaunchpadLicenseFilte r.java:96)

        at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:72)

        at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)

        at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:378)

        at com.day.j2ee.servletengine.ServletHandlerImpl.execute(ServletHandlerImpl.java:315)

        at com.day.j2ee.servletengine.DefaultThreadPool$DequeueThread.run(DefaultThreadPool.java:134 )

Caused by: org.apache.sling.api.SlingException:

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:560)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:496)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:448)

        at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :173)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:84)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:388)

        at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

        at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

        at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

        at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:491)

        at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

        at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:182 )

        at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:149)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:280)

        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProces sorImpl.java:320)

        at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatch er.java:208)

        at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatche r.java:102)

        at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponent Filter.java:381)

        at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.j ava:106)

        at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:419)

        ... 66 more

Caused by: java.lang.NullPointerException

        at com.day.cq.wcm.foundation.ELEvaluator.evaluate(ELEvaluator.java:53)

        at org.apache.jsp.libs.foundation.components.page.page_jsp._jspService(page_jsp.java:126)

        at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:419)

        ... 90 more

(CQ Data Modeling) how not to design more than 1,000 child nodes under a node???

$
0
0

Hi,

 

I met a CQ vendor who said that they usually don't put more than 1,000 child nodes under a node.
I understand why they recommend this as a best practice in terms of easiness and speed of data management.

However, if this is true, how can I resolve my situation as below.

 

(My Situation)

I have 200,000 articles. If I want to locate this under a node called "Articles" in the strucutre as Home > Articles > actual articles. And I don't have a specific category for these article so I want to put everything under this node "articles". What should I do?

 

Here is why I want to design in this way:

- From users point of view, you can click "Articles" tab and see most popular 100 articles on the landing page,

but you can still search by title or any keywords out of the 200,000 articles.

- For editors point of view, since there is no specific category, you can come to "Features" node and simply create a new article,  and tag them with many keywords as they want.

 

Even though I try to follow the recommended best practice, I found issues like below:

- How can I create 200 categories to distribute 200,000 articles into?

- Let's say I did it somehow. Then what if a category grows more than 1,000 articles. Should I break it as 2 categories again?

- If I put 200k articles into 200 categories, the web navigation structure should follow the same? so I lose the function to search an article from the total pool of articles. Is this right?

AEM 5.6 - Sling Osgi Config Issue

$
0
0

Hi,

I have created config node with type of sling:osgiConfig inside my application and was able to fetch the values successfully based on the run mode. But the problem is if update the values for any properties thro felix console then the sling:osgiConfig node becomes nt:file under /apps/<myapp>/config/<myconfig>. If i open the file it just a property file with key/value pair.

 

I am facing this problem with AEM 5.6 only but in 5.4 and 5.5 i dont have any issues

 

 

-Sudharsan S

Fail to access CRX with JcrUtils.getRepository

$
0
0

I just started with CQ5/CRX/JCR, so I beg your pardon if asking silly questions.

I'm running a CQ5 Standalone Server (CQ_5_5_Quickstart.jar) on my Windows 7 and am fine with accessing it with my browser and the URL "http://localhost:4502".

Now I try to access it via a Java-client using the JcrUtils.getRepository-method, as described in http://dev.day.com/docs/en/crx/current/developing/accessing_the_crx.html.

But this fails with message:

javax.jcr.RepositoryException: Unable to access a repository with the following settings:

    org.apache.jackrabbit.repository.uri: http://localhost:4502/crx/server

The following RepositoryFactory classes were consulted:

    org.apache.jackrabbit.commons.JndiRepositoryFactory: declined

Perhaps the repository you are trying to access is not available at the moment.

at org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:199)

at org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:239)

at AccessJCR.connectJcrUtils2(AccessJCR.java:32)

at AccessJCR.main(AccessJCR.java:16)

 

I'm not sure about the used URL; I just took it from cited webpage. There is said: "The default server's endpoint URL is http://host:port/crx/server. Make sure you adapt the client-side connection URL in case of customized server installation.".

I didn't customize anything so this should be ok. I will attach the complete Code, hopefully you can give some hints.

 

Regards,

Ulrich

 

[code]

import java.util.*;

import javax.jcr.*;

public class AccessJCR {

      public AccessJCR() {}

 

      public static void main(String[] args) {

           AccessJCR ajcr = new AccessJCR();

           try {

                ajcr.connect();

           }

           catch (Exception ce) {

                ce.printStackTrace();

            }

        }

 

      private void connect() throws Exception {

           //Create a connection to the Day CQ repository running on local host

           Repository repository = org.apache.jackrabbit.commons.JcrUtils.getRepository("http://localhost:4502/crx/server");

        }

}

[/code]

Inbox Notification from Workflow

$
0
0

Hi,

I've got a problem with Inbox Notification.

I want to inform an author about all steps during the workflow process (activated, deactivated, terminated) using Inbox Notification (not e-mail!)

I found a class InboxManagerImpl (method createMessage) so I create a method in ParticipantStepChooser class:

 

void sendTheNotification(WorkflowSession session) throws IOException {

com.day.cq.wcm.notification.inbox.impl.MessageImpl message = (MessageImpl) new InboxManagerImpl().createMessage(session.getUser());

message.setReason("Workflow has been Terminated");

message.save();

}

 

but after it, on my OSGi Console in CQ5, in the section Bundles I have sth like this:

com.day.cq.wcm.notification.inbox -- Cannot be resolved
com.day.cq.wcm.notification.inbox.impl -- Cannot be resolved

 

Can someone help me?

Question: How to create an Inbox Message (in Notification Inbox) using Java code?

 

Regards

Michal

Viewing all 12476 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>