Exception during HAR Converssion

Hi Gatling Dev. Team

Today I downloaded Latest snapshot of Gatling bundle .
When I tried to load saved HAR file appeared following exception.

GATLING_HOME is set to “C:\gatling-2.2.0”
Exception in thread “AWT-EventQueue-0” java.lang.IllegalStateException: No validator registered for component : scala.swing wrapper scala.swing.TextField$$anon$1[,0,0,664x26,invalid,layout=javax.swing.plaf.basic.Bas
icTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@199732af,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=sun.swing.PrintColorUIRes
ource[r=51,g=51,b=51],disabledTextColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=sun.swing.PrintColo
rUIResource[r=51,g=51,b=51],selectionColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],columns=60,columnWidth=11,command=,horizontalAlignment=LEADING]
at io.gatling.recorder.ui.swing.frame.ValidationHelper$.updateValidationStatus(ValidationHelper.scala:73)
at io.gatling.recorder.ui.swing.frame.ConfigurationFrame$$anonfun$11.applyOrElse(ConfigurationFrame.scala:443)
at io.gatling.recorder.ui.swing.frame.ConfigurationFrame$$anonfun$11.applyOrElse(ConfigurationFrame.scala:441)
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
at scala.swing.Reactions$Impl$$anonfun$apply$1.apply(Reactions.scala:23)
at scala.swing.Reactions$Impl$$anonfun$apply$1.apply(Reactions.scala:23)
at scala.collection.immutable.List.foreach(List.scala:381)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
at scala.collection.mutable.ListBuffer.foreach(ListBuffer.scala:45)
at scala.swing.Reactions$Impl.apply(Reactions.scala:23)
at scala.swing.Reactions$Impl.apply(Reactions.scala:17)
at scala.swing.Publisher$$anonfun$publish$1.apply(Publisher.scala:47)
at scala.swing.Publisher$$anonfun$publish$1.apply(Publisher.scala:47)
at scala.collection.Iterator$class.foreach(Iterator.scala:750)
at scala.swing.SingleRefCollection$$anon$4.foreach(Publisher.scala:108)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.swing.RefSet.foreach(Publisher.scala:165)
at scala.swing.Publisher$class.publish(Publisher.scala:47)
at scala.swing.Window.publish(Window.scala:22)
at io.gatling.recorder.ui.swing.component.DisplayedSelectionFileChooser.io$gatling$recorder$ui$swing$component$DisplayedSelectionFileChooser$$setAndPublish(DisplayedSelectionFileChooser.scala:65)
at io.gatling.recorder.ui.swing.component.DisplayedSelectionFileChooser$$anonfun$1$$anonfun$apply$mcV$sp$1.apply(DisplayedSelectionFileChooser.scala:47)
at io.gatling.recorder.ui.swing.component.DisplayedSelectionFileChooser$$anonfun$1$$anonfun$apply$mcV$sp$1.apply(DisplayedSelectionFileChooser.scala:47)
at scala.Option.foreach(Option.scala:257)
at io.gatling.recorder.ui.swing.component.DisplayedSelectionFileChooser$$anonfun$1.apply$mcV$sp(DisplayedSelectionFileChooser.scala:47)
at scala.swing.Action$$anon$2.apply(Action.scala:60)
at scala.swing.Action$$anon$1.actionPerformed(Action.scala:78)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Hi Gregory,

Sorry, I can’t reproduce (tested on OS X, will try on Windows later). Could you provide more details for reproducing, please?

Thanks,
Stéphane

I used Windows .

run recorder.bat-> choose “HAR Converter” in right corner drop down → Click Browse → choose your saved HAR file.

On double click on file appears the exception.

Hope this is helpful.

Which JDK version do you use?

Jdk1.7.0.11

Would you mind upgrading to a modern JDK. This could as well be a Swing bug.
Then, NIO is probably way better now.

Sure.
But in previous version I used (2.0.1) with same jdk .It worked.

OK, we could reproduce: https://github.com/gatling/gatling/issues/2506
Pierre will fix later tonight.

Thanks for reporting!