geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dillon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GSHELL-81) Depdendency on sun.* packages
Date Mon, 19 Nov 2007 10:50:43 GMT

     [ https://issues.apache.org/jira/browse/GSHELL-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Dillon updated GSHELL-81:
-------------------------------

    Description: 
It seems that GShell is currently unable to run without the sun.* packages in the classloader.
The reason is that it uses xstream advanced mode which make use of these packages.
If these packages are not on the classpath, xstream will default to the pure java reflection
provider which will cause exceptions like the following:

{noformat}
Caused by: com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.apache.geronimo.gshell.layout.model.CommandNode
as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct org.apache.geronimo.gshell.layout.model.CommandNode
as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct org.apache.geronimo.gshell.layout.model.CommandNode
as it does not have a no-args constructor
class               : org.apache.geronimo.gshell.layout.model.Layout
required-type       : org.apache.geronimo.gshell.layout.model.CommandNode
path                : /layout/nodes/command
-------------------------------
{noformat}

I'm not sure if this is a good idea or if we should support that pure java mode...



  was:
It seems that GShell is currently unable to run without the sun.* packages in the classloader.
The reason is that it uses xstream advanced mode which make use of these packages.
If these packages are not on the classpath, xstream will default to the pure java reflection
provider which will cause exceptions like the following:

Caused by: com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.apache.geronimo.gshell.layout.model.CommandNode
as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct org.apache.geronimo.gshell.layout.model.CommandNode
as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct org.apache.geronimo.gshell.layout.model.CommandNode
as it does not have a no-args constructor
class               : org.apache.geronimo.gshell.layout.model.Layout
required-type       : org.apache.geronimo.gshell.layout.model.CommandNode
path                : /layout/nodes/command
-------------------------------

I'm not sure if this is a good idea or if we should support that pure java mode...




> Depdendency on sun.* packages
> -----------------------------
>
>                 Key: GSHELL-81
>                 URL: https://issues.apache.org/jira/browse/GSHELL-81
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Core
>            Reporter: Guillaume Nodet
>            Assignee: Jason Dillon
>             Fix For: 1.0-alpha-2
>
>
> It seems that GShell is currently unable to run without the sun.* packages in the classloader.
> The reason is that it uses xstream advanced mode which make use of these packages.
> If these packages are not on the classpath, xstream will default to the pure java reflection
provider which will cause exceptions like the following:
> {noformat}
> Caused by: com.thoughtworks.xstream.converters.ConversionException: Cannot construct
org.apache.geronimo.gshell.layout.model.CommandNode as it does not have a no-args constructor
> ---- Debugging information ----
> message             : Cannot construct org.apache.geronimo.gshell.layout.model.CommandNode
as it does not have a no-args constructor
> cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
> cause-message       : Cannot construct org.apache.geronimo.gshell.layout.model.CommandNode
as it does not have a no-args constructor
> class               : org.apache.geronimo.gshell.layout.model.Layout
> required-type       : org.apache.geronimo.gshell.layout.model.CommandNode
> path                : /layout/nodes/command
> -------------------------------
> {noformat}
> I'm not sure if this is a good idea or if we should support that pure java mode...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message