You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jamie Goodyear (JIRA)" <ji...@apache.org> on 2008/09/26 15:22:52 UTC

[jira] Created: (SMX4-123) Issuing command "log d" fails with NullPointerException on AIX.

Issuing command "log d" fails with NullPointerException on AIX.
---------------------------------------------------------------

                 Key: SMX4-123
                 URL: https://issues.apache.org/activemq/browse/SMX4-123
             Project: ServiceMix 4
          Issue Type: Bug
         Environment: AIX 5.3 Java 1.5
            Reporter: Jamie Goodyear


Issuing command "log d" fails with NullPointerException on AIX.

 o Install SMX 4 Features build.
 o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
 o Once kernel prompt is displayed type "log d"
 o Will receive error message: "ERROR NullPointerException: null"

Here is the screen content:

servicemix>    
servicemix> log d
ERROR NullPointerException: null
servicemix> exit

AIX OS Level:

bash-2.05a$ oslevel -s
5300-04-00

Java Version:

bash-2.05a$ java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
J9VM - 20080314_17962_bHdSMr
JIT  - 20080130_0718ifx2_r8
GC   - 200802_08)
JCL  - 20080314

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


[jira] Updated: (SMX4-123) Issuing command "log d" fails with NullPointerException on AIX.

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

Jamie Goodyear updated SMX4-123:
--------------------------------

    Attachment: smx4-123.txt

This patch is for the one off GShell rev654638 build used with SMX4.


> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4-123
>                 URL: https://issues.apache.org/activemq/browse/SMX4-123
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>         Attachments: smx4-123.txt
>
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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


[jira] Commented: (SMX4-123) Issuing command "log d" fails with NullPointerException on AIX.

Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46795#action_46795 ] 

Jamie Goodyear commented on SMX4-123:
-------------------------------------

Will attach patch here for GShell 1.0-alpha-2-r654638 as used in SMX4. A second patch will be filed to GShell project to reflect changes in latest GShell code base.

> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4-123
>                 URL: https://issues.apache.org/activemq/browse/SMX4-123
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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


[jira] Issue Comment Edited: (SMX4-123) Issuing command "log d" fails with NullPointerException on AIX.

Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46793#action_46793 ] 

jgoodyear edited comment on SMX4-123 at 10/23/08 8:48 AM:
---------------------------------------------------------------

Determined work around to IBM JDK issue.

In Apache Geronimo GShell  gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
Apply the following modification:

{code:language=java}
bash-2.05a$ svn diff gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
Index: gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
===================================================================
--- gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java      (revision 654638)
+++ gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java      (working copy)
@@ -42,7 +42,11 @@
         this.description = description;
         this.metaVar = metaVar;
         this.required = required;
-        this.handler = handler;
+        if (handler == null) { 
+            this.handler = Handler.class;
+        } else {
+            this.handler = handler;
+        }
         this.multiValued = multiValued;
     }
{code}

I have not determined how or why the IBM JDK passes in a null handler to Descriptor - the call to the Descriptor constructor may occur in dynamically generated code. I do know however that if we test for the null handler in the constructor and upon detection set it to 'Handler.class' as a safe default value that "null" error we see when executing "log d" or "config list" stops occuring.

Will create a JIRA and attach patch to Gernimo GShell project.

      was (Author: jgoodyear):
    Determined work around to IBM JDK issue.

In Apache Geronimo GShell  gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
Apply the following modification:

bash-2.05a$ svn diff gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
Index: gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
===================================================================
--- gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java      (revision 654638)
+++ gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java      (working copy)
@@ -42,7 +42,11 @@
         this.description = description;
         this.metaVar = metaVar;
         this.required = required;
-        this.handler = handler;
+        if (handler == null) { 
+            this.handler = Handler.class;
+        } else {
+            this.handler = handler;
+        }
         this.multiValued = multiValued;
     }

I have not determined how or why the IBM JDK passes in a null handler to Descriptor - the call to the Descriptor constructor may occur in dynamically generated code. I do know however that if we test for the null handler in the constructor and upon detection set it to 'Handler.class' as a safe default value that "null" error we see when executing "log d" or "config list" stops occuring.

Will create a JIRA and attach patch to Gernimo GShell project.
  
> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4-123
>                 URL: https://issues.apache.org/activemq/browse/SMX4-123
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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


[jira] Commented: (SMX4-123) Issuing command "log d" fails with NullPointerException on AIX.

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46475#action_46475 ] 

Guillaume Nodet commented on SMX4-123:
--------------------------------------

You can obtain the full stack trace by using the following command first:
{code}
set -m PROPERTY gshell.show.stacktrace true
{code}


> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4-123
>                 URL: https://issues.apache.org/activemq/browse/SMX4-123
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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


[jira] Moved: (SMX4KNL-124) Issuing command "log d" fails with NullPointerException on AIX.

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4KNL-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet moved SMX4-123 to SMX4KNL-124:
----------------------------------------------

    Project: ServiceMix Kernel  (was: ServiceMix 4)
        Key: SMX4KNL-124  (was: SMX4-123)

> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4KNL-124
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-124
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>         Attachments: smx4-123.txt
>
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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


[jira] Commented: (SMX4-123) Issuing command "log d" fails with NullPointerException on AIX.

Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46603#action_46603 ] 

Jamie Goodyear commented on SMX4-123:
-------------------------------------

investigation note: Stack trace obtained when 'log d' is executed:

org.apache.geronimo.gshell.ErrorNotification: Shell execution failed; commands=log, d
        at org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.java:103)
        at org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(ASTExpression.java:17)
        at org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept(SimpleNode.java:57)
        at org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.java:81)
        at org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(ASTCommandLine.java:17)
        at org.apache.geronimo.gshell.spring.SpringCommandLineBuilder$1.execute(SpringCommandLineBuilder.java:87)
        at org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:96)
        at org.apache.geronimo.gshell.spring.SpringCommandExecutor.execute(SpringCommandExecutor.java:76)
        at org.apache.geronimo.gshell.DefaultShell.execute(DefaultShell.java:131)
        at org.apache.geronimo.gshell.DefaultShell$1.execute(DefaultShell.java:167)
        at org.apache.geronimo.gshell.console.Console.work(Console.java:187)
        at org.apache.geronimo.gshell.console.Console.run(Console.java:128)
        at org.apache.geronimo.gshell.console.JLineConsole.run(JLineConsole.java:68)
        at org.apache.geronimo.gshell.DefaultShell.run(DefaultShell.java:207)
        at org.apache.geronimo.gshell.spring.GShell.run(GShell.java:135)
        at java.lang.Thread.run(Thread.java:810)
Caused by: java.lang.NullPointerException
        at org.apache.geronimo.gshell.clp.handler.Handlers.createHandlerFactory(Handlers.java:47)
        at org.apache.geronimo.gshell.clp.handler.Handlers.create(Handlers.java:84)
        at org.apache.geronimo.gshell.clp.CommandLineProcessor.addOption(CommandLineProcessor.java:154)
        at org.apache.geronimo.gshell.clp.CommandLineProcessor.discoverDescriptors(CommandLineProcessor.java:108)
        at org.apache.geronimo.gshell.clp.CommandLineProcessor.<init>(CommandLineProcessor.java:61)
        at org.apache.geronimo.gshell.support.OsgiCommandSupport.doExecute(OsgiCommandSupport.java:120)
        at org.apache.geronimo.gshell.support.OsgiCommandSupport.execute(OsgiCommandSupport.java:96)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
        at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:36)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy8.execute(Unknown Source)
        at org.apache.geronimo.gshell.spring.SpringCommandRegistry$GroupCommand.execute(SpringCommandRegistry.java:243)
        at org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:303)
        at org.apache.geronimo.gshell.DefaultCommandExecutor$1.run(DefaultCommandExecutor.java:178)
        at org.apache.geronimo.gshell.spring.SpringCommandExecutor$1$1.run(SpringCommandExecutor.java:67)

> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4-123
>                 URL: https://issues.apache.org/activemq/browse/SMX4-123
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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


[jira] Commented: (SMX4-123) Issuing command "log d" fails with NullPointerException on AIX.

Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46793#action_46793 ] 

Jamie Goodyear commented on SMX4-123:
-------------------------------------

Determined work around to IBM JDK issue.

In Apache Geronimo GShell  gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
Apply the following modification:

bash-2.05a$ svn diff gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
Index: gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
===================================================================
--- gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java      (revision 654638)
+++ gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java      (working copy)
@@ -42,7 +42,11 @@
         this.description = description;
         this.metaVar = metaVar;
         this.required = required;
-        this.handler = handler;
+        if (handler == null) { 
+            this.handler = Handler.class;
+        } else {
+            this.handler = handler;
+        }
         this.multiValued = multiValued;
     }

I have not determined how or why the IBM JDK passes in a null handler to Descriptor - the call to the Descriptor constructor may occur in dynamically generated code. I do know however that if we test for the null handler in the constructor and upon detection set it to 'Handler.class' as a safe default value that "null" error we see when executing "log d" or "config list" stops occuring.

Will create a JIRA and attach patch to Gernimo GShell project.

> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4-123
>                 URL: https://issues.apache.org/activemq/browse/SMX4-123
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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


[jira] Commented: (SMX4-123) Issuing command "log d" fails with NullPointerException on AIX.

Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46679#action_46679 ] 

Jamie Goodyear commented on SMX4-123:
-------------------------------------

Issue appears to occur in gshell CommandLineProcessor where discoverDescriptors() processes the line "Option option = field.getAnnotation(Option.class);". On the IBM JDK there appears to be some difference on how annotations are process in contrast to the Sun SDK. Will post more details as my investigation progresses.

> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4-123
>                 URL: https://issues.apache.org/activemq/browse/SMX4-123
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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


[jira] Assigned: (SMX4-123) Issuing command "log d" fails with NullPointerException on AIX.

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

Jamie Goodyear reassigned SMX4-123:
-----------------------------------

    Assignee: Jamie Goodyear

> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4-123
>                 URL: https://issues.apache.org/activemq/browse/SMX4-123
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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


[jira] Work stopped: (SMX4-123) Issuing command "log d" fails with NullPointerException on AIX.

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

Work on SMX4-123 stopped by Jamie Goodyear.

> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4-123
>                 URL: https://issues.apache.org/activemq/browse/SMX4-123
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>         Attachments: smx4-123.txt
>
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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


[jira] Commented: (SMX4-123) Issuing command "log d" fails with NullPointerException on AIX.

Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46474#action_46474 ] 

Jamie Goodyear commented on SMX4-123:
-------------------------------------

Update: Bug occurs within Kernel -- checking to see if problem occurs within gshell.

Issuing command "log d" fails with NullPointerException on AIX.

o Install SMX 4 kernel build.
o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
o Once kernel prompt is displayed type "log d"
o Will receive error message: "ERROR NullPointerException: null"

Here is the screen content:

servicemix>
servicemix> log d
ERROR NullPointerException: null
servicemix> exit

> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4-123
>                 URL: https://issues.apache.org/activemq/browse/SMX4-123
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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


[jira] Work started: (SMX4-123) Issuing command "log d" fails with NullPointerException on AIX.

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

Work on SMX4-123 started by Jamie Goodyear.

> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4-123
>                 URL: https://issues.apache.org/activemq/browse/SMX4-123
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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


[jira] Resolved: (SMX4KNL-124) Issuing command "log d" fails with NullPointerException on AIX.

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4KNL-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SMX4KNL-124.
-------------------------------------

    Fix Version/s: 1.1.0
       Resolution: Fixed

Thanks a lot for this patch Jamie.
I've fixed the problem in gshell trunk

> Issuing command "log d" fails with NullPointerException on AIX.
> ---------------------------------------------------------------
>
>                 Key: SMX4KNL-124
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-124
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>         Environment: AIX 5.3 Java 1.5
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>             Fix For: 1.1.0
>
>         Attachments: smx4-123.txt
>
>
> Issuing command "log d" fails with NullPointerException on AIX.
>  o Install SMX 4 Features build.
>  o Start servicemix in terminal (bash-2.05a$./servicemix.sh)
>  o Once kernel prompt is displayed type "log d"
>  o Will receive error message: "ERROR NullPointerException: null"
> Here is the screen content:
> servicemix>    
> servicemix> log d
> ERROR NullPointerException: null
> servicemix> exit
> AIX OS Level:
> bash-2.05a$ oslevel -s
> 5300-04-00
> Java Version:
> bash-2.05a$ java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_bHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314

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