# Currently 1.4.x branch is failing compilation

**URL:** <https://community.gatling.io/t/currently-1-4-x-branch-is-failing-compilation/259>\
**Category:** Gatling (Open-Source)\
**Created:** [February 6, 2013, 3:56pm UTC](https://community.gatling.io/t/currently-1-4-x-branch-is-failing-compilation/259 "2013-02-06T15:56:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bayo\_Erinle](https://avatars.discourse-cdn.com/v4/letter/b/97f17d/32.png) [@Bayo\_Erinle](https://community.gatling.io/u/Bayo_Erinle)\
**Post date:** [February 6, 2013, 3:56pm UTC](https://community.gatling.io/t/currently-1-4-x-branch-is-failing-compilation/259/1 "2013-02-06T15:56:35Z")

</div>

Hi -  
I am compiling from source to get a back ported fix going on 1.4.x branch. However, compilation is currently failing now in the gatling-recorder module. Can this be resolved shortly?

**app/gatling (1.4.x) »** mvn clean package -DskipTests

[INFO] Compiling 37 source files to C:\tools\app\gatling\gatling-recorder\target\classes at 1360165810862  
[ERROR] C:\tools\app\gatling\gatling-recorder\src\main\scala\com\excilys\ebi\gatling\recorder\ui\frame\ConfigurationFrame.scala:185: error: type mismatch;  
[ERROR] found : c.type (with underlying type java.nio.charset.Charset)  
[ERROR] required: Nothing  
[ERROR] cbOutputEncoding.addItem(c)  
[ERROR] ^  
[ERROR] C:\tools\app\gatling\gatling-recorder\src\main\scala\com\excilys\ebi\gatling\recorder\ui\frame\ConfigurationFrame.scala:225: error: type mismatch;  
[ERROR] found : ft.type (with underlying type com.excilys.ebi.gatling.recorder.ui.enumeration.FilterStrategy.Value)  
[ERROR] required: Nothing  
[ERROR] cbFilterStrategies.addItem(ft)  
[ERROR] ^  
[ERROR] C:\tools\app\gatling\gatling-recorder\src\main\scala\com\excilys\ebi\gatling\recorder\ui\frame\RunningFrame.scala:45: error: type mismatch;  
[ERROR] found : javax.swing.DefaultListModel[Nothing]  
[ERROR] required: javax.swing.ListModel[E]  
[ERROR] Note: Nothing \<: E, but Java-defined trait ListModel is invariant in type E.  
[ERROR] You may wish to investigate a wildcard type such as `_ <: E`. (SLS 3.2.10)  
[ERROR] private val eventsInfoJList = new JList(eventsInfo)  
[ERROR] ^  
[ERROR] C:\tools\app\gatling\gatling-recorder\src\main\scala\com\excilys\ebi\gatling\recorder\ui\frame\RunningFrame.scala:46: error: type mismatch;  
[ERROR] found : javax.swing.DefaultListModel[Nothing]  
[ERROR] required: javax.swing.ListModel[E]  
[ERROR] Note: Nothing \<: E, but Java-defined trait ListModel is invariant in type E.  
[ERROR] You may wish to investigate a wildcard type such as `_ <: E`. (SLS 3.2.10)  
[ERROR] private val requiredHostsCertificate = new JList(hostsCertificate)  
[ERROR] ^  
[ERROR] C:\tools\app\gatling\gatling-recorder\src\main\scala\com\excilys\ebi\gatling\recorder\ui\frame\RunningFrame.scala:129: error: type mismatch;  
[ERROR] found : tag.type (with underlying type com.excilys.ebi.gatling.recorder.ui.info.TagInfo)  
[ERROR] required: Nothing  
[ERROR] eventsInfo.addElement(tag)  
[ERROR] ^  
[ERROR] C:\tools\app\gatling\gatling-recorder\src\main\scala\com\excilys\ebi\gatling\recorder\ui\frame\RunningFrame.scala:185: error: type mismatch;  
[ERROR] found : pauseInfo.type (with underlying type com.excilys.ebi.gatling.recorder.ui.info.PauseInfo)  
[ERROR] required: Nothing  
[ERROR] eventsInfo.addElement(pauseInfo)  
[ERROR] ^  
[ERROR] C:\tools\app\gatling\gatling-recorder\src\main\scala\com\excilys\ebi\gatling\recorder\ui\frame\RunningFrame.scala:188: error: type mismatch;  
[ERROR] found : requestInfo.type (with underlying type com.excilys.ebi.gatling.recorder.ui.info.RequestInfo)  
[ERROR] required: Nothing  
[ERROR] eventsInfo.addElement(requestInfo)  
[ERROR] ^  
[ERROR] C:\tools\app\gatling\gatling-recorder\src\main\scala\com\excilys\ebi\gatling\recorder\ui\frame\RunningFrame.scala:190: error: type mismatch;  
[ERROR] found : uri.type (with underlying type String)  
[ERROR] required: Nothing  
[ERROR] case SSLInfo(uri) if (!hostsCertificate.contains(uri)) =\> hostsCertificate.addElement(uri)  
[ERROR] ^  
[ERROR] 8 errors found  
[INFO] ------------------------------------------------------------------------  
[INFO] Reactor Summary:  
[INFO]  
[INFO] gatling-parent … SUCCESS [11.436s]  
[INFO] gatling-core … SUCCESS [1:00.167s]  
[INFO] gatling-jdbc … SUCCESS [7.203s]  
[INFO] gatling-redis … SUCCESS [6.874s]  
[INFO] gatling-http … SUCCESS [40.347s]  
[INFO] gatling-charts … SUCCESS [35.908s]  
[INFO] gatling-metrics … SUCCESS [13.339s]  
[INFO] gatling-app … SUCCESS [19.070s]  
[INFO] gatling-recorder … FAILURE [7.977s]  
[INFO] gatling-bundle … SKIPPED  
[INFO] gatling-maven-plugin … SKIPPED  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: 3:22.710s  
[INFO] Finished at: Wed Feb 06 10:50:18 EST 2013  
[INFO] Final Memory: 68M/558M  
[INFO] ------------------------------------------------------------------------

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [February 6, 2013, 4:01pm UTC](https://community.gatling.io/t/currently-1-4-x-branch-is-failing-compilation/259/2 "2013-02-06T16:01:29Z")

</div>

1.4.X branch can only be compiled with JDK6, master can only be compiled with JDK7

I have yet to configure maven-enforcer-plugin for 1.4.X.

---

<div class="post-metadata">

**Author:** ![Bayo\_Erinle](https://avatars.discourse-cdn.com/v4/letter/b/97f17d/32.png) [@Bayo\_Erinle](https://community.gatling.io/u/Bayo_Erinle)\
**Post date:** [February 6, 2013, 4:28pm UTC](https://community.gatling.io/t/currently-1-4-x-branch-is-failing-compilation/259/3 "2013-02-06T16:28:42Z")

</div>

Thanks. That did it.
