报错信息如下:
java.lang.ArithmeticException: / by zero
at Util.Base64XOR.xorWithKey(Base64XOR.java:113)
at Util.Base64XOR.encode(Base64XOR.java:23)
at Dao.MssqlHttpDao.executeSQLStatement(MssqlHttpDao.java:751)
at Dao.MssqlHttpDao.getConnection(MssqlHttpDao.java:65)
at Controller.MssqlController.lambda$null$2(MssqlController.java:215)
at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185)
at java.lang.Thread.run(Unknown Source)
连接mssql报错,设置的http代理,sqltools直接连没问题,mdut连接报错
报错信息如下: java.lang.ArithmeticException: / by zero at Util.Base64XOR.xorWithKey(Base64XOR.java:113) at Util.Base64XOR.encode(Base64XOR.java:23) at Dao.MssqlHttpDao.executeSQLStatement(MssqlHttpDao.java:751) at Dao.MssqlHttpDao.getConnection(MssqlHttpDao.java:65) at Controller.MssqlController.lambda$null$2(MssqlController.java:215) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185) at java.lang.Thread.run(Unknown Source)