Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception thrown when trying to add new Translation in PHP Storm #7

Open
velletti opened this issue Mar 7, 2022 · 0 comments
Open

Comments

@velletti
Copy link

velletti commented Mar 7, 2022

PHP Storm 2020.2.4
XLIFFTranslation version 0.2.0

The XLF and Fluid Template Files are stored in a mounted UNIX container (WSL2 with ubuntu) what may cause this error ??
\wsl$\Ubuntu\home\joerg\web\connect\http\typo3conf\ext\extKey\Resources\Private\Language\locallang.xlf

thanks for your effort.

Details:
Test to translate is marked
Start with Short Cut
the Filebrowser asks for locallang.xlf
i am asked to the translation key an Option preserve space and use inline code
OK ->

gives the exeption

java.lang.Throwable: cannot share data context between Swing events;
initial event count = 16447398; current event count = 16448910

at com.intellij.openapi.diagnostic.Logger.error(Logger.java:143)
at com.intellij.ide.impl.DataManagerImpl$MyDataContext.getData(DataManagerImpl.java:328)
at com.intellij.openapi.actionSystem.DataContext.getData(DataContext.java:40)
at com.intellij.openapi.actionSystem.AnActionEvent.getData(AnActionEvent.java:184)
at de.onigunn.intellij.xliff.action.CreateXLIFFTranslationAction.doAction(CreateXLIFFTranslationAction.java:87)
at de.onigunn.intellij.xliff.action.AbstractXLIFFAction.actionPerformed(AbstractXLIFFAction.java:68)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:282)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:610)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$3(IdeKeyEventDispatcher.java:670)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:669)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:620)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.java:517)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:471)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:220)
at com.intellij.ide.IdeEventQueue.dispatchKeyEvent(IdeEventQueue.java:890)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:835)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:744)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:451)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:505)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant