Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. NXCExeption when using csv importer

NXCExeption when using csv importer

Scheduled Pinned Locked Moved Support
7 Posts 4 Posters 48.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    R
    rsigley
    wrote on last edited by
    #1

    Thank you in advance for your help!

    I am standing up a new clean install of the 2.2.4 software. I am using the NetXMS .csv importer and I have the config.properties configured and the .csv file of nodes. When I run the java -jar netxms-csv-importer.1.1.1.jar command it starts the import then throws a "Error: NXCException - Server uses incompatible version of communication protocol.

    Any help is appreciated.

    Russell

    1 Reply Last reply
    0
    • T
      T
      tomaskir
      wrote on last edited by
      #2

      Hi,

      The dependencies were outdated.
      I updated those and released a new version of the .csv importer.

      Please check the GitHub releases.

      1 Reply Last reply
      0
      • R
        R
        rsigley
        wrote on last edited by
        #3

        Thank you for the quick turn around. The protocols error has went away. When I run the .csv importer is throws several java errors. See below.

        c:\NetXMS\database>java -jar C:\NetXMS\database\netxms-csv-importer-1.1.1.jar
        Application starting.
        Loading configuration properties file.
        Loading nodes from the .csv file.
        Found 39 nodes in .csv file.
        Connecting to the NetXMS server.
        Exception in thread "main" java.lang.NoClassDefFoundError: org/netxms/base/Logge
        r
                at org.netxms.client.NXCSession.connect(NXCSession.java:1800)
                at org.netxms.client.NXCSession.connect(NXCSession.java:1777)
                at com.github.tomaskir.netxms.csvimporter.netxms.NetxmsConnector.connect
        (NetxmsConnector.java:28)
                at com.github.tomaskir.netxms.csvimporter.Application.main(Application.j
        ava:35)
        Caused by: java.lang.ClassNotFoundException: org.netxms.base.Logger
                at java.net.URLClassLoader.findClass(Unknown Source)
                at java.lang.ClassLoader.loadClass(Unknown Source)
                at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
                at java.lang.ClassLoader.loadClass(Unknown Source)
                ... 4 more

        c:\NetXMS\database>

        The nodes do not show in NETXMS. Thank you again for your help.

        Russell

        1 Reply Last reply
        0
        • A
          A
          Alex Kirhenshtein
          wrote on last edited by
          #4

          I just pushed correct 2.2.4 libraries to maven central. Try rebuilding tool.

          1 Reply Last reply
          0
          • T
            T
            tomaskir
            wrote on last edited by
            #5

            Importer 1.1.2 released, hopefully everything should work now.

            1 Reply Last reply
            0
            • G
              G
              glow
              wrote on last edited by
              #6

              Hi, installed netxms-3.0, trying to transfer nodes, it gives an error.
              java -jar netxms-csv-importer-1.1.2.jar
              Application starting.
              Loading configuration properties file.
              Loading nodes from the .csv file.
              Found 10 nodes in .csv file.
              Connecting to the NetXMS server.
              Error: NXCException - Несовместимая версия протокола обмена с сервером (server=[52, 3, 1, 1, 1, 25, 1, 2] client=[48, 2, 1, 1, 1, 12]).

              1 Reply Last reply
              0
              • T
                T
                tomaskir
                wrote on last edited by
                #7

                The csv importer v 1.1.2 was built with NetXMS v2 client libraries, this is why it didn't work.

                I have updated it and released 1.1.3, which is built with support for NetXMS v3.

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups