seatsio / seatsio-java Goto Github PK
View Code? Open in Web Editor NEWThe official Seats.io Java client library
Home Page: https://www.seats.io
License: MIT License
The official Seats.io Java client library
Home Page: https://www.seats.io
License: MIT License
While trying to add latest version of dependency in project, build is failing with reason that Google Guava is not able to choose between android and java version of library.
I tried to exclude dependency and add java version manually but it is not working.
if someone has found solution to this Can you please help me with that?
Thank you so much.
With Java 17, seatsio.SeatsioException#fromJson will fail with the follow exception:
com.google.gson.JsonIOException: Failed making field 'java.lang.Throwable#detailMessage' accessible; either increase its visibility or write a custom TypeAdapter for its declaring type.
at com.google.gson.internal.reflect.ReflectionHelper.makeAccessible(ReflectionHelper.java:38)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:287)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:130)
at com.google.gson.Gson.getAdapter(Gson.java:546)
at com.google.gson.Gson.fromJson(Gson.java:1213)
at com.google.gson.Gson.fromJson(Gson.java:1124)
at com.google.gson.Gson.fromJson(Gson.java:1034)
at com.google.gson.Gson.fromJson(Gson.java:969)
at seatsio.SeatsioException.fromJson(SeatsioException.java:59)
at seatsio.SeatsioException.from(SeatsioException.java:38)
...
With Java 11 (and presumably >= 9), it will succeed, but the following message will be written to stderr:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.gson.internal.reflect.ReflectionHelper to field java.lang.Throwable.detailMessage
WARNING: Please consider reporting this to the maintainers of com.google.gson.internal.reflect.ReflectionHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
I believe the issue is because SeatsioException ultimately derives from Throwable, which has many private fields. A custom TypeAdapter will be required.
Hi,
NoSuckMethodError api 45 in chartsReports.byCategoryKey
Severe: Servlet.service() for servlet [dispatcher] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: seatsio.reports.charts.ChartReports.byCategoryKey(Ljava/lang/String;)Ljava/util/Map;] with root cause
java.lang.NoSuchMethodError: seatsio.reports.charts.ChartReports.byCategoryKey(Ljava/lang/String;)Ljava/util/Map.
I would like to contribute to the project.
I would like to write a lib in kotlin as well.
Regards,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.