Giter Club home page Giter Club logo

seatsio-java's People

Contributors

bverbeken avatar dependabot-preview[bot] avatar dependabot[bot] avatar github-actions[bot] avatar mortendevold avatar mroloux avatar nahue avatar schaloner avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

readyou

seatsio-java's Issues

Google Guava depedency resolution issue

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.

image

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.

seatsio.SeatsioException#fromJson: Illegal reflective access

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.

search for categoryKey nosuckMethod api 45

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,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.