Giter VIP home page Giter VIP logo

rentlio's Introduction

Logo

RentLio

This is a vehicle reservation system. Which is made with JavaFX and also using hibernate and RMI.
And also modern UI and UX concepts and jfoenix.

official JetBrains project JetBrains Plugins

Login UI Menu UI Manage Driver UI Manage Vehicle UI Vehicle Color Selection

Getting Started

  1. Clone the repository. git clone https://github.com/Shehanka/RentLio.git
  2. Install OpenJDK 11.0 or higher.
  3. Install MySQL.
  4. Run MySQL Script.
  5. Run mvn install
  6. Run mvn exec:java on RentLioClient.
  7. Run RentLIOStart.java.
  8. Input login credentials. End with an example of getting some data out of the system or using it for a little demo

Used Design Patterns

  • MVC
  • Factory
  • Abstract Factory
  • Singleton
  • Observer
  • Facade

Deployment

  • Create JAR File and Execute

Built With

  • jfoenix - The JavaFX framework used
  • CustomStage - A JavaFX undecorated stage which can fully be customized

Contributing

  • Chamod Shehanka - Developer - Shehanka

See also the list of contributors who participated in this project.

Versioning

We use SemVer for versioning. For the versions available, see the [tags on this repository]

Authors

  • Chamod Shehanka - Developer Who's the author of those contents - Shehanka

License

This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details

rentlio's People

Contributors

chamodshehanka avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rentlio's Issues

Client NullPointerException at SceneManager.java:62

Hi

I cloned the project and tried to execute the client but the NullPointerException was thrown. I have done a debug and found that the problem was in this class called SceneManager which has a field whose name is sceneMap, so when this piece of code "sceneMap.get(id).getScene()" was called It might have returned null. Because of it is using this api CustomStage, I couldn't do nothing to solve the issue; however, I replaced the lines 23 and 24 in the class StartRentLio to FXMLoader.load(); and the application showed but the button did not work.

here is the entire exception.

Not a directory Exception in Application start method java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:464) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1051) Caused by: java.lang.RuntimeException: Exception in Application start method at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900) at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195) at java.base/java.lang.Thread.run(Thread.java:832) Caused by: java.lang.NullPointerException at lk.vivoxalabs.scenemanager.SceneManager.getScene(SceneManager.java:62) at com.chamodshehanka.rentlio.client.start.StartRentLio.start(StartRentLio.java:26) at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428) at java.base/java.security.AccessController.doPrivileged(AccessController.java:391) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427) at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96) at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277) ... 1 more Exception running application com.chamodshehanka.rentlio.client.start.StartRentLio

I tried to run the application on java 11 version and none of the projects were showing any error. I would like to run this application in order to learn the written code. I would like to ask what should I do to get rid of that error because I have tried everything and nothing seem to work. Thank you for sharing this project.

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.