Port error with unknown model

Antonio119 years ago

Hi Anton,

I build it so no problem, I get this with the new java file.


WARN: Referential integrity constraint violation: "CONSTRAINT_5B: PUBLIC.POSITION FOREIGN KEY(DEVICEID) REFERENCES PUBLIC.DEVICE(ID) (0)"; SQL statement:
INSERT INTO position (deviceId, protocol, serverTime, deviceTime, fixTime, valid, latitude, longitude, altitude, speed, course, address, other)
        VALUES (?, ?, CURRENT_TIMESTAMP(), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?); [23506-187] - JdbcSQLException (... < QueryBuilder.java:412 < DataManager.java:335 < DefaultDataHandler.java:27 < ...)
2015-08-24 03:45:54  INFO: [40771794] id: 0, time: Mon Aug 24 03:45:54 CDT 2015, lat: 59.31909666666667, lon: 18.069396666666666, speed: 0.0, course: 271.73
2015-08-24 03:45:54  WARN: [40771794] error - String index out of range: -19 - StringIndexOutOfBoundsException (... < MegastekProtocolDecoder.java:168 < *:342 < ExtendedObjectDecoder.java:39 < ...)
2015-08-24 03:45:54  INFO: [40771794] disconnected

any wrong attitude on my part? :)

Thanks for your patience with me.

Anton Tananaev9 years ago