Comments (4)
Graal 21 is causing tests to fail. This could also signify further problems.
from es4x.
I tried latest graal 17. same error
Is it possible to consider setting a minimum version requirement instead of exact version?
java --version
java 17.0.8 2023-07-18 LTS
Java(TM) SE Runtime Environment Oracle GraalVM 17.0.8+9.1 (build 17.0.8+9-LTS-jvmci-23.0-b14)
Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 17.0.8+9.1 (build 17.0.8+9-LTS-jvmci-23.0-b14, mixed mode, sharing)
cd es4jx-postgres/
npm start
[email protected] start
es4x
Runtime GraalVM version mismatch { wanted: [22.3.2], provided: [0.0.0] }
For installation help see: https://www.graalvm.org/docs/getting-started-with-graalvm/
from es4x.
I tried to add an else case
m = p.matcher("".equals(VENDOR_VERSION) ? VM_NAME : VENDOR_VERSION);
if (m.find()) {
YEAR = Integer.parseInt(m.group(1));
RELEASE = Integer.parseInt(m.group(2));
BUGFIX = Integer.parseInt(m.group(3));
} else {
p = Pattern.compile("jvmci\\-(\\d+)\\.(\\d+)\\-b(\\d+)");
m = p.matcher(System.getProperty("java.vm.version"));
if (m.find()) {
YEAR = Integer.parseInt(m.group(1));
RELEASE = Integer.parseInt(m.group(2));
BUGFIX = Integer.parseInt(m.group(3));
} else {
YEAR = 0;
RELEASE = 0;
BUGFIX = 0;
}
}
} else {
YEAR = 0;
RELEASE = 0;
BUGFIX = 0;
}
Now I get a different error
T E S T S
Running io.reactiverse.es4x.impl.ImportMapperTest
Can not find io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider in the classpath, fallback to system defaults. This may result in incorrect DNS resolutions on MacOS. Check whether you have a dependency on 'io.netty:netty-resolver-dns-native-macos'
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.298 sec <<< FAILURE!
testURI(io.reactiverse.es4x.impl.ImportMapperTest) Time elapsed: 0.255 sec <<< ERROR!
java.lang.IllegalStateException: A language with id 'js' is not installed
at io.reactiverse.es4x.ECMAEngine.(ECMAEngine.java:102)
....
After 20000 lines of stack trace
....
Running io.reactiverse.es4x.ES4XTest
Failed to create the vert.x instance caused by java.lang.IllegalStateException: A language with id 'js' is not installed
at io.reactiverse.es4x.ECMAEngine.(ECMAEngine.java:102)
from es4x.
Read a bit in https://www.graalvm.org/latest/reference-manual/js/ScriptEngine/..
Seems like things changed. updating pom as per this page also did not help..
from es4x.
Related Issues (20)
- Type coercion problem in global setTimer HOT 1
- Include js verticles in Java code HOT 5
- Multiple verticle instances generate bad context exceptions from graalvm when loading modules from common npm packages HOT 1
- Require statements fail to resolve json files from dependency except by relative path
- Limitations of es4x? HOT 6
- Problem using await HOT 3
- invokeMember (then) on io.vertx.core.impl.future.PromiseImpl@47ddaaf5 failed due to: Arity error - expected: 2 actual: 1 HOT 1
- Promise of vertx cannot call then twice or more. HOT 4
- Cannot Resolve the CWD error when path contains spaces in windows HOT 1
- Native libraries HOT 3
- About the difference between JSVerticleFactory and MJSVerticleFactory
- Make a new release with the latest graal and vert.x HOT 1
- How to use handlebars in es4x? HOT 2
- require/load - Error loading JavaScript Module with ES4X in maven project HOT 3
- PR: Tracking progress for later alignment with web-modules. HOT 2
- [Question] How to build a file for java graaljs? HOT 1
- mongo-client:Multi threaded access requested by thread Thread[] but is not allowed for language(s) js HOT 2
- Release Vertx 4.4.0 npm modules HOT 3
- About Native Images for ES4X
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from es4x.