You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jamie goodyear (JIRA)" <ji...@apache.org> on 2008/10/24 16:33:44 UTC

[jira] Created: (GSHELL-121) IllegalArgumentException thrown in LogginProcessorTest

IllegalArgumentException thrown in LogginProcessorTest
------------------------------------------------------

                 Key: GSHELL-121
                 URL: https://issues.apache.org/jira/browse/GSHELL-121
             Project: GShell
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 1.0-alpha-2
         Environment: AIX v5.3
IBM JDK 1.5
            Reporter: Jamie goodyear
            Assignee: Jason Dillon


IllegalArgumentException thrown in LogginProcessorTest.

When running build tests for gshell alpha-2 I get testprocessor(org.apache.geronimo.gshell.spring.LogginProcessorTest) <<< fail.

The logs indicates a java.lang.IllegalArgumentException: not support: indent-number.

After some research this issue appears to be common. The solution tends to be to wrap calls to setAttribute and setOutputProperty with try/catch (IllegalArgumentException).

I'll submit a patch for this issue.

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


[jira] Closed: (GSHELL-121) IllegalArgumentException thrown in LogginProcessorTest

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

Jason Dillon closed GSHELL-121.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0-alpha-2

Thanks!

> IllegalArgumentException thrown in LogginProcessorTest
> ------------------------------------------------------
>
>                 Key: GSHELL-121
>                 URL: https://issues.apache.org/jira/browse/GSHELL-121
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 1.0-alpha-2
>         Environment: AIX v5.3
> IBM JDK 1.5
>            Reporter: Jamie goodyear
>            Assignee: Jason Dillon
>             Fix For: 1.0-alpha-2
>
>         Attachments: gshell-121.txt
>
>
> IllegalArgumentException thrown in LogginProcessorTest.
> When running build tests for gshell alpha-2 I get testprocessor(org.apache.geronimo.gshell.spring.LogginProcessorTest) <<< fail.
> The logs indicates a java.lang.IllegalArgumentException: not support: indent-number.
> After some research this issue appears to be common. The solution tends to be to wrap calls to setAttribute and setOutputProperty with try/catch (IllegalArgumentException).
> I'll submit a patch for this issue.

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


[jira] Updated: (GSHELL-121) IllegalArgumentException thrown in LogginProcessorTest

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

Jamie goodyear updated GSHELL-121:
----------------------------------

    Attachment: gshell-121.txt

See attachment: gshell-121.txt 

Contains modification to file:
gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/LoggingProcessor.java

Wraps calls to setAttribute and setOutputProperty to catch IllegalArgumentExceptions, upon catching exception will log error. 


> IllegalArgumentException thrown in LogginProcessorTest
> ------------------------------------------------------
>
>                 Key: GSHELL-121
>                 URL: https://issues.apache.org/jira/browse/GSHELL-121
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 1.0-alpha-2
>         Environment: AIX v5.3
> IBM JDK 1.5
>            Reporter: Jamie goodyear
>            Assignee: Jason Dillon
>         Attachments: gshell-121.txt
>
>
> IllegalArgumentException thrown in LogginProcessorTest.
> When running build tests for gshell alpha-2 I get testprocessor(org.apache.geronimo.gshell.spring.LogginProcessorTest) <<< fail.
> The logs indicates a java.lang.IllegalArgumentException: not support: indent-number.
> After some research this issue appears to be common. The solution tends to be to wrap calls to setAttribute and setOutputProperty with try/catch (IllegalArgumentException).
> I'll submit a patch for this issue.

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