Dashboard > MC4J > Browse Space > Mail Archive > [Mc4j-development] [ mc4j-Bugs-1295412 ] Getting Exceptions when registering notification on jboss
MC4J Management Console Log In   View a printable version of the current page.
[Mc4j-development] [ mc4j-Bugs-1295412 ] Getting Exceptions when registering notification on jboss
Subject:   [Mc4j-development] [ mc4j-Bugs-1295412 ] Getting Exceptions when registering notification on jboss (find more)
From:  
Date:   Sep 19, 2005


Return-Path: <hidden>
Received: from nobody by sc8-sf-web1.sourceforge.net with local (Exim 4.33)
 id 1EHLfs-0002x9-3T; Mon, 19 Sep 2005 06:27:12 -0700
Message-Id: <hidden>
Date: Mon, 19 Sep 2005 06:27:12 -0700
From: "SourceForge.net" <hidden>
Reply-To: hidden
Sender: hidden
To: hidden
Subject: [Mc4j-development] [ mc4j-Bugs-1295412 ] Getting Exceptions when registering notification on jboss
Errors-To: hidden
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-To: hidden
Delivered-To: hidden
X-BeenThere: hidden
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/mc4j-development&gt;,
 <mailto:hidden?subject=unsubscribe>
List-Id: <mc4j-development.lists.sourceforge.net>
List-Post: <mailto:hidden>
List-Help: <mailto:hidden?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/mc4j-development&gt;,
 <mailto:hidden?subject=subscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=mc4j-development>
Status:

Bugs item #1295412, was opened at 2005-09-19 15:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=493495&aid=1295412&group_id=60228

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Teulings (tteuling)
Assigned to: Nobody/Anonymous (nobody)
Summary: Getting Exceptions when registering notification on jboss

Initial Comment:
Using jboss 3.2.7 (clinet and server side)
Using mc4j 1.2 beta 9 for windows.
Using JDK 1.4.2_8

I'm getting exceptions when trying to listen to a
notification. Looks like the registration fails, since
notification will not get logged in turn:

java.lang.reflect.UndeclaredThrowableException
 at $Proxy16.addNotificationListener(Unknown Source)
 at
org.mc4j.console.bean.notification.NotificationNode.toggleNotification(NotificationNode.java:116)
 at
org.mc4j.console.bean.notification.NotificationNode$ListenAction.performAction(NotificationNode.java:271)
 at
org.openide.util.actions.NodeAction$3.run(NodeAction.java:440)
 at
org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerformed(CallableSystemAction.java:247)
 at
org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:74)
 at
sun.reflect.GeneratedMethodAccessor92.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.openide.util.actions.CallableSystemAction.invokeAction(CallableSystemAction.java:179)
 at
org.openide.util.actions.CallableSystemAction.access$000(CallableSystemAction.java:31)
 at
org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(CallableSystemAction.java:241)
 at
org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.java:111)
 at org.openide.util.Task.run(Task.java:136)
 at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
 at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.mc4j.console.connection.proxy.GenericMBeanServerProxy.invoke(GenericMBeanServerProxy.java:79)
 ... 16 more
Caused by: java.lang.IllegalArgumentException: wrong
number of arguments
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:258)
 at
sun.reflect.GeneratedMethodAccessor76.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
 at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
 at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
 at
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
 at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
 at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
 at
org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164)
 at
sun.reflect.GeneratedMethodAccessor75.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
 at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
 at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
 at
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
 at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
 at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
 at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
 at
sun.reflect.GeneratedMethodAccessor74.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
 at sun.rmi.transport.Transport$1.run(Transport.java:148)
 at java.security.AccessController.doPrivileged(Native
Method)
 at
sun.rmi.transport.Transport.serviceCall(Transport.java:144)
 at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
 at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
[catch] at java.lang.Thread.run(Thread.java:534)
==>
java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.mc4j.console.connection.proxy.GenericMBeanServerProxy.invoke(GenericMBeanServerProxy.java:79)
 at $Proxy16.addNotificationListener(Unknown Source)
 at
org.mc4j.console.bean.notification.NotificationNode.toggleNotification(NotificationNode.java:116)
 at
org.mc4j.console.bean.notification.NotificationNode$ListenAction.performAction(NotificationNode.java:271)
 at
org.openide.util.actions.NodeAction$3.run(NodeAction.java:440)
 at
org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerformed(CallableSystemAction.java:247)
 at
org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:74)
 at
sun.reflect.GeneratedMethodAccessor92.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.openide.util.actions.CallableSystemAction.invokeAction(CallableSystemAction.java:179)
 at
org.openide.util.actions.CallableSystemAction.access$000(CallableSystemAction.java:31)
 at
org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(CallableSystemAction.java:241)
 at
org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.java:111)
 at org.openide.util.Task.run(Task.java:136)
 at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
 at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
Caused by: java.lang.IllegalArgumentException: wrong
number of arguments
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:258)
 at
sun.reflect.GeneratedMethodAccessor76.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
 at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
 at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
 at
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
 at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
 at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
 at
org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164)
 at
sun.reflect.GeneratedMethodAccessor75.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
 at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
 at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
 at
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
 at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
 at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
 at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
 at
sun.reflect.GeneratedMethodAccessor74.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
 at sun.rmi.transport.Transport$1.run(Transport.java:148)
 at java.security.AccessController.doPrivileged(Native
Method)
 at
sun.rmi.transport.Transport.serviceCall(Transport.java:144)
 at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
 at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
[catch] at java.lang.Thread.run(Thread.java:534)
==>
java.lang.IllegalArgumentException: wrong number of
arguments
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:258)
 at
sun.reflect.GeneratedMethodAccessor76.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
 at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
 at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
 at
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
 at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
 at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
 at
org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164)
 at
sun.reflect.GeneratedMethodAccessor75.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
 at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
 at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
 at
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
 at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
 at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
 at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
 at
sun.reflect.GeneratedMethodAccessor74.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
 at sun.rmi.transport.Transport$1.run(Transport.java:148)
 at java.security.AccessController.doPrivileged(Native
Method)
 at
sun.rmi.transport.Transport.serviceCall(Transport.java:144)
 at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
 at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
[catch] at java.lang.Thread.run(Thread.java:534)


Creating a watch on a variable also creates exceptions:
java.lang.reflect.InvocationTargetException
 at
sun.reflect.GeneratedMethodAccessor92.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.openide.util.actions.CallableSystemAction.invokeAction(CallableSystemAction.java:179)
 at
org.openide.util.actions.CallableSystemAction.access$000(CallableSystemAction.java:31)
 at
org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(CallableSystemAction.java:241)
 at
org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.java:111)
 at org.openide.util.Task.run(Task.java:136)
 at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
 at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
Caused by: java.lang.NullPointerException
 at org.openide.nodes.Node.<init>(Node.java:189)
 at
org.openide.nodes.AbstractNode.<init>(AbstractNode.java:143)
 at
org.openide.nodes.AbstractNode.<init>(AbstractNode.java:124)
 at
org.mc4j.console.bean.attribute.watch.monitor.AbstractMonitorNode.<init>(AbstractMonitorNode.java:55)
 at
org.mc4j.console.bean.attribute.watch.monitor.BeanMonitorNode.<init>(BeanMonitorNode.java:85)
 at
org.mc4j.console.bean.attribute.watch.CreateMonitorAction.performAction(CreateMonitorAction.java:62)
 at
org.openide.util.actions.NodeAction$3.run(NodeAction.java:440)
 at
org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerformed(CallableSystemAction.java:247)
 at
org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:74)
[catch] ... 10 more
==>
java.lang.NullPointerException
 at org.openide.nodes.Node.<init>(Node.java:189)
 at
org.openide.nodes.AbstractNode.<init>(AbstractNode.java:143)
 at
org.openide.nodes.AbstractNode.<init>(AbstractNode.java:124)
 at
org.mc4j.console.bean.attribute.watch.monitor.AbstractMonitorNode.<init>(AbstractMonitorNode.java:55)
 at
org.mc4j.console.bean.attribute.watch.monitor.BeanMonitorNode.<init>(BeanMonitorNode.java:85)
 at
org.mc4j.console.bean.attribute.watch.CreateMonitorAction.performAction(CreateMonitorAction.java:62)
 at
org.openide.util.actions.NodeAction$3.run(NodeAction.java:440)
 at
org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerformed(CallableSystemAction.java:247)
 at
org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:74)
 at
sun.reflect.GeneratedMethodAccessor92.invoke(Unknown
Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.openide.util.actions.CallableSystemAction.invokeAction(CallableSystemAction.java:179)
 at
org.openide.util.actions.CallableSystemAction.access$000(CallableSystemAction.java:31)
 at
org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(CallableSystemAction.java:241)
 at
org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.java:111)
 at org.openide.util.Task.run(Task.java:136)
 at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
 at org.openide.nodes.Node.<init>(Node.java:189)
 at
org.openide.nodes.AbstractNode.<init>(AbstractNode.java:143)
 at
org.openide.nodes.AbstractNode.<init>(AbstractNode.java:124)
 at
org.mc4j.console.bean.attribute.watch.monitor.AbstractMonitorNode.<init>(AbstractMonitorNode.java:55)
 at
org.mc4j.console.bean.attribute.watch.monitor.BeanMonitorNode.<init>(BeanMonitorNode.java:85)
 at
org.mc4j.console.bean.attribute.watch.CreateMonitorAction.performAction(CreateMonitorAction.java:62)
 at
org.openide.util.actions.NodeAction$3.run(NodeAction.java:440)
 at
org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerformed(CallableSystemAction.java:247)
 at
org.openide.util.actions.CallableSystemAction.invokeAction(CallableSystemAction.java:185)
 at
org.openide.util.actions.CallableSystemAction.access$000(CallableSystemAction.java:31)
 at
org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(CallableSystemAction.java:241)
 at
org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.java:111)
 at org.openide.util.Task.run(Task.java:136)
 at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)

I did add -Djava.rmi.server.hostname=localhost as
hinted on the web page.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=493495&aid=1295412&group_id=60228


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Mc4j-development mailing list
hidden
https://lists.sourceforge.net/lists/listinfo/mc4j-development
Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.7 Build:#524 Jul 28, 2006) - Bug/feature request - Contact Administrators