2025-07-18 02:25 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005233Spring engineGeneralpublic2016-05-17 14:10
Reporterabma 
Assigned Toabma 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version101.0+git 
Target Version102.0Fixed in Version 
Summary0005233: java ai loading seems to fail
Descriptionnot sure if caused by my recent changes

[f=-000001] [LoadFinalize] finalized PFS (69ms, checksum 611b4eb0)
[f=-000001] Loading Skirmish AIs
[f=-000001] [Java Interface] settings loaded from: AI\Interfaces\Java\0.1s is the log-file of the %s v%s AI Interface
[f=-000001] [Java Interface] JRE found in env var "JAVA_HOME"!
[f=-000001] [Java Interface] Using JRE (can be changed with JAVA_HOME): C:\Program Files (x86)\Java\jdk1.7.0_55\jre
[f=-000001] [Java Interface] Successfully loaded the JVM shared library at "C:\Program Files (x86)\Java\jdk1.7.0_55\jre\bin\client\jvm.dll".
[f=-000001] [Java Interface] Error: Retrieving the parent dir of the path to AIInterface.jar ((null)) failed.
[f=-000001] [Java Interface] Error: Failed creating Java class-path.
[f=-000001] [Java Interface] Error: Failed initializing JVM init-arguments.
[f=-000001] [Java Interface] Error: JVM: Failed creating.
[f=-000001] [Java Interface] Error: Initialization failed.
[f=-000001] Error: Initializing AI Interface library from file "C:\Users\Mason\Downloads\spring_{develop}101.0.1-354-g2614c5c_minimal-portable\AI\Interfaces\Java\0.1\AIInterface.dll". The call to initStatic() returned unsuccessfuly.
Additional Informationhttp://paste.springfiles.com/view/c0fc04bc
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0016291

abma (administrator)

when fixed, please bump https://springrts.com/phpbb/viewtopic.php?f=15&p=577456#p577456

~0016292

abma (administrator)

here it fails for me:
https://github.com/spring/spring/blob/decd1271e21d5e1f5ac9e37d60963d79186d47fe/AI/Interfaces/Java/src/main/native/JavaBridge.c#L150

[f=-000001] [Java Interface] Error: Couldn't find AIInterface.jar

~0016295

abma (administrator)

DataDirs_locatePath etc was recently changed:

https://github.com/spring/spring/commits/develop/rts/ExternalAI/SAIInterfaceCallbackImpl.cpp

so possible introduced there

~0016309

abma (administrator)

Fix 9d13eb691c9793a5429e5830deb25f0a9ddaff5a committed to develop branch: fix buffer overflow, fix bad usage of macros:
fix 0005233, repo: spring changeset id: 7075
+Notes

-Issue History
Date Modified Username Field Change
2016-05-15 01:11 abma New Issue
2016-05-15 01:19 abma Note Added: 0016291
2016-05-15 03:44 abma Note Added: 0016292
2016-05-15 03:45 abma Severity minor => major
2016-05-15 03:45 abma Product Version => 101.0+git
2016-05-15 12:52 abma Note Added: 0016295
2016-05-17 14:10 abma Changeset attached => spring develop 9d13eb69
2016-05-17 14:10 abma Note Added: 0016309
2016-05-17 14:10 abma Assigned To => abma
2016-05-17 14:10 abma Status new => resolved
2016-05-17 14:10 abma Resolution open => fixed
+Issue History