Exception in Nattable Combo filter - nattable

while using combobox filter in nattable, I am getting following error:
Exception in thread "pool-20-thread-6" java.lang.IllegalStateException
at ca.odell.glazedlists.impl.adt.barcode2.SimpleTreeIterator.value(SimpleTreeIterator.java:308)
at ca.odell.glazedlists.SortedList$SortedListIterator.next(SortedList.java:696)
at org.eclipse.nebula.widgets.nattable.filterrow.combobox.FilterRowComboBoxDataProvider.collectValues(FilterRowComboBoxDataProvider.java:193)
at org.eclipse.nebula.widgets.nattable.extension.glazedlists.filterrow.GlazedListsFilterRowComboBoxDataProvider.handleLayerEvent(GlazedListsFilterRowComboBoxDataProvider.java:161)
at org.eclipse.nebula.widgets.nattable.layer.AbstractLayer.fireLayerEvent(AbstractLayer.java:307)
at org.eclipse.nebula.widgets.nattable.layer.AbstractLayer.handleLayerEvent(AbstractLayer.java:267)
at org.eclipse.nebula.widgets.nattable.layer.AbstractLayer.fireLayerEvent(AbstractLayer.java:307)
at org.eclipse.nebula.widgets.nattable.util.CalculatedValueCache$1.run(CalculatedValueCache.java:219)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Please check below URL to see how I am using combobox filter.
nattable combobox filter header with group by

Try the latest SNAPSHOT build. We recently fixed another concurrency issue.
Please also note that Stackoverflow is not the support forum for NatTable! If you have issues like the above open a ticket via Bugzilla or ask on the NatTable forum.

Related

javax.jcr.version.VersionException: Cannot set property. Node is checked in

I am trying to upload an image in DAM and workflow (OOTB) gets stuck. following is the error I am getting.
12.07.2018 09:58:27.712 *ERROR* [JobHandler: /etc/workflow/instances/server1/2018-07-11_2/update_asset_923:/content/../../../../../../icon-1.png/jcr:content/renditions/original] com.day.cq.dam.core.impl.AssetImpl addRendition: cannot add new rendition [cq5dam.thumbnail.48.48.png] for asset [/content/dam/____________________________]:
com.adobe.granite.asset.api.AssetException: javax.jcr.version.VersionException: Cannot set property. Node is checked in.
at com.adobe.granite.asset.core.impl.DefaultRenditionHandler.setRendition(DefaultRenditionHandler.java:79)
at com.adobe.granite.asset.core.impl.AssetImpl.setRendition(AssetImpl.java:131)
at com.day.cq.dam.core.impl.AssetImpl.addRendition(AssetImpl.java:490)
at com.day.cq.dam.core.impl.AssetImpl.addRendition(AssetImpl.java:484)
at com.day.cq.dam.core.impl.RenditionMakerImpl$PlanBasedTemplate.apply(RenditionMakerImpl.java:129)
at com.day.cq.dam.core.impl.RenditionMakerImpl.generateRenditions(RenditionMakerImpl.java:184)
at com.day.cq.dam.core.process.CreateThumbnailProcess.execute(CreateThumbnailProcess.java:121)
at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:215)
at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:143)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:395)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:66)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:238)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.jcr.version.VersionException: Cannot set property. Node is checked in.
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$35.checkPreconditions(NodeImpl.java:1330)
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.prePerform(SessionDelegate.java:606)
After image upload I can see the property set on the asset node is
What can be the possible cause of this.
This is a known product bug affecting AEM 6.0, 6.1 and 6.2.
From official documentation
This is a known product bug CQ-4215298. When a user creates a version
or publishes ("activates") a page that is locked by another user, then
it causes the page to go into an inconsistent state.
Resolution
This issue is fixed in AEM6.3 and AEM6.2 SP1 Cumulative Fix Pack 8.
With or without the fix pack applied, you would have to fix the broken
pages. To fix the pages, follow the steps below:
Go to /crx/explorer/index.jsp and log in as admin user. Open Content
Explorer. Browse to the jcr: content subnode of the broken page. For
example: /content/geometrixx/en/services/jcr:content Go to Versions =>
CheckOut. Go to /sites.html UI and browse to the page and open it for
editing. Unlock the page by clicking the lock icon on the top left.

Error on upgrading TYPO3 7.6 to 8.7

I tried to update TYPO3 website from 7.6.x to 8.7.x. When I run "Execute database migrations on single rows" in update wizard I get an error:
Oops, an error occurred!
Child record was not processed, reason "[1.0.-1]: [newlog()] Localization failed; There already was a localization for this language of the record!"
More information regarding this error might be available online.
I think this problem is caused by t3blog extension and translated content element in posts. If I ignore this error and run other wizard steps all content is shown on website, but not translated blog posts content elments.
Anyone an idea how I can solve this?
Thanks!
Martin
Running first "Fill translation source field (l10n_source) " and then "Execute database migrations on single rows" seems working

Jahia error when posting custom form

I've created a form with the Jahia Form Builder, but I get this error when posting my form in Live Mode:
Error: org.jahia.services.usermanager.JahiaUserManagerService.lookupUser(Ljava/lang/String;)Lorg/jahia/services/usermanager/JahiaUser;
java.lang.NoSuchMethodError: org.jahia.services.usermanager.JahiaUserManagerService.lookupUser(Ljava/lang/String;)Lorg/jahia/services/usermanager/JahiaUser;
I'm using Digital Factory Community 7.1 and module Jahia Form Builder 2.0.5
Thanks for your help.
Freedomn,
this is actually a bug in the current Jahia Forum and can inly be fixed by using a patched version. See this pull request : https://github.com/Jahia/formbuilder/pull/1

Can you tell me Step-By-Step Guidelines of How to use HtmlUnit to make GWT app Crawlable?

Making your GWT app to be indexed by Search Engine is very important, but very very little info to tell you Step-By-Step Guidelines of How to make GWT app Crawlable dynamically.
Ok, Here is what I understood but I am not sure 100% I am correct or not. SO please correct me if you can.
To make a Gwt page ex myDomain.com#article;articleID=1 to be indexed by search engine, you need to:
-1st, convert myDomain.com#article;articleID=1 to myDomain.com#!article;articleID=1
-2nd, when Google /Yahoo bot visits that page (myDomain.com#!article;articleID=1), it will convert that page into (myDomain.com?_escaped_fragment_=article&articleID=1) & request that page into your webserver.The Web server then will try to render that page to the Bot.
So if we have a static page of myDomain.com?_escaped_fragment_=article&articleID=1, then the content of that page will be read by the Bot & can be indexed.
But the article is dynamic cos user could enter myDomain.com?_escaped_fragment_=article&articleID=2 or ...article=3... but we can't manually make the static page for each of article.
So the solution is HtmlUnit.
A tool like HtmlUnit will dynamically convert myDomain.com?_escaped_fragment_=article&articleID=2 into a page that the bot can read.
But I don't know step-by-step guidelines of How to set HtmlUnit up?
Is HtmlUnit like a jar file that we can put into lib? what should we do next?
used solution from Patrik, then compile then out int into webapp of Tomcat7 but got this err in the browser
type Exception report
message Filter execution threw an exception
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Filter execution threw an exception
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
com.gwtplatform.dispatch.server.AbstractHttpSessionSecurityCookieFilter.doFilter(AbstractHttpSessionSecurityCookieFilter.java:67)
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
root cause
java.lang.NoClassDefFoundError: org/w3c/css/sac/ErrorHandler
myproject.server.CrawlFilter.doFilter(CrawlFilter.java:101)
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
com.gwtplatform.dispatch.server.AbstractHttpSessionSecurityCookieFilter.doFilter(AbstractHttpSessionSecurityCookieFilter.java:67)
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
root cause
java.lang.ClassNotFoundException: org.w3c.css.sac.ErrorHandler
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
myproject.server.CrawlFilter.doFilter(CrawlFilter.java:101)
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
com.gwtplatform.dispatch.server.AbstractHttpSessionSecurityCookieFilter.doFilter(AbstractHttpSessionSecurityCookieFilter.java:67)
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.53 logs.
See this SO working example inspired from this gwt-platform example and this Google documentation among others.
You setup HtmlUnit on the server side like any other library by adding their jar in you lib folder -- as far as I recall, that's all there is to it.

Unstructured When copy and paste a content element in Typo3 neos

I am using Typo3 neos version 1.0.2 Beta
When copy content element and paste it in other content area
It will not page and instead it shows error and the content element with name unstructured is created in node tree.
ExtDirect error: Uncaught exception #1301610453 (ref 20140430165908d46739) - Could not resolve a route and its corresponding URI for the given parameters. This may be due to referring to a not existing package / controller / action while building a link or URI. Refer to log and check the backtrace for more details.
PLease let me know the issue.
Thanks in advance.
There were known issues with copy/paste functionality in Neos 1.0.x.
Please use Neos 1.1 (currently 1.1.0-beta2) where this issue seems to be fixed.