Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SWT and logging
#1
Hi,

When I try to build the project from eclipse, it shows me some errors. 
(java.lang.UnsatisfiedLinkError: no aereg in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at org.gudy.azureus2.platform.win32.access.impl.AEWin32AccessInterface.<clinit>(AEWin32AccessInterface.java:65)
    at org.gudy.azureus2.platform.win32.access.impl.AEWin32AccessImpl.isEnabled(AEWin32AccessImpl.java:81)
    at org.gudy.azureus2.platform.win32.access.impl.AEWin32AccessImpl.<init>(AEWin32AccessImpl.java:72)
    at org.gudy.azureus2.platform.win32.access.impl.AEWin32AccessImpl.getSingleton(AEWin32AccessImpl.java:54)
    at org.gudy.azureus2.platform.win32.access.AEWin32Manager.getAccessor(AEWin32Manager.java:36)
    at org.gudy.azureus2.platform.win32.PlatformManagerImpl.<init>(PlatformManagerImpl.java:161)
    at org.gudy.azureus2.platform.win32.PlatformManagerImpl.getSingleton(PlatformManagerImpl.java:112)
    at org.gudy.azureus2.platform.PlatformManagerFactory.getPlatformManager(PlatformManagerFactory.java:57)
    at org.gudy.azureus2.core3.util.SystemProperties.getUserPath(SystemProperties.java:271)
    at org.gudy.azureus2.core3.util.FileUtil.readResilientConfigFile(FileUtil.java:687)
    at org.gudy.azureus2.core3.config.impl.ConfigurationManager.load(ConfigurationManager.java:178)
    at org.gudy.azureus2.core3.config.impl.ConfigurationManager.load(ConfigurationManager.java:230)
    at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance(ConfigurationManager.java:100)
    at org.gudy.azureus2.core3.logging.impl.LoggerImpl.init(LoggerImpl.java:87)
    at org.gudy.azureus2.core3.logging.Logger.<clinit>(Logger.java:45)
    at org.gudy.azureus2.ui.swt.StartServer.<init>(StartServer.java:76)
    at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:83)
    at org.gudy.azureus2.ui.swt.Main.main(Main.java:334)
    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 com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:34)
    at java.lang.Thread.run(Unknown Source)
This is BAD - fix me!
java.lang.Throwable
    at org.gudy.azureus2.core3.util.SystemProperties.getDocPath(SystemProperties.java:499)
    at org.gudy.azureus2.core3.config.impl.ConfigurationDefaults.<init>(ConfigurationDefaults.java:269)
    at org.gudy.azureus2.core3.config.impl.ConfigurationDefaults.getInstance(ConfigurationDefaults.java:101)
    at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getBooleanParameter(ConfigurationManager.java:334)
    at org.gudy.azureus2.core3.config.COConfigurationManager.getBooleanParameter(COConfigurationManager.java:312)
    at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.checkConfiguration(ConfigurationChecker.java:383)
    at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise(ConfigurationManager.java:167)
    at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance(ConfigurationManager.java:102)
    at org.gudy.azureus2.core3.logging.impl.LoggerImpl.init(LoggerImpl.java:87)
    at org.gudy.azureus2.core3.logging.Logger.<clinit>(Logger.java:45)
    at org.gudy.azureus2.ui.swt.StartServer.<init>(StartServer.java:76)
    at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:83)
    at org.gudy.azureus2.ui.swt.Main.main(Main.java:334)
    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 com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:34)
    at java.lang.Thread.run(Unknown Source)
DEBUG::Thu Mar 17 21:16:03 GST 2016  BC Provider 'BC_VUZE' initialised successfully (loaded from file:/D:/workspace/AZ-SVN/bin/org/bouncycastle/jce/provider/BouncyCastleProvider.class)
changeLocale: *Default Language* != English (United States). Searching without country..
changeLocale: Searching for language English in *any* country..
changeLocale: no message properties for Locale 'English (United States)' (en_US), using 'English (default)'
DEBUG::Thu Mar 17 21:16:03 GST 2016::org.gudy.azureus2.ui.swt.mainwindow.SWTThread::createInstance::61:
  Loading SWT Libraries failed. Typical causes:

(1) swt.jar is not for your os architecture (x86).  You can get a new swt.jar (Min Version: 3.6) from http://eclipse.org/swt

(2) No write access to 'C:\Users\ROKIB\AppData\Local\Temp\'. SWT will extract libraries contained in the swt.jar to this dir.

    Initializer
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
    no swt-carbon-3655 in java.library.path
    no swt-carbon in java.library.path
    Can't load library: C:\Users\ROKIB\AppData\Local\Temp\swtlib-32\swt-carbon-3655.dll
    Can't load library: C:\Users\ROKIB\AppData\Local\Temp\swtlib-32\swt-carbon.dll

    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:267)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174)
    at org.eclipse.swt.internal.C.<clinit>(C.java:21)
    at org.eclipse.swt.widgets.Display.createDisplay(Display.java:1062)
    at org.eclipse.swt.widgets.Display.create(Display.java:1056)
    at org.eclipse.swt.graphics.Device.<init>(Device.java:125)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:827)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:818)
    at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:88)
    at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:61)
    at com.aelitis.azureus.ui.swt.Initializer.<init>(Initializer.java:160)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:111)
    at org.gudy.azureus2.ui.swt.Main.main(Main.java:334)
    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 com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:34)
    at java.lang.Thread.run(Unknown Source)
DEBUG::Thu Mar 17 21:16:03 GST 2016::com.aelitis.azureus.ui.swt.Initializer::stopIt::652:
    <init> (SWTThread.java:117), createInstance (SWTThread.java:61), Initializer
java.lang.NullPointerException
    at com.aelitis.azureus.ui.swt.Initializer.stopIt(Initializer.java:650)
    at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:117)
    at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:61)
    at com.aelitis.azureus.ui.swt.Initializer.<init>(Initializer.java:160)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:111)
    at org.gudy.azureus2.ui.swt.Main.main(Main.java:334)
    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 com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:34)
    at java.lang.Thread.run(Unknown Source)
core.stop
core.stop done in 31
)
It is not able to build the executable because of this. Furthermore, there are some swt errors even though I linked it to the right swt.jar file.
Can someone please help with this
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Crash (within swt?) Anselm 6 3,981 10-01-2014, 12:22 PM
Last Post: Anselm



Users browsing this thread: 1 Guest(s)