Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 4166 invoked from network); 17 Mar 2009 22:26:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2009 22:26:14 -0000 Received: (qmail 42966 invoked by uid 500); 17 Mar 2009 22:26:14 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 42927 invoked by uid 500); 17 Mar 2009 22:26:14 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 42913 invoked by uid 99); 17 Mar 2009 22:26:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 15:26:14 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 22:26:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D824C234C044 for ; Tue, 17 Mar 2009 15:25:50 -0700 (PDT) Message-ID: <687680781.1237328750882.JavaMail.jira@brutus> Date: Tue, 17 Mar 2009 15:25:50 -0700 (PDT) From: "Stefan Seelmann (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSTUDIO-475) Error java.lang.reflect.InvocationTargetException with IPv6 Addresses In-Reply-To: <207445117.1237325630461.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSTUDIO-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682831#action_12682831 ] Stefan Seelmann commented on DIRSTUDIO-475: ------------------------------------------- You need to use square brackets around the IPv6 address. I was able to connect at least to localhost using [::1] and [fe80::21e:37ff:fe22:f1af]. I tested with Sun 1.5.0, Sun 1.6.0 and OpenJDK 6b12-0ubuntu6.1. Unfortunately in 1.3.0 the error handling is bad and you only get this "InvocationTargetException" but not the real error, in 1.4.0 the error handling is changed. > Error java.lang.reflect.InvocationTargetException with IPv6 Addresses > --------------------------------------------------------------------- > > Key: DIRSTUDIO-475 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-475 > Project: Directory Studio > Issue Type: Bug > Components: studio-connection > Affects Versions: 1.3.0 > Environment: Debian Lenny with OpenJDK > java -version gives: > java version "1.6.0_0" > OpenJDK Runtime Environment (IcedTea6 1.5pre) (6b14-1.5~pre1-3) > OpenJDK Server VM (build 14.0-b10, mixed mode) > Apache Directory Studio 1.3.0 > Reporter: Mathias Kaufmann > > When creating a Connection to a LDAP-Server with an IPv6-Address gives a "java.lang.reflect.InvocationTargetException"-Error-Message when doing "Check Network Parameters". Using a DNS-FQDN which resolves to the same IPv6-Address anything is ok. > When trying to connect to the server with an IPv6-Address entered in the Connection-Setup the first Address-Block is ignored and the connection fails to establish. > Trying with the IPv6-Address in square brackets doesn't work either. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.