Uploaded image for project: 'BuildTools'
  1. BuildTools
  2. BUILDTOOLS-114

Test run failure - Can't obtain static newInstance method for class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
    • Environment:

      Description

      When running commando:
      java -jar BuildTools.jar
      it stops at:
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.288 sec <<< FA
      ILURE! - in org.bukkit.craftbukkit.inventory.ItemFactoryTest
      testKnownAttributes(org.bukkit.craftbukkit.inventory.ItemFactoryTest) Time elap
      sed: 0.288 sec <<< ERROR!
      java.lang.UnsatisfiedLinkError: Can't obtain static newInstance method for class
      com.sun.jna.Structure
      at com.sun.jna.Native.initIDs(Native Method)
      at com.sun.jna.Native.<clinit>(Native.java:135)
      at com.sun.jna.Pointer.<clinit>(Pointer.java:42)
      at com.sun.jna.platform.win32.WinReg$HKEY.<init>(WinReg.java:32)
      at com.sun.jna.platform.win32.WinReg.<clinit>(WinReg.java:61)
      at oshi.software.os.windows.WindowsHardwareAbstractionLayer.getProcessor
      s(WindowsHardwareAbstractionLayer.java:33)
      at net.minecraft.server.SystemUtils.<clinit>(SourceFile:16)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at org.bukkit.craftbukkit.inventory.ItemFactoryTest.testKnownAttributes(
      ItemFactoryTest.java:31)

      See attachment for full log.

      NOTE: Ignore Version as i just had to fill something in to be able to create this ticket, might wanna remove that as mandatory as I dont get how to get it out off buildtools, gives error.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            davveh David Lisborg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: