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. Development
  3. compilation error with java manage console

compilation error with java manage console

Scheduled Pinned Locked Moved Development
windows
4 Posts 2 Posters 37.2k 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.
  • F
    F
    forrestbf
    wrote on last edited by
    #1

    hi,geek.I am trying to compile java manage console.the project nxmc-networkmaps and nxmc-serviceview can't pass through,it looks like errors about Zest2.0,but i download the newest zest2.0 according to your advice.can you give me some more details.thank you!

    an error is can't import org.eclipse.zest.core.viewers

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi!

      Are you building RCP (desktop) console or web console? Also, please show exact error message.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • F
        F
        forrestbf
        wrote on last edited by
        #3

        Thank you for replying.I am building RCP (desktop) console.This is my first time to develop NetXMS.basicly I am a C++ programmer and I have maken agent behind NAT can connect server protively.But I am not very familier with java and eclipse.
        There is a strange thing I can't understand.The project nxmc-networkmaps and nxmc-serviceview can't find the lib org.eclipse.zest.core_2.0.0.201210200125.jar in the directory plugins automaticly.I have to add it into the projects manually and change the Access rules.
        After that I can build and run nxmc-core. But the eclipse control console show:
        !SESSION 2013-02-01 09:33:51.840 -----------------------------------------------
        eclipse.buildId=unknown
        java.version=1.7.0_01
        java.vendor=Oracle Corporation
        BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
        Framework arguments:  -product org.netxms.ui.eclipse.console.product en
        Command-line arguments:  -product org.netxms.ui.eclipse.console.product -data C:\Users\Administrator\workspace/../runtime-nxmc.product -dev file:C:/Users/Administrator/workspace/.metadata/.plugins/org.eclipse.pde.core/nxmc.product/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -data @user.home/.nxmc/data en

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:54.452
        !MESSAGE NLS unused message: ADAPTOR_DIRECTORY_REMOVE_EXCEPTION in: org.eclipse.osgi.internal.baseadaptor.ExternalMessages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:54.452
        !MESSAGE NLS unused message: ADAPTOR_ERROR_GETTING_MANIFEST in: org.eclipse.osgi.internal.baseadaptor.ExternalMessages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:54.452
        !MESSAGE NLS unused message: ADAPTOR_DATA_AREA_NOT_SET in: org.eclipse.osgi.internal.baseadaptor.ExternalMessages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:54.453
        !MESSAGE NLS unused message: BUNDLE_CLASSPATH_PROPERTIES_ERROR in: org.eclipse.osgi.internal.baseadaptor.ExternalMessages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.143
        !MESSAGE NLS unused message: ViewsPreference_currentPresentation in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.143
        !MESSAGE NLS unused message: ViewsPreference_currentPresentationFormat in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.143
        !MESSAGE NLS unused message: ViewsPreference_presentationConfirm_title in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.144
        !MESSAGE NLS unused message: ViewsPreference_presentationConfirm_message in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.144
        !MESSAGE NLS unused message: ViewsPreference_presentationConfirm_yes in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.144
        !MESSAGE NLS unused message: ViewsPreference_presentationConfirm_no in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.144
        !MESSAGE NLS unused message: ViewsPreference_editors in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.145
        !MESSAGE NLS unused message: ViewsPreference_editors_top in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.145
        !MESSAGE NLS unused message: ViewsPreference_editors_bottom in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.145
        !MESSAGE NLS unused message: ViewsPreference_views in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.145
        !MESSAGE NLS unused message: ViewsPreference_views_top in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.146
        !MESSAGE NLS unused message: ViewsPreference_views_bottom in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.146
        !MESSAGE NLS unused message: ViewsPreference_perspectiveBar in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.146
        !MESSAGE NLS unused message: ViewsPreference_perspectiveBar_topRight in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.147
        !MESSAGE NLS unused message: ViewsPreference_perspectiveBar_topLeft in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.147
        !MESSAGE NLS unused message: ViewsPreference_perspectiveBar_left in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.147
        !MESSAGE NLS unused message: ViewsPreference_traditionalTabs in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.147
        !MESSAGE NLS unused message: ViewsPreference_currentTheme in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.148
        !MESSAGE NLS unused message: ViewsPreference_currentThemeDescription in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.148
        !MESSAGE NLS unused message: ViewsPreference_override in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.148
        !MESSAGE NLS unused message: ViewsPreference_currentThemeFormat in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.osgi 2 1 2013-02-01 09:33:55.148
        !MESSAGE NLS unused message: ViewsPreference_restartRequestJobName in: org.eclipse.ui.internal.messages

        !ENTRY org.eclipse.e4.ui.workbench 4 0 2013-02-01 09:33:55.261
        !MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon

        !ENTRY org.eclipse.e4.ui.workbench 4 0 2013-02-01 09:33:55.262
        !MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon

        !ENTRY org.eclipse.e4.ui.workbench 4 0 2013-02-01 09:33:55.262
        !MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon

        !ENTRY org.eclipse.ui 4 0 2013-02-01 09:33:55.548
        !MESSAGE Unhandled event loop exception
        !STACK 0
        java.lang.NullPointerException
            at org.netxms.ui.eclipse.console.NXMCWorkbenchAdvisor.postStartup(NXMCWorkbenchAdvisor.java:124)
            at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
            at org.eclipse.ui.internal.Workbench.access$7(Workbench.java:2431)
            at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:586)
            at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
            at org.netxms.ui.eclipse.console.NXMCApplication.start(NXMCApplication.java:36)
            at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
            at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
            at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
            at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
        please give me some advices.Thanks.

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          Hi!

          The correct way of adding Zest (and other dependencies) is via Help->Install Software and correct download site. There are file called eclipse_addons.txt where all necessary add-ons with appropriate download sites listed.

          Best regards,
          Victor

          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