Error during refresh of an AuthorNode
Posted: Tue Mar 11, 2014 8:44 pm
I've implemented my own StylesFilter to insert combo box with values from another file. I'm watching the other file for changes and refreshing the lists accordingly. In order to let Oxygen know that the list values have changed, I call the refresh(AuthorNode node) function on WSAuthorEditorPage. Here's the code I'm calling:
However, sometimes this call to refresh produces the error given below. It looks like something is missing from the author node being refreshed. Any ideas on how I can avoid this error?
Code: Select all
WSAuthorEditorPage page = getAuthorPage();
AuthorElement element = getAuthorElement();
if (page != null && element != null) {
page.refresh(element);
}
Code: Select all
18:34:32,525 105133 ERROR [ pool-1-thread-1 ] ro.sync.ecss.css.u - This should never happen, the pseudo styles must ALWAYS be in the cache
java.lang.Exception
at ro.sync.ecss.css.u.wd(Unknown Source)
at ro.sync.ecss.css.u.q(Unknown Source)
at ro.sync.ecss.css.u.l(Unknown Source)
at ro.sync.ecss.g.u.xl(Unknown Source)
at ro.sync.ecss.g.b.tt(Unknown Source)
at ro.sync.ecss.g.b.<init>(Unknown Source)
at ro.sync.ecss.g.q.xt(Unknown Source)
at ro.sync.ecss.g.q.<init>(Unknown Source)
at ro.sync.ecss.g.e.fp(Unknown Source)
at ro.sync.ecss.g.e.kp(Unknown Source)
at ro.sync.ecss.g.e.kp(Unknown Source)
at ro.sync.ecss.g.e.kp(Unknown Source)
at ro.sync.ecss.g.e.kp(Unknown Source)
at ro.sync.ecss.g.e.kp(Unknown Source)
at ro.sync.ecss.g.e.kp(Unknown Source)
at ro.sync.ecss.g.e.km(Unknown Source)
at ro.sync.ecss.g.nb.km(Unknown Source)
at ro.sync.ecss.component.n.rsl(Unknown Source)
at ro.sync.ecss.component.n.ysl(Unknown Source)
at ro.sync.ecss.component.n.jkn(Unknown Source)
at ro.sync.exml.workspace.b.e.b.b.c.refresh(Unknown Source)
at ro.sync.ecss.extensions.g.refresh(Unknown Source)
at eu.emergingstandards.lists.styled.EMSTAbstractStyledList.refresh(EMSTAbstractStyledList.java:111)
at eu.emergingstandards.contextual_info.EMSTContextualInfo.notifyListeners(EMSTContextualInfo.java:266)
at eu.emergingstandards.contextual_info.EMSTContextualInfo$2.handleEvent(EMSTContextualInfo.java:171)
at eu.emergingstandards.contextual_info.EMSTContextualInfo$2.fileChanged(EMSTContextualInfo.java:166)
at org.apache.commons.vfs2.events.ChangedEvent.notify(ChangedEvent.java:36)
at org.apache.commons.vfs2.provider.AbstractFileSystem.fireEvent(AbstractFileSystem.java:600)
at org.apache.commons.vfs2.provider.AbstractFileSystem.fireFileChanged(AbstractFileSystem.java:560)
at eu.emergingstandards.monitor.EMSTFileMonitor.check(EMSTFileMonitor.java:188)
at eu.emergingstandards.monitor.EMSTFileMonitor$EMSTMonitorService.run(EMSTFileMonitor.java:44)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)