You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Leland, Robert (CTR)" <Ro...@associates.ice.dhs.gov.INVALID> on 2021/03/19 16:19:31 UTC

Apache Camel IDEA Plugin AWT Exception & camel-catalog

I am using IntelliJ 2021.1 Beta with Camel 3.8.0, and the latest publish IDE plugin (I know it doesn't support 3.X yet)
Two Questions

#1)
I am seeing:
java.lang.Throwable: AWT events are not allowed inside write action: java.awt.event.FocusEvent[FOCUS_LOST,temporary,opposite=javax.swing.JTextPane[,52,0,488x50,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.basic.BasicBorders$MarginBorder@2fea75d8,flags=16777512,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=140,g=140,b=140],editable=false,margin=com.intellij.util.ui.JBInsets$JBInsetsUIResource[top=3,left=3,bottom=3,right=3],selectedTextColor=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255],selectionColor=javax.swing.plaf.ColorUIResource[r=38,g=117,b=191],kit=com.intellij.util.ui.JBHtmlEditorKit@2311956c,typeHandlers={text/html=javax.swing.text.html.HTMLEditorKit@633fc79e, text/plain=javax.swing.text.StyledEditorKit@54636de3}],cause=ACTIVATION] on frame0
Remaining stack trace deleted for brevity.

Is this a known issue , an issue with trying to use camel 3.X,  should I downgrade camel to 2.X etc ... or should I submit a bug report?

#2) I am working behind a firewall and so the camel-catalog cannot be downloaded directly by the plugin.
In maven I added the camel-catalog artifact with a scope of provided to the pom with hopes that the plugin would be able to detect the camel 3.8.0 jars on the application classpath but that doesn't seem to be the case. Is there a process for manually downloading the jars, there seem to be 3, should I delete the 2.X versions of the JARS ?

Any pointers are appreciated,

Thanks

Rob