-
Bug
-
Resolution: Fixed
-
High
-
None
-
None
-
None
-
CentOS 64 bits
jna 3.4.0
FishEye 2.8
Trying to add an existing Git repository with an existing private key. When I upload the private key, the following stack trace is written in the log, and a 0-byte file named 'tmp' is written in $FISHEYE_INST/data/auth
2012-09-03 13:02:32,914 ERROR [btpool0-9 ] mortbay.log Slf4jLog-warn - Error for /admin/servlet.gupld java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native at com.cenqua.fisheye.util.FileSystemUtils.privatise(FileSystemUtils.java:81) at com.atlassian.fecru.security.SshKeyManagerImpl.createPrivateKeyFile(SshKeyManagerImpl.java:97)
And
2012-09-03 18:16:33,909 ERROR [btpool0-10 ] fisheye.app LoggingRPCServiceImpl-error - Could not save private key: POSIX c library "c" was not found
There seems to be a problem with the use of jna 3.4.0 on CentOS (this is not happening on Ubuntu)
Workaround is to replace FISHEYE_HOME/lib/jna-3.4.0.jar with jna-3.2.3.jar that came with FishEye 2.7.15 or to upgrade to jna 3.4.2 that can be downloaded from https://github.com/twall/jna/blob/3.4.2/dist/jna.jar?raw=true
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
-
Bug
-
Resolution: Fixed
-
High
-
None
-
None
-
None
-
CentOS 64 bits
jna 3.4.0
FishEye 2.8
Trying to add an existing Git repository with an existing private key. When I upload the private key, the following stack trace is written in the log, and a 0-byte file named 'tmp' is written in $FISHEYE_INST/data/auth
2012-09-03 13:02:32,914 ERROR [btpool0-9 ] mortbay.log Slf4jLog-warn - Error for /admin/servlet.gupld java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native at com.cenqua.fisheye.util.FileSystemUtils.privatise(FileSystemUtils.java:81) at com.atlassian.fecru.security.SshKeyManagerImpl.createPrivateKeyFile(SshKeyManagerImpl.java:97)
And
2012-09-03 18:16:33,909 ERROR [btpool0-10 ] fisheye.app LoggingRPCServiceImpl-error - Could not save private key: POSIX c library "c" was not found
There seems to be a problem with the use of jna 3.4.0 on CentOS (this is not happening on Ubuntu)
Workaround is to replace FISHEYE_HOME/lib/jna-3.4.0.jar with jna-3.2.3.jar that came with FishEye 2.7.15 or to upgrade to jna 3.4.2 that can be downloaded from https://github.com/twall/jna/blob/3.4.2/dist/jna.jar?raw=true