You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Mathias Kaufmann (JIRA)" <ji...@apache.org> on 2009/03/17 22:33:50 UTC

[jira] Created: (DIRSTUDIO-475) Error java.lang.reflect.InvocationTargetException with IPv6 Addresses

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.


[jira] Commented: (DIRSTUDIO-475) Error java.lang.reflect.InvocationTargetException with IPv6 Addresses

Posted by "Stefan Seelmann (JIRA)" <ji...@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.


[jira] Resolved: (DIRSTUDIO-475) Error java.lang.reflect.InvocationTargetException with IPv6 Addresses

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann resolved DIRSTUDIO-475.
---------------------------------------

    Resolution: Cannot Reproduce

Hi Mathias,

I can't repoduce your problem. I was able to connect to localhost and to a virtual machine over IPv6. 

Please try again with Studio 1.4.0, it will be release next week. At least you should get a better error message. If so please just reopen this Jira.

Regards,
Stefan

> 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.


[jira] Closed: (DIRSTUDIO-475) Error java.lang.reflect.InvocationTargetException with IPv6 Addresses

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot closed DIRSTUDIO-475.
--------------------------------------------


> 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.