[
https://issues.apache.org/jira/browse/MNG-6430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16631512#comment-16631512
]
Burcu commented on MNG-6430:
----------------------------
Hi Tibor,
I want to use GitHub but our project management does not allow. So I have
to share some of part.
I run with mvn test;
D:\ys03_YERLISINYAL03-29207\sysadmin>mvn test
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for
gov.ys03:sysadmin:jar:1.2.7
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
must be
unique: mysql:mysql-connector-java:jar -> duplicate declaration of version
8.0.
12 @ line 129, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
buildin
g such malformed projects.
[WARNING]
[INFO]
[INFO] ---------------------< gov.ys03:sysadmin >----------------------
[INFO] Building sysadmin 1.2.7
[INFO] --------------------------------[ jar
]---------------------------------
Downloading from central:
https://repo.maven.apache.org/maven2/org/easymock/easy
mock/3.6/easymock-3.6.pom
Downloaded from central:
https://repo.maven.apache.org/maven2/org/easymock/easym
ock/3.6/easymock-3.6.pom (9.0 kB at 2.3 kB/s)
Downloading from central:
https://repo.maven.apache.org/maven2/org/easymock/easy
mock-parent/3.6/easymock-parent-3.6.pom
Downloaded from central:
https://repo.maven.apache.org/maven2/org/easymock/easym
ock-parent/3.6/easymock-parent-3.6.pom (19 kB at 88 kB/s)
Downloading from central:
https://repo.maven.apache.org/maven2/org/powermock/pow
ermock-module-junit4/1.7.4/powermock-module-junit4-1.7.4.pom
Downloaded from central:
https://repo.maven.apache.org/maven2/org/powermock/powe
rmock-module-junit4/1.7.4/powermock-module-junit4-1.7.4.pom (6.2 kB at 33
kB/s)
Downloading from central:
https://repo.maven.apache.org/maven2/org/powermock/pow
ermock-module-junit4-common/1.7.4/powermock-module-junit4-common-1.7.4.pom
Downloaded from central:
https://repo.maven.apache.org/maven2/org/powermock/powe
rmock-module-junit4-common/1.7.4/powermock-module-junit4-common-1.7.4.pom
(6.3 k
B at 28 kB/s)
Downloading from central:
https://repo.maven.apache.org/maven2/org/powermock/pow
ermock-module-junit4-common/1.7.4/powermock-module-junit4-common-1.7.4.jar
Downloading from central:
https://repo.maven.apache.org/maven2/org/powermock/pow
ermock-module-junit4/1.7.4/powermock-module-junit4-1.7.4.jar
Downloading from central:
https://repo.maven.apache.org/maven2/org/easymock/easy
mock/3.6/easymock-3.6.jar
Downloaded from central:
https://repo.maven.apache.org/maven2/org/powermock/powe
rmock-module-junit4-common/1.7.4/powermock-module-junit4-common-1.7.4.jar
(18 kB
at 47 kB/s)
Downloaded from central:
https://repo.maven.apache.org/maven2/org/powermock/powe
rmock-module-junit4/1.7.4/powermock-module-junit4-1.7.4.jar (48 kB at 55
kB/s)
Downloaded from central:
https://repo.maven.apache.org/maven2/org/easymock/easym
ock/3.6/easymock-3.6.jar (558 kB at 334 kB/s)
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:regex-property (regex-property)
@ sys
admin ---
[INFO] No match to regex 'none' found in 'sysadmin'. The initial value
'sysadmin
' is left as-is...
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
sysadmin -
--
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 53 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ sysadmin
---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources)
@ sy
sadmin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @
sysad
min ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ sysadmin ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running gov.ys03.sysadmin.alertManagement.AlertManagerTest
HEADLESS:.....null
[ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
53.468 s
<<< FAILURE! - in gov.ys03.sysadmin.alertManagement.AlertManagerTest
[ERROR] setERROR(gov.ys03.sysadmin.alertManagement.AlertManagerTest) Ti
me elapsed: 41.307 s <<< ERROR!
org.testfx.api.FxRobotException: the query "Tamam" returned no nodes.
at gov.ys03.sysadmin.alertManagement.AlertManagerTest.setERROR(A
lertManagerTest.java:24)
[INFO] Running gov.ys03.sysadmin.alertManagement.AlertMessagesTest
HEADLESS:.....null
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
5.989 s -
in gov.ys03.sysadmin.alertManagement.AlertMessagesTest
[INFO] Running gov.ys03.sysadmin.areaManagement.AreaControllerTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.79 s <
<< FAILURE! - in gov.ys03.sysadmin.areaManagement.AreaControllerTest
[ERROR] initializationError(gov.ys03.sysadmin.areaManagement.AreaControl
lerTest) Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to transform class with name gov
.ys03.sysadmin.areaManagement.AreaControllerTest. Reason: null
Caused by: java.util.ConcurrentModificationException
[INFO] Running gov.ys03.sysadmin.areaManagement.NadModeControllerTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.004 s
<<< FAILURE! - in gov.ys03.sysadmin.areaManagement.NadModeControllerTest
[ERROR] initializationError(gov.ys03.sysadmin.areaManagement.NadModeCont
rollerTest) Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to transform class with name gov
.ys03.sysadmin.areaManagement.NadModeControllerTest. Reason: null
Caused by: java.util.ConcurrentModificationException
[INFO] Running gov.ys03.sysadmin.itineraryManagement.ItineraryController
Test
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.003 s
<<< FAILURE! - in gov.ys03.sysadmin.itineraryManagement.ItineraryControl
lerTest
[ERROR] initializationError(gov.ys03.sysadmin.itineraryManagement.Itiner
aryControllerTest) Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to transform class with name gov
.ys03.sysadmin.itineraryManagement.ItineraryControllerTest. Reason: null
Caused by: java.util.ConcurrentModificationException
[INFO] Running gov.ys03.sysadmin.itineraryManagement.ItineraryListContro
llerTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.005 s
<<< FAILURE! - in gov.ys03.sysadmin.itineraryManagement.ItineraryListCon
trollerTest
[ERROR] initializationError(gov.ys03.sysadmin.itineraryManagement.Itiner
aryListControllerTest) Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to transform class with name gov
.ys03.sysadmin.itineraryManagement.ItineraryListControllerTest. Reason: null
Caused by: java.util.ConcurrentModificationException
[INFO] Running gov.ys03.sysadmin.itineraryManagement.ItineraryUnitTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
1.303 s -
in gov.ys03.sysadmin.itineraryManagement.ItineraryUnitTest
[INFO] Running gov.ys03.sysadmin.itineraryManagement.ItineraryUpdateCont
rollerTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.025 s
<<< FAILURE! - in gov.ys03.sysadmin.itineraryManagement.ItineraryUpdateC
ontrollerTest
[ERROR] initializationError(gov.ys03.sysadmin.itineraryManagement.Itiner
aryUpdateControllerTest) Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to transform class with name gov
.ys03.sysadmin.itineraryManagement.ItineraryUpdateControllerTest. Reason:
null
Caused by: java.util.ConcurrentModificationException
[INFO] Running gov.ys03.sysadmin.itineraryManagement.topologyManagement.
timeItemManagement.TimeItemListControllerTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.01 s <
<< FAILURE! - in gov.ys03.sysadmin.itineraryManagement.topologyManagemen
t.timeItemManagement.TimeItemListControllerTest
[ERROR] initializationError(gov.ys03.sysadmin.itineraryManagement.topolo
gyManagement.timeItemManagement.TimeItemListControllerTest) Time elapsed:
0 s
<<< ERROR!
java.lang.IllegalStateException: Failed to transform class with name gov
.ys03.sysadmin.itineraryManagement.topologyManagement.timeItemManagement.TimeIte
mListControllerTest. Reason: null
Caused by: java.util.ConcurrentModificationException
[INFO] Running gov.ys03.sysadmin.itineraryManagement.topologyManagement.
voyageManagement.VoyageControllerTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.002 s
<<< FAILURE! - in gov.ys03.sysadmin.itineraryManagement.topologyManageme
nt.voyageManagement.VoyageControllerTest
[ERROR] initializationError(gov.ys03.sysadmin.itineraryManagement.topolo
gyManagement.voyageManagement.VoyageControllerTest) Time elapsed: 0 s <<<
ERRO
R!
java.lang.IllegalStateException: Failed to transform class with name gov
.ys03.sysadmin.itineraryManagement.topologyManagement.voyageManagement.VoyageCon
trollerTest. Reason: null
Caused by: java.util.ConcurrentModificationException
[INFO] Running gov.ys03.sysadmin.itineraryManagement.topologyManagement.
voyageManagement.VoyageListControllerTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.004 s
<<< FAILURE! - in gov.ys03.sysadmin.itineraryManagement.topologyManageme
nt.voyageManagement.VoyageListControllerTest
[ERROR] initializationError(gov.ys03.sysadmin.itineraryManagement.topolo
gyManagement.voyageManagement.VoyageListControllerTest) Time elapsed: 0 s
<<<
ERROR!
java.lang.IllegalStateException: Failed to transform class with name gov
.ys03.sysadmin.itineraryManagement.topologyManagement.voyageManagement.VoyageLis
tControllerTest. Reason: null
Caused by: java.util.ConcurrentModificationException
[INFO] Running gov.ys03.sysadmin.itineraryManagement.topologyManagement.
voyageManagement.VoyageUpdateControllerTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.002 s
<<< FAILURE! - in gov.ys03.sysadmin.itineraryManagement.topologyManageme
nt.voyageManagement.VoyageUpdateControllerTest
[ERROR] initializationError(gov.ys03.sysadmin.itineraryManagement.topolo
gyManagement.voyageManagement.VoyageUpdateControllerTest) Time elapsed: 0
s <<
< ERROR!
java.lang.IllegalStateException: Failed to transform class with name gov
.ys03.sysadmin.itineraryManagement.topologyManagement.voyageManagement.VoyageUpd
ateControllerTest. Reason: null
Caused by: java.util.ConcurrentModificationException
[INFO] Running gov.ys03.sysadmin.loginManagement.LoginControllerTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.001 s
<<< FAILURE! - in gov.ys03.sysadmin.loginManagement.LoginControllerTest
[ERROR] initializationError(gov.ys03.sysadmin.loginManagement.LoginContr
ollerTest) Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to transform class with name gov
.ys03.sysadmin.loginManagement.LoginControllerTest. Reason: null
Caused by: java.util.ConcurrentModificationException
[INFO] Running gov.ys03.sysadmin.pdfManagement.PdfManagementTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.156 s -
in gov.ys03.sysadmin.pdfManagement.PdfManagementTest
[INFO] Running gov.ys03.sysadmin.standaloneManagemenet.StandAloneControl
lerTest
Toplu iş sonlandırılsın mı (E/H)?
I got this error. So I research and added javaassist at the pom. But that
time I get this exception?
java.lang.IllegalStateException: Failed to transform class with name
gov.ys03.sysadmin.itineraryManagement.topologyManagement.voyageManagement.VoyageUpdateControllerTest.
Reason: null
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version> 3.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>1.7.4</version>
<exclusions>
<exclusion>
<groupId>org.junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
<exclusion>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
</exclusion>
<exclusion>
<groupId>org.powermock</groupId>
<artifactId>powermock-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.powermock</groupId>
<artifactId>powermock-reflect</artifactId>
</exclusion>
</exclusions>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.23.1-GA</version>
</dependency>
--
Burcu Yapıcı
> UnsatisfiedLinkError:Native Library jdk1.8.0_121\jre\bin\glass.dll already
> loaded in another classloader
> --------------------------------------------------------------------------------------------------------
>
> Key: MNG-6430
> URL: https://issues.apache.org/jira/browse/MNG-6430
> Project: Maven
> Issue Type: Bug
> Components: Class Loading
> Reporter: Burcu
> Assignee: Tibor Digana
> Priority: Major
> Labels: ClassLoader, Classloader, classloader, glass,
> unsatisfiedLinkError
> Attachments: 2018-09-11T16-32-01_814-jvmRun1.dump,
> 2018-09-11T16-32-01_814-jvmRun2.dump, 2018-09-12T13-28-04_278-jvmRun1.dump,
> glassdll.jpg, mvnTest.jpg, plugin.jpg, pom.xml, pom.xml, runAllTest.jpg
>
>
> Although I made the linkte and tried other solutions, I could not resolve the
> glass.dll not found error. I'm looking for a solution to this issue that is
> long-lasting. I'm using Powermock and TestFx. I have encountered this problem
> since I started working with both. I would like to try if you offer a
> solution in this regard. Below you will find some images of the fault.
> [https://maven.apache.org/surefire/maven-surefire-plugin/examples/class-loading.html]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)