Java [v214] Swordie Source

Page 1 of 2 12 LastLast
Results 1 to 15 of 29
  1. #1
    [VIP] Bellocan is offline
    [VIP] MemberRank
    Aug 2007 Join Date
    739Posts

    Java [v214] Swordie Source

    Last v214 thread was a copy / paste from my v206 with messy links.

    This is based on the v206 that I am aware of. Credits go to all who worked on it and credits will be left out for privacy.

    Features of v214 over v206:
    Adele added and fully functional
    HoYoung added and fully functional (one skill *might* error 38, can't remember)
    Guild partially works (Revamp broke this)
    Cash Shop doesn't work (Revamp broke this)

    Download v214 Server Source: https://mega.nz/file/mRYRDBaA#rXSdhD...5_CFNKqOz-A0zY (different than other v214 thread)

    Download Client: https://drive.google.com/file/d/1qDq...usp=share_link
    If you wish to Download a client from Steam using Depot Downloader, download Depot Downloader -> Extract files to folder -> right-click file explorer and click "Open in Terminal", then paste code below (after modifying username and pass to yours with MapleStory in your Steam library)
    PHP Code:
    dotnet DepotDownloader.dll -app 216150 -depot 216151 -manifest 976750626611673486 -username replace_with_username -password replace_with_password 
    Download BlackCipher: https://mega.nz/file/uZgQwbjS#kuNUqc...7j2obimaed2v9g

    Auth Hook & Launcher Links:
    Github: Elligent/v214-Launcher: v214 Launcher (github.com)
    Github: Elligent/v214-Auth-Hook: v214 Authentication hook (github.com)

    Features of AuthHook:
    CRC Bypass for v214
    Disabled UI Transparency when hit by mob
    Chat Spam bypass allowing simultaneous chat
    Drop Cash Items
    Type your PIC at login screen (You can type any pic, it's a bypass, real PIC is needed for deleting characters)

    Auth Hook:
    Like v206 Auth Hook guide, modify global.h 127.0.0.1 to something else if you would like to change IP of server for client connecting.
    Compile and rename the new .dll to v214.dll to match Launcher's form1.cs name if needed.
    Place new v214.dll in maplestory v214 client folder.

    Launcher:
    Like v206 Launcher guide, modify client.cs server ip address for connecting / registering accounts..
    Modify form1.cs v214.dll if you change the name of the dll from Auth Hook compiling.
    place new v214.exe client in maplestory v214 client folder.




    Last edited by Bellocan; 28-11-22 at 04:49 PM.


  2. #2
    Apprentice CRE is offline
    MemberRank
    Nov 2022 Join Date
    12Posts
    Thanks for sharing!
    I can signup and sigin using the v214 launcher but I can't get into the game, after I click Login, it will load maplestory.exe and then blackcipher.aes, and after a few seconds, there is just the launcher there. Any clue why? I have replaced the blackcipher folder and had the v214.dll in position. The server log is as:
    [DEBUG] [API In] | DUMMY_CODE, 100/0x64 | 05 00 61 64 6D 69 6E 0C 00 79 65 6C 6C 6F 77 68 61 6D 6D 65 72
    [DEBUG] [API Out] | null, 100/0x64 | 00 32 00 6E 65 64 33 4F 68 45 68 5C 77 57 6B 45 78 65 67 6F 31 73 56 51 6C 43 57 4C 39 52 67 6D 34 62 40 33 4C 56 3B 53 3D 5E 4F 50 75 3C 69 52 7B 61 60 65 65

    - - - Updated - - -

    Above I used the version of server in the other thread. It seems your version of code has several problems, and can't run properly. First it seems can only be compiled with JDK 14 rather than JDK 17, with JDK 17 somes errors about hibernate come up and no run, I am not really familiar with java so I can't really tell what's wrong, but changing to JDK 14 this error disappears. And with JDK 14, it runs, but with several runtime exceptions of different types, and keep running, but no responce when I run the client. I wonder if you shared the wrong version of files.
    Last edited by CRE; 28-11-22 at 10:00 AM.

  3. #3
    [VIP] Bellocan is offline
    [VIP] MemberRank
    Aug 2007 Join Date
    739Posts
    Quote Originally Posted by CRE View Post
    Thanks for sharing!
    I can signup and sigin using the v214 launcher but I can't get into the game, after I click Login, it will load maplestory.exe and then blackcipher.aes, and after a few seconds, there is just the launcher there. Any clue why? I have replaced the blackcipher folder and had the v214.dll in position. The server log is as:
    [DEBUG] [API In] | DUMMY_CODE, 100/0x64 | 05 00 61 64 6D 69 6E 0C 00 79 65 6C 6C 6F 77 68 61 6D 6D 65 72
    [DEBUG] [API Out] | null, 100/0x64 | 00 32 00 6E 65 64 33 4F 68 45 68 5C 77 57 6B 45 78 65 67 6F 31 73 56 51 6C 43 57 4C 39 52 67 6D 34 62 40 33 4C 56 3B 53 3D 5E 4F 50 75 3C 69 52 7B 61 60 65 65

    - - - Updated - - -

    Above I used the version of server in the other thread. It seems your version of code has several problems, and can't run properly. First it seems can only be compiled with JDK 14 rather than JDK 17, with JDK 17 somes errors about hibernate come up and no run, I am not really familiar with java so I can't really tell what's wrong, but changing to JDK 14 this error disappears. And with JDK 14, it runs, but with several runtime exceptions of different types, and keep running, but no responce when I run the client. I wonder if you shared the wrong version of files.
    I did have one running JDK 14 and one running JDK 17. I'll upload the JDK 17 one.

    Edit:
    Uploaded my other one.
    Last edited by Bellocan; 28-11-22 at 04:10 PM.

  4. #4
    Enthusiast Roundness is offline
    MemberRank
    May 2013 Join Date
    45Posts
    Quote Originally Posted by Bellocan View Post
    I did have one running JDK 14 and one running JDK 17. I'll upload the JDK 17 one.

    Edit:
    Uploaded my other one.
    I just get that the link is broken. If you click on the link it says broken but if you copy paste it works.

  5. #5
    Apprentice CRE is offline
    MemberRank
    Nov 2022 Join Date
    12Posts
    Quote Originally Posted by Bellocan View Post
    I did have one running JDK 14 and one running JDK 17. I'll upload the JDK 17 one.

    Edit:
    Uploaded my other one.
    Thanks, and where can I get the other one?

  6. #6
    [VIP] Bellocan is offline
    [VIP] MemberRank
    Aug 2007 Join Date
    739Posts
    Quote Originally Posted by Roundness View Post
    I just get that the link is broken. If you click on the link it says broken but if you copy paste it works.
    Thank you! Fixed the URL.

    Quote Originally Posted by CRE View Post
    Thanks, and where can I get the other one?
    I replaced the link in the first post with the new one.
    Last edited by Bellocan; 28-11-22 at 04:49 PM.

  7. #7
    Apprentice CRE is offline
    MemberRank
    Nov 2022 Join Date
    12Posts
    Quote Originally Posted by Bellocan View Post
    Thank you! Fixed the URL.



    I replaced the link in the first post with the new one.
    Wonderful!

    - - - Updated - - -

    I can signup and sigin using the v214 launcher but I can't get into the game, after I click Login, it will load maplestory.exe and then blackcipher.aes, and after a few seconds, there is just the launcher there. Any clue why? I have replaced the blackcipher folder and had the v214.dll in position. The server log is as:
    I figured it out, the ijl15.dll should not be renamed as v214.dll, it should be named just as ijl15.dll and replace the original one in the maplestory folder, or you won't be able to open the game. @Bellocan I am afraid your instruction about that might be wrong.

  8. #8
    [VIP] Bellocan is offline
    [VIP] MemberRank
    Aug 2007 Join Date
    739Posts
    Quote Originally Posted by CRE View Post
    Wonderful!

    - - - Updated - - -



    I figured it out, the ijl15.dll should not be renamed as v214.dll, it should be named just as ijl15.dll and replace the original one in the maplestory folder, or you won't be able to open the game. @Bellocan I am afraid your instruction about that might be wrong.
    Under AuthHook I mention renaming .dll to v214.dll if needed. I am happy to hear you have it working though.

  9. #9
    Apprentice CRE is offline
    MemberRank
    Nov 2022 Join Date
    12Posts
    I found this server is far from complete but worth developing, do you mind if I put this code public on github?
    Oh, never mind, I saw the license.
    Last edited by CRE; 28-11-22 at 08:07 PM.

  10. #10
    Enthusiast Roundness is offline
    MemberRank
    May 2013 Join Date
    45Posts
    Quote Originally Posted by CRE View Post
    I found this server is far from complete but worth developing, do you mind if I put this code public on github?
    Oh, never mind, I saw the license.
    Could you post the link of the github when done ? Thanks.

  11. #11
    Apprentice CRE is offline
    MemberRank
    Nov 2022 Join Date
    12Posts
    Quote Originally Posted by Roundness View Post
    Could you post the link of the github when done ? Thanks.
    Ok, if I remember. Because I might not do it recently, since I've got other things to do.

  12. #12
    Member SomeoneMs is offline
    MemberRank
    Aug 2016 Join Date
    65Posts
    its same source.. people need the hibernate fucked when 10+ people online and someone try log off the char stuck on map..

  13. #13
    Enthusiast Roundness is offline
    MemberRank
    May 2013 Join Date
    45Posts
    Quote Originally Posted by SomeoneMs View Post
    its same source.. people need the hibernate fucked when 10+ people online and someone try log off the char stuck on map..
    Instead of being negative everytime someone releases something, how about release something better that the community can use ? Or if you know a fix post that.

  14. #14
    Novice Kawiowo is offline
    MemberRank
    Nov 2022 Join Date
    2Posts
    Hello! Thank you for this, really appreciate it. Very new to all of this, was wondering if I could get your help. I keep getting this error when trying to launch the server
    [ERROR] Could not create connection to database server. Attempted reconnect 3 times. Giving up.
    Exception in thread "main" org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:275)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
    at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:175)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
    at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:173)
    at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127)
    at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:86)
    at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:479)
    at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:85)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:709)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:746)
    at net.swordie.ms.connection.db.DatabaseManager.init(DatabaseManager.java:147)
    at net.swordie.ms.Server.init(Server.java:85)
    at net.swordie.ms.Server.main(Server.java:349)
    Caused by: org.hibernate.exception.JDBCConnectionException: Error calling Driver#connect
    at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:48)
    at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:37)
    at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)
    at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.convertSqlException(BasicConnectionCreator.java:118)
    at org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator.makeConnection(DriverConnectionCreator.java:41)
    at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.createConnection(BasicConnectionCreator.java:58)
    at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections.addConnections(DriverManagerConnectionProviderImpl.java:409)
    at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections.<init>(DriverManagerConnectionProviderImpl.java:275)
    at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections.<init>(DriverManagerConnectionProviderImpl.java:249)
    at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections$Builder.build(DriverManagerConnectionProviderImpl.java:453)
    at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.buildPool(DriverManagerConnectionProviderImpl.java:98)
    at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure(DriverManagerConnectionProviderImpl.java:73)
    at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:107)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:246)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
    at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.buildJdbcConnectionAccess(JdbcEnvironmentInitiator.java:146)
    at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:66)
    at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
    at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
    ... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    at com.mysql.jdbc.Util.getInstance(Util.java:387)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:917)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:896)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:885)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:860)
    at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2163)
    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2088)
    at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:806)
    at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:410)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:328)
    at org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator.makeConnection(DriverConnectionCreator.java:38)
    ... 31 more
    Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because "this.serverVariables" is null
    at com.mysql.jdbc.ConnectionImpl.getServerCharset(ConnectionImpl.java:2997)
    at com.mysql.jdbc.MysqlIO.sendConnectionAttributes(MysqlIO.java:1936)
    at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1865)
    at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1228)
    at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2253)
    at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2104)
    ... 43 more

    Process finished with exit code 1
    so I'm having some issue connecting to the server, but I don't know how to resolve it. I've fiddled with the hibernate to see if messed up naming the schema or something like that, did the whole process again etc, but can't seem to figure it out. Sorry if this an obvious fix and I'm just a dumbass :)

  15. #15
    Novice Kawiowo is offline
    MemberRank
    Nov 2022 Join Date
    2Posts
    Hello! Thank you for this, really appreciate it. Very new to all of this, was wondering if I could get your help. I keep getting this error when trying to launch the server
    [ERROR] Could not create connection to database server. Attempted reconnect 3 times. Giving up.
    Exception in thread "main" org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:275)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
    at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:175)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
    at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:173)
    at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127)
    at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:86)
    at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:479)
    at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:85)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:709)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:746)
    at net.swordie.ms.connection.db.DatabaseManager.init(DatabaseManager.java:147)
    at net.swordie.ms.Server.init(Server.java:85)
    at net.swordie.ms.Server.main(Server.java:349)
    Caused by: org.hibernate.exception.JDBCConnectionException: Error calling Driver#connect
    at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:48)
    at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:37)
    at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)
    at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.convertSqlException(BasicConnectionCreator.java:118)
    at org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator.makeConnection(DriverConnectionCreator.java:41)
    at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.createConnection(BasicConnectionCreator.java:58)
    at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections.addConnections(DriverManagerConnectionProviderImpl.java:409)
    at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections.<init>(DriverManagerConnectionProviderImpl.java:275)
    at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections.<init>(DriverManagerConnectionProviderImpl.java:249)
    at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections$Builder.build(DriverManagerConnectionProviderImpl.java:453)
    at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.buildPool(DriverManagerConnectionProviderImpl.java:98)
    at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure(DriverManagerConnectionProviderImpl.java:73)
    at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:107)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:246)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
    at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.buildJdbcConnectionAccess(JdbcEnvironmentInitiator.java:146)
    at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:66)
    at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
    at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
    ... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    at com.mysql.jdbc.Util.getInstance(Util.java:387)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:917)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:896)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:885)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:860)
    at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2163)
    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2088)
    at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:806)
    at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:410)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:328)
    at org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator.makeConnection(DriverConnectionCreator.java:38)
    ... 31 more
    Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because "this.serverVariables" is null
    at com.mysql.jdbc.ConnectionImpl.getServerCharset(ConnectionImpl.java:2997)
    at com.mysql.jdbc.MysqlIO.sendConnectionAttributes(MysqlIO.java:1936)
    at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1865)
    at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1228)
    at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2253)
    at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2104)
    ... 43 more

    Process finished with exit code 1
    so I'm having some issue connecting to the server to the sql server somehow (I think), but I don't know how to resolve it. I've fiddled with the hibernate to see if messed up naming the schema or something like that, did the whole process again etc, but can't seem to figure it out. Sorry if this an obvious fix and I'm just a dumbass, thank you again.



Page 1 of 2 12 LastLast

Advertisement