[Logo] JCVSForum - Community Support For JCVS Users and Developers
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Null Pointer Exception  XML
Forum Index » JCVS Developers
Author Message
lgy



Joined: 13/08/2004 00:58:11
Messages: 8
Offline

I am making code using jcvsii pakage.
I am starting by reading the CheckoutPanel.java.
I did all initialization which is in JCVS and then called performCheckOut.
Some errer was made.

Assuming a Windows platform.
Loaded default preferences from '/com/ice/jcvsii/defaults.properties'
Loaded user preferences from 'C:\Documents and Settings\gylee\jcvsii.txt'
Loaded resource bundle 'com.ice.jcvsii.rsrcui'.
Loaded config editor specification from '/com/ice/jcvsii/configspec.properties'
Loaded default server definitions from '/com/ice/jcvsii/servers.properties'
Using default mime types definition.
Using default mailcap definition.
No user server definitions found at 'C:\Documents and
Settings\gylee\jcvsdef.txt'
java.lang.NullPointerException
at java.net.Socket.<init>(Socket.java:283)
at java.net.Socket.<init>(Socket.java:119)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3419)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:77)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)

Socket.java:283
if (address == null)
throw new NullPointerException();

I checked client and request variables, which have a hostname.
Plz help me.

part of the source.
Config cfg = Config.getInstance();
cfg.initializePreferences( "jcvsii." );
UserPrefs prefs = cfg.getPreferences();
cfg.loadDefaultPreferences();
cfg.loadUserPreferences();
CVSRequest request = new CVSRequest();
ResourceMgr.initializeResourceManager( "jcvsii" );
ResourceMgr rmgr = ResourceMgr.getInstance();
cfg.loadConfigEditorSpecification();

if ( prefs.getBoolean( Config.GLOBAL_LOAD_SERVERS, false ) )
{
cfg.loadDefaultServerDefinitions();
}
cfg.loadMimeTypes();
cfg.loadMailCap();
cfg.loadUserServerDefinitions();
cfg.initializeGlobalProperties();
String tzPropStr =
prefs.getProperty( Config.GLOBAL_CVS_TIMEZONE, null );

if ( tzPropStr != null )
{
CVSTimestampFormat.setTimeZoneID( tzPropStr );
}

//String argumentStr = info.getArguments();
String userName = "xxxxx";
String passWord = "xxxxx";
String hostname = "xxx.xxx.xxx";
String repository = "/cvs";
String rootDirectory = "xxx";

String localDirectory = "f:\temp";

boolean isPServer = true;
boolean listingModules = false;

/*
* CVSRequest.METHOD_INETD = pserver(true) direct(ispserver=false)
CVSRequest.METHOD_SSH
CVSRequest.METHOD_RSH
*/
int connMethod = CVSRequest.METHOD_SSH;

int cvsPort = 2401;
// CVSUtilities.computePortNum( hostname, connMethod, isPServer );

CVSArgumentVector arguments =
CVSArgumentVector.parseArgumentString( "" );



String checkOutCommand =
prefs.getProperty
( "global.checkOutCommand", ":co:N:ANP:deou:" );

if ( ! request.parseControlString( checkOutCommand ) ) {

String [] fmtArgs =
{ checkOutCommand, request.getVerifyFailReason() };
String msg = rmgr.getUIFormat("checkout.cmd.parse.failed.msg", fmtArgs );
String title = rmgr.getUIString("checkout.cmd.parse.failed.title" );

return;
}

//
// DO IT
//
CVSEntryVector entries = new CVSEntryVector();

if ( ! listingModules )
{
arguments.appendArgument( repository );
}

this.client = CVSUtilities.createCVSClient( hostname, cvsPort );
CVSProject project = new CVSProject( this.client );

CVSProjectDef projectDef = new CVSProjectDef
( connMethod, isPServer, false,
hostname, userName, rootDirectory, repository );

project.setProjectDef( projectDef );

project.setUserName( userName );

project.setTempDirectory( cfg.getTemporaryDirectory() );
project.setRepository( repository );
project.setRootDirectory( rootDirectory );
project.setLocalRootDirectory( localDirectory );
project.setPServer( isPServer );
project.setConnectionPort( cvsPort );
project.setConnectionMethod( connMethod );

project.setSetVariables
( CVSUtilities.getUserSetVariables( hostname ) );

project.setServerCommand(
CVSUtilities.establishServerCommand
( hostname, connMethod, isPServer ) );

project.setAllowsGzipFileMode
( prefs.getBoolean( Config.GLOBAL_ALLOWS_FILE_GZIP, false ) );

project.setGzipStreamLevel
( prefs.getInteger( Config.GLOBAL_GZIP_STREAM_LEVEL, 0 ) );
request.setEntries( entries );

request.appendArguments( arguments );

request.setUserInterface( null ); //lgy

CVSResponse response = new CVSResponse();

CVSThread thread =
new CVSThread
( "CheckOut",
this.new MyRunner
( project, this.client,
request, response, listingModules ),
this.new MyMonitor
( request, response, listingModules ) );

thread.start();

This message was edited 1 time. Last update was at 13/08/2004 04:27:10

[Email]
time


[Avatar]

Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok
Offline

Your confusion comes from the "redundancy" of fields between CVSProject and
CVSRequest. This redundancy comes from the fact that sometimes CVSRequest can be
used separate from CVSProject, while somtimes CVSProject is used to drive
CVSRequest.

If you look at the line involved in CVSRequest, it looks like this:


Thus, I think your problem lies in the fact that you are not setting the
hostname and port in the CVSRequest object.

This message was edited 1 time. Last update was at 15/08/2004 02:48:19

[Email] [WWW]
lgy



Joined: 13/08/2004 00:58:11
Messages: 8
Offline

Awfully Sorry for my mistake.
I was confused.

I set valid values to 'request' and ran.
And then the following error was made.
In all the modes, CVSRequest.METHOD_INETD, CVSRequest.METHOD_SSH and
CVSRequest.METHOD_RSH, the program don't work well.

The 'ClassPath' have jcvsii.jar, activation.jar, commons-logging.jar,
j2ssh-common.jar, j2ssh-core.jar,jh.jar.


2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì •ë³´: Loading supported cipher algorithms
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì •ë³´: Failed to load ciphers
java.lang.NullPointerException
at com.sshtools.j2ssh.transport.cipher.SshCipherFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.kex.SshKeyExchangeFactory <clinit>
ì •ë³´: Loading key exchange methods
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory <clinit>
ì •ë³´: Loading public key algorithms
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì •ë³´: Loading compression methods
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì •ë³´: Failed to load compression algorithms
java.lang.NullPointerException
at
com.sshtools.j2ssh.transport.compression.SshCompressionFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.hmac.SshHmacFactory
<clinit>
ì •ë³´: Loading message authentication methods
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
startTransportProtocol
ì •ë³´: Starting transport protocol
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
ì •ë³´: Registering transport protocol messages with inputstream
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
심�: The Transport Protocol thread failed
com.sshtools.j2ssh.transport.AlgorithmNotSupportedException: Algorithm DH not
available
at com.sshtools.j2ssh.transport.kex.DhGroup1Sha1.onInit(Unknown Source)
at com.sshtools.j2ssh.transport.kex.SshKeyExchange.init(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
[Email]
time


[Avatar]

Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok
Offline

What JVM are you using?
I believe that JDK1.4 or better is required.
[Email] [WWW]
Anonymous



lgy wrote:Awfully Sorry for my mistake.
I was confused.

I set valid values to 'request' and ran.
And then the following error was made.
In all the modes, CVSRequest.METHOD_INETD, CVSRequest.METHOD_SSH and
CVSRequest.METHOD_RSH, the program don't work well.

The 'ClassPath' have jcvsii.jar, activation.jar, commons-logging.jar,
j2ssh-common.jar, j2ssh-core.jar,jh.jar.


2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì •ë³´: Loading supported cipher algorithms
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì •ë³´: Failed to load ciphers
java.lang.NullPointerException
at com.sshtools.j2ssh.transport.cipher.SshCipherFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.kex.SshKeyExchangeFactory <clinit>
ì •ë³´: Loading key exchange methods
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory <clinit>
ì •ë³´: Loading public key algorithms
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì •ë³´: Loading compression methods
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì •ë³´: Failed to load compression algorithms
java.lang.NullPointerException
at
com.sshtools.j2ssh.transport.compression.SshCompressionFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.hmac.SshHmacFactory
<clinit>
ì •ë³´: Loading message authentication methods
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
startTransportProtocol
ì •ë³´: Starting transport protocol
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
ì •ë³´: Registering transport protocol messages with inputstream
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
심�: The Transport Protocol thread failed
com.sshtools.j2ssh.transport.AlgorithmNotSupportedException: Algorithm DH not
available
at com.sshtools.j2ssh.transport.kex.DhGroup1Sha1.onInit(Unknown Source)
at com.sshtools.j2ssh.transport.kex.SshKeyExchange.init(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)

time


[Avatar]

Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok
Offline

I am no expert on SSH, and I have no idea why J2SSH is complaining that there is "no DH implementation". I will try to remember to look into this.

[todo]
[Email] [WWW]
time


[Avatar]

Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok
Offline

Another user reported this problem. In their case, they were using port 2401 instead of the SSH port 22. Please try changing the port number being used to 22 and see if this fixes the problem.
[Email] [WWW]
Anonymous



Anonymous wrote:
lgy wrote:Awfully Sorry for my mistake.
I was confused.

I set valid values to 'request' and ran.
And then the following error was made.
In all the modes, CVSRequest.METHOD_INETD, CVSRequest.METHOD_SSH and
CVSRequest.METHOD_RSH, the program don't work well.

The 'ClassPath' have jcvsii.jar, activation.jar, commons-logging.jar,
j2ssh-common.jar, j2ssh-core.jar,jh.jar.


2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì •ë³´: Loading supported cipher algorithms
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì •ë³´: Failed to load ciphers
java.lang.NullPointerException
at com.sshtools.j2ssh.transport.cipher.SshCipherFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.kex.SshKeyExchangeFactory <clinit>
ì •ë³´: Loading key exchange methods
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory <clinit>
ì •ë³´: Loading public key algorithms
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì •ë³´: Loading compression methods
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì •ë³´: Failed to load compression algorithms
java.lang.NullPointerException
at
com.sshtools.j2ssh.transport.compression.SshCompressionFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.hmac.SshHmacFactory
<clinit>
ì •ë³´: Loading message authentication methods
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
startTransportProtocol
ì •ë³´: Starting transport protocol
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
ì •ë³´: Registering transport protocol messages with inputstream
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
심�: The Transport Protocol thread failed
com.sshtools.j2ssh.transport.AlgorithmNotSupportedException: Algorithm DH not
available
at com.sshtools.j2ssh.transport.kex.DhGroup1Sha1.onInit(Unknown Source)
at com.sshtools.j2ssh.transport.kex.SshKeyExchange.init(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)

Anonymous



Anonymous wrote:
lgy wrote:Awfully Sorry for my mistake.
I was confused.

I set valid values to 'request' and ran.
And then the following error was made.
In all the modes, CVSRequest.METHOD_INETD, CVSRequest.METHOD_SSH and
CVSRequest.METHOD_RSH, the program don't work well.

The 'ClassPath' have jcvsii.jar, activation.jar, commons-logging.jar,
j2ssh-common.jar, j2ssh-core.jar,jh.jar.


2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì •ë³´: Loading supported cipher algorithms
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì •ë³´: Failed to load ciphers
java.lang.NullPointerException
at com.sshtools.j2ssh.transport.cipher.SshCipherFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.kex.SshKeyExchangeFactory <clinit>
ì •ë³´: Loading key exchange methods
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory <clinit>
ì •ë³´: Loading public key algorithms
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì •ë³´: Loading compression methods
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì •ë³´: Failed to load compression algorithms
java.lang.NullPointerException
at
com.sshtools.j2ssh.transport.compression.SshCompressionFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.hmac.SshHmacFactory
<clinit>
ì •ë³´: Loading message authentication methods
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
startTransportProtocol
ì •ë³´: Starting transport protocol
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
ì •ë³´: Registering transport protocol messages with inputstream
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
심�: The Transport Protocol thread failed
com.sshtools.j2ssh.transport.AlgorithmNotSupportedException: Algorithm DH not
available
at com.sshtools.j2ssh.transport.kex.DhGroup1Sha1.onInit(Unknown Source)
at com.sshtools.j2ssh.transport.kex.SshKeyExchange.init(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)

Anonymous



Anonymous wrote:
lgy wrote:Awfully Sorry for my mistake.
I was confused.

I set valid values to 'request' and ran.
And then the following error was made.
In all the modes, CVSRequest.METHOD_INETD, CVSRequest.METHOD_SSH and
CVSRequest.METHOD_RSH, the program don't work well.

The 'ClassPath' have jcvsii.jar, activation.jar, commons-logging.jar,
j2ssh-common.jar, j2ssh-core.jar,jh.jar.


2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì •ë³´: Loading supported cipher algorithms
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì •ë³´: Failed to load ciphers
java.lang.NullPointerException
at com.sshtools.j2ssh.transport.cipher.SshCipherFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.kex.SshKeyExchangeFactory <clinit>
ì •ë³´: Loading key exchange methods
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory <clinit>
ì •ë³´: Loading public key algorithms
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì •ë³´: Loading compression methods
2004. 8. 17. 오후 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì •ë³´: Failed to load compression algorithms
java.lang.NullPointerException
at
com.sshtools.j2ssh.transport.compression.SshCompressionFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.hmac.SshHmacFactory
<clinit>
ì •ë³´: Loading message authentication methods
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
startTransportProtocol
ì •ë³´: Starting transport protocol
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
ì •ë³´: Registering transport protocol messages with inputstream
2004. 8. 17. 오후 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
심�: The Transport Protocol thread failed
com.sshtools.j2ssh.transport.AlgorithmNotSupportedException: Algorithm DH not
available
at com.sshtools.j2ssh.transport.kex.DhGroup1Sha1.onInit(Unknown Source)
at com.sshtools.j2ssh.transport.kex.SshKeyExchange.init(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)

time


[Avatar]

Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok
Offline

Please refer to this thread:
http://www.jcvs.org/jcvsforum/posts/list/0/1642.page#3874
[Email] [WWW]
Anonymous



lgy wrote:Awfully Sorry for my mistake.
I was confused.
uturtu
I set valid values to 'request' and ran.
And then the followingtyrut error was made.
In all the modes, CVSRequest.METHOD_INETD, CVSRequest.METHOD_SSH and
CVSRequest.METHOD_RSH, the program don't work well.

The 'ClassPath' have jcvsii.jar, activation.jar, commons-logging.jar,
j2ssh-common.jar, j2ssh-core.jar,jh.jar.


2004. 8. 17. ì?¤í?? 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì ?ë³´: Loading supported cipher algorithms
2004. 8. 17. ì?¤í?? 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì ?ë³´: Failed to load ciphers
java.lang.NullPointerException
at com.sshtools.j2ssh.transport.cipher.SshCipherFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClieiguunt.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. ì?¤í?? 3:45:30
com.sshtools.j2ssh.transport.kex.SshKeyExchangeFactory <clinit>
ì ?ë³´: Loading key exchange methods
2004. 8. 17. ì?¤í?? 3:45:30
com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory <clinit>
ì ?ë³´: Loading public key algorithms
2004. 8. 17. ì?¤í?? 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì ?ë³´: Loading compression methods
2004. 8. 17. ì?¤í?? 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì ?ë³´: Failed to load compression algorithms
java.lang.NullPointerException
at
com.sshtools.j2ssh.transport.compression.SshCompressionFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. ì?¤í?? 3:45:30 com.sshtools.j2ssh.transport.hmac.SshHmacFactory
<clinit>
ì ?ë³´: Loading message authentication methods
2004. 8. 17. ì?¤í?? 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
startTransportProtocol
ì ?ë³´: Starting transport protocol
2004. 8. 17. ì?¤í?? 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
ì ?ë³´: Registering transport protocol messages with inputstream
2004. 8. 17. ì?¤í?? 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
��: The Transport Protocol thread failed
com.sshtools.j2ssh.transport.AlgorithmNotSupportedException: Algorithm DH not
available
at com.sshtools.j2ssh.transport.kex.DhGroup1Sha1.onInit(Unknown Source)
at com.sshtools.j2ssh.transport.kex.SshKeyExchange.init(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
Anonymous



blablabla,jh.jar.


2004. 8. 17. ì?¤í?? 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì ?ë³´: Loading supported cipher algorithms
2004. 8. 17. ì?¤í?? 3:45:30 com.sshtools.j2ssh.transport.cipher.SshCipherFactory
<clinit>
ì ?ë³´: Failed to load ciphers
java.lang.NullPointerException
at com.sshtools.j2ssh.transport.cipher.SshCipherFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClieiguunt.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. ì?¤í?? 3:45:30
com.sshtools.j2ssh.transport.kex.SshKeyExchangeFactory <clinit>
ì ?ë³´: Loading key exchange methods
2004. 8. 17. ì?¤í?? 3:45:30
com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory <clinit>
ì ?ë³´: Loading public key algorithms
2004. 8. 17. ì?¤í?? 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì ?ë³´: Loading compression methods
2004. 8. 17. ì?¤í?? 3:45:30
com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
ì ?ë³´: Failed to load compression algorithms
java.lang.NullPointerException
at
com.sshtools.j2ssh.transport.compression.SshCompressionFactory.<clinit>(Unknown
Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown
Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at AddressBookUI$MyRunner.run(AddressBookUI.java:79)
at com.ice.jcvsii.CVSThread.run(CVSThread.java:42)
2004. 8. 17. ì?¤í?? 3:45:30 com.sshtools.j2ssh.transport.hmac.SshHmacFactory
<clinit>
ì ?ë³´: Loading message authentication methods
2004. 8. 17. ì?¤í?? 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
startTransportProtocol
ì ?ë³´: Starting transport protocol
2004. 8. 17. ì?¤í?? 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
ì ?ë³´: Registering transport protocol messages with inputstream
2004. 8. 17. ì?¤í?? 3:45:30 com.sshtools.j2ssh.transport.TransportProtocolCommon
run
��: The Transport Protocol thread failed
com.sshtools.j2ssh.transport.AlgorithmNotSupportedException: Algorithm DH not
available
at com.sshtools.j2ssh.transport.kex.DhGroup1Sha1.onInit(Unknown Source)
at com.sshtools.j2ssh.transport.kex.SshKeyExchange.init(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
 
Forum Index » JCVS Developers
Go to:   
Powered by JForum 2.1.9 © JForum Team