You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by hi...@jakarta.apache.org on 2004/10/14 19:55:51 UTC
[jira] Created: (HIVEMIND-68) Poor reporting of initializeService() invocation errors
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-68
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-68
Summary: Poor reporting of initializeService() invocation errors
Type: Bug
Status: Unassigned
Priority: Major
Project: HiveMind
Components:
framework
Fix Fors:
1.1
Versions:
1.1
1.0
Assignee:
Reporter: Howard M. Lewis Ship
Created: Thu, 14 Oct 2004 10:55 AM
Updated: Thu, 14 Oct 2004 10:55 AM
Description:
There was an error inisde my initializeService() method, which caused an exception to be thrown. I got the following stack trace:
ThreadLinkGenerator [ERROR] Error at context:/WEB-INF/hivemodule.xml, line 545, column 73: Unable to initialize service portal.ThreadLinkGenerator (by invoking method null on
portal.services.impl.ThreadLinkGeneratorImpl): java.lang.reflect.InvocationTargetException
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.apache.hivemind.service.impl.BuilderFactoryLogic.findAndInvokeInitializerMethod(BuilderFactoryLogic.java:165)
at org.apache.hivemind.service.impl.BuilderFactoryLogic.invokeInitializer(BuilderFactoryLogic.java:137)
at org.apache.hivemind.service.impl.BuilderFactoryLogic.createService(BuilderFactoryLogic.java:74)
at org.apache.hivemind.service.impl.BuilderFactory.createCoreServiceImplementation(BuilderFactory.java:53)
at org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation(InvokeFactoryServiceConstructor.java:91)
at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCoreServiceImplementation(AbstractServiceModelImpl.java:100)
at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:148)
at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:130)
at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:69)
"by invoking method null" should be "by invoking method initializeService()"
It would be nice if there was more detail about the InvocationTargetException ... ideally, it should be unwrapped, and the actual exception displayed.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
[jira] Closed: (HIVEMIND-68) Poor reporting of initializeService() invocation errors
Posted by "Howard M. Lewis Ship (JIRA)" <hi...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/HIVEMIND-68?page=history ]
Howard M. Lewis Ship closed HIVEMIND-68:
----------------------------------------
Resolution: Fixed
> Poor reporting of initializeService() invocation errors
> -------------------------------------------------------
>
> Key: HIVEMIND-68
> URL: http://issues.apache.org/jira/browse/HIVEMIND-68
> Project: HiveMind
> Type: Bug
> Components: framework
> Versions: 1.1, 1.0
> Reporter: Howard M. Lewis Ship
> Fix For: 1.1
>
> There was an error inisde my initializeService() method, which caused an exception to be thrown. I got the following stack trace:
> ThreadLinkGenerator [ERROR] Error at context:/WEB-INF/hivemodule.xml, line 545, column 73: Unable to initialize service portal.ThreadLinkGenerator (by invoking method null on
> portal.services.impl.ThreadLinkGeneratorImpl): java.lang.reflect.InvocationTargetException
> 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.apache.hivemind.service.impl.BuilderFactoryLogic.findAndInvokeInitializerMethod(BuilderFactoryLogic.java:165)
> at org.apache.hivemind.service.impl.BuilderFactoryLogic.invokeInitializer(BuilderFactoryLogic.java:137)
> at org.apache.hivemind.service.impl.BuilderFactoryLogic.createService(BuilderFactoryLogic.java:74)
> at org.apache.hivemind.service.impl.BuilderFactory.createCoreServiceImplementation(BuilderFactory.java:53)
> at org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation(InvokeFactoryServiceConstructor.java:91)
> at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCoreServiceImplementation(AbstractServiceModelImpl.java:100)
> at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:148)
> at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:130)
> at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:69)
> "by invoking method null" should be "by invoking method initializeService()"
> It would be nice if there was more detail about the InvocationTargetException ... ideally, it should be unwrapped, and the actual exception displayed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org