Comments (6)
Settings settings = Settings.settingsBuilder()
.put("client.transport.sniff", true).build();
TransportClient client = TransportClient.builder().settings(settings).build();
exactly when i call the .build() method on TransportClient builder, Rapidoid can't invoke the method and always crash
from rapidoid.
Hey, can you paste the stacktrace from the exception you get?
from rapidoid.
i used the 1.7 version of elastic that does not use .build() in the transport client and its work fine, but with the 2.0 and up version have the issue, i loss the stacktrace because with the version I managed to overcome the problem
from rapidoid.
Hi, this problem doesn't look related to Rapidoid.
The exception that you see in Cls.invoke is probably caused by some other exception occurring in the "build" method.
Also, the .build()-caller code shouldn't be inside a web handler, please try running it before the setup of RESTful services.
from rapidoid.
The .build() method is call outside the web handler, but Rapidoid is the one that makes that call on startup invoke to load the init variables like the transport client and others databases clients, also the .builder() is a native elastic method that does not make problems outside rapidoid implementation, the both projects are separated, and works fine when elastic project is standalone, but when i do the implementation in Rapidoid is where the issues appear.
from rapidoid.
Can you please provide a simple code that demonstrates this issue?
from rapidoid.
Related Issues (20)
- soapMessage.WriteTo
- Metrics takes too much memory by default
- Is it possible to change http.timeout per route or per request? HOT 2
- Using session() in org.rapidoid:rapidoid-http-server:5.5.5
- Enabling CORS on a view with no access to Resp
- How to start a new Web Server Instance with Rapidoid ?
- running Rapidoid from JUnit - exception when handling async response
- How to start only JPA?
- Allow configuring Controller's routes.
- Allow declaring a common root for routes. HOT 1
- New release for updated dependencies? HOT 1
- Please Support HTTP/2 Server Push
- More setup details are required for https HOT 1
- On.page().mvc() error HOT 1
- Add additional documentation and examples for HTML rendering HOT 1
- Video/Media Upgrade
- Dependency org.hibernate:hibernate-core, leading to CVE problem HOT 1
- Why no longer fastest in the world?
- Plz fix bug for java 11
- set configuration https with tcpnodelay error
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 rapidoid.