error - NullPointerException

JD2 years ago
2022-07-27 13:58:08  INFO: [Tde3c3a89] error - NullPointerException (NotificationManager:55 < *:88 < *:125 < ConnectionManager:108 < BaseProtocolDecoder:242 < ...)
2022-07-27 13:58:08  INFO: [Tde3c3a89] disconnected

hello dear support ...! I just remove a user phone from modern GUI and after a few minutes all devices were down and now I see logs I got this it's log repeat a lot of time

Anton Tananaev2 years ago

Doesn't looks like you're using the latest official version.

JD2 years ago

Yes..! it's the latest official we have new install before 6 to 7 day and everything is working fine but today we face this issue

Anton Tananaev2 years ago

Well, the line numbers don't match. Are you sure you haven't changed the code?

JD2 years ago
2022-07-27 14:19:35  INFO: HikariPool-1 - Starting...
2022-07-27 14:19:35  WARN: Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2022-07-27 14:19:36  INFO: HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@3e7dd664
2022-07-27 14:19:36  INFO: HikariPool-1 - Start completed.
2022-07-27 14:19:36  INFO: Clearing database change log checksums
2022-07-27 14:19:37  INFO: Successfully acquired change log lock
2022-07-27 14:19:38  INFO: Successfully released change log lock
2022-07-27 14:19:38  INFO: Successfully acquired change log lock
2022-07-27 14:19:38  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.json.JsonChangeLogParser Unable to get public no-arg constructor
2022-07-27 14:19:38  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.yaml.YamlChangeLogParser Unable to get public no-arg constructor
2022-07-27 14:19:40  INFO: Reading from traccar.DATABASECHANGELOG
2022-07-27 14:19:41  INFO: Reading from traccar.DATABASECHANGELOG
2022-07-27 14:19:41  INFO: Cannot load service: liquibase.hub.HubService: Provider liquibase.hub.core.StandardHubService could not be instantiated
2022-07-27 14:19:41  INFO: Successfully released change log lock
2022-07-27 14:19:43  INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
2022-07-27 14:19:44  INFO: Operating system name: Linux version: 5.4.0-122-generic architecture: amd64
2022-07-27 14:19:44  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: ojdkbuild version: 11.0.13+8-LTS
2022-07-27 14:19:44  INFO: Memory limit heap: 237mb non-heap: 0mb
2022-07-27 14:19:44  INFO: Character encoding: UTF-8 charset: UTF-8
2022-07-27 14:19:44  INFO: Version: 5.0
2022-07-27 14:19:44  INFO: Starting server...
2022-07-27 14:19:44  INFO: jetty-10.0.7; built: 2021-10-06T19:34:02.766Z; git: da8a4553af9dd84080931fa0f8c678cd2d60f3d9; jvm 11.0.13+8-LTS
2022-07-27 14:19:45  INFO: Started o.t.w.@5a39e554{/,null,AVAILABLE}
2022-07-27 14:19:45  INFO: Session workerName=node0
2022-07-27 14:19:46  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2022-07-27 14:19:47  INFO: Started o.e.j.s.ServletContextHandler@6fefc5ea{/,null,AVAILABLE}
2022-07-27 14:19:47  INFO: Started ServerConnector@2630dbc4{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2022-07-27 14:19:47  INFO: Started Server@25a290ee{STARTING}[10.0.7,sto=0] @12784ms
2022-07-27 14:19:47  INFO: Health check enabled with period 480000
2022-07-27 14:19:56  INFO: [T40aa94d2] connected
2022-07-27 14:19:56  INFO: [T40aa94d2: gt06 < 119.160.96.153] 78780d0108680030350142860011429c0d0a
2022-07-27 14:19:56  INFO: [T40aa94d2: gt06 > 119.160.96.153] 787805010011c95d0d0a
2022-07-27 14:19:56  INFO: [T40aa94d2] error - NullPointerException (NotificationManager:55 < *:88 < *:125 < ConnectionManager:108 < BaseProtocolDecoder:242 < ...)
2022-07-27 14:19:56  INFO: [T40aa94d2] disconnected
2022-07-27 14:19:56  INFO: [T40aa94d2] error - NullPointerException (NotificationManager:55 < *:88 < *:125 < ConnectionManager:108 < *:67 < MainEventHandler:131 < ...)

complate starting logs

JD2 years ago

no, sir, we have not to change anything in the code we just touch it a few times traccar.xml and which right now look like this


  GNU nano 4.8                                                                                        /opt/traccar/conf/traccar.xml                                                                                                   
<?xml version='1.0' encoding='UTF-8'?>

<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>

<properties>

    <entry key="config.default">./conf/default.xml</entry>

        <entry key='notificator.types'>web,mail,sms</entry>
        <entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
        <entry key='sms.http.url'>https://esmsapi.com/api/send/whatsapp</entry>
        <entry key='sms.http.template'>
                secret=dummy&amp;account=2&amp;phone={phone}&amp;message={message}
        </entry>

    <entry key='database.driver'>com.mysql.jdbc.Driver</entry>
    <entry key='database.url'>jdbc:mysql://dummy/dummy?serverTimezone=UTC&amp;useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=''</e>
    <entry key='database.user'>dummy</entry>
    <entry key='database.password'>dummy</entry>

</properties>
Anton Tananaev2 years ago

Version: 5.0

Yes..! it's the latest official

Just for your information, we had 2 releases after 5.0, so you clearly provided false information.

JD2 years ago

Sorry sir it's my mistake I have install it from already downloading files let me install the new one

JD2 years ago

and really Thanks for your great and fast support..! I have no important data so I can fresh install the new version please close this thread