You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "subes (JIRA)" <ju...@ws.apache.org> on 2010/11/30 02:27:12 UTC

[jira] Created: (JUDDI-434) make replace NullPointerException with " not found exception" in service wrappers

make replace NullPointerException with "<operation> not found exception" in service wrappers
--------------------------------------------------------------------------------------------

                 Key: JUDDI-434
                 URL: https://issues.apache.org/jira/browse/JUDDI-434
             Project: jUDDI
          Issue Type: Improvement
          Components: uddi-client
    Affects Versions: 3.0.4
            Reporter: subes
            Assignee: Kurt T Stam


currently I am getting the following exception:

java.lang.NullPointerException
	at org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService.publish(UDDIPublicationService.java:96)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.ws.scout.transport.LocalTransport.send(LocalTransport.java:63)
	at org.apache.ws.scout.registry.RegistryV3Impl.execute(RegistryV3Impl.java:296)
	at org.apache.ws.scout.registry.RegistryV3Impl.getAssertionStatusReport(RegistryV3Impl.java:852)
	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.clearPublisherAssertions(BusinessLifeCycleManagerV3Impl.java:626)
	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.executeOperation(BusinessLifeCycleManagerV3Impl.java:588)
	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteOperation(BusinessLifeCycleManagerV3Impl.java:722)
	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteOrganizations(BusinessLifeCycleManagerV3Impl.java:154)
	at de.invesdwin.gemeinsam.integration.ws.internal.jaxr.JaxrClientHelper.removeOrganization(JaxrClientHelper.java:105)
	at de.invesdwin.gemeinsam.integration.ws.internal.jaxr.JaxrClient.unregisterServiceInstance(JaxrClient.java:88)
	at de.invesdwin.gemeinsam.integration.ws.XsdWebServicePublikation.shutdown(XsdWebServicePublikation.java:80)
	at de.invesdwin.gemeinsam.bootstrap.ShutdownHook$ShutdownHookThread.run(ShutdownHook.java:49)

Better would be some sort of message that tells me which operation was not found.
Fix could be:

...
String operation = requestHandler.getOperation(uddiReq);
Handler opHandler = operations.get(operation);
if(opHandler == null){
    throw new IllegalArgumentException("operation not found: "+operation);
}
requestHandler.setMethodName(opHandler.getMethodName());
...


This item refers to https://issues.apache.org/jira/browse/SCOUT-108 and https://issues.apache.org/jira/browse/SCOUT-105

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


[jira] Commented: (JUDDI-434) make replace NullPointerException with " not found exception" in service wrappers

Posted by "subes (JIRA)" <ju...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/JUDDI-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965067#action_12965067 ] 

subes commented on JUDDI-434:
-----------------------------

This bug occurs in all 3 service wrappers:
org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService
org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService
org.apache.juddi.v3.client.transport.wrapper.UDDISecurityService

> make replace NullPointerException with "<operation> not found exception" in service wrappers
> --------------------------------------------------------------------------------------------
>
>                 Key: JUDDI-434
>                 URL: https://issues.apache.org/jira/browse/JUDDI-434
>             Project: jUDDI
>          Issue Type: Improvement
>          Components: uddi-client
>    Affects Versions: 3.0.4
>            Reporter: subes
>            Assignee: Kurt T Stam
>
> currently I am getting the following exception:
> java.lang.NullPointerException
> 	at org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService.publish(UDDIPublicationService.java:96)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at org.apache.ws.scout.transport.LocalTransport.send(LocalTransport.java:63)
> 	at org.apache.ws.scout.registry.RegistryV3Impl.execute(RegistryV3Impl.java:296)
> 	at org.apache.ws.scout.registry.RegistryV3Impl.getAssertionStatusReport(RegistryV3Impl.java:852)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.clearPublisherAssertions(BusinessLifeCycleManagerV3Impl.java:626)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.executeOperation(BusinessLifeCycleManagerV3Impl.java:588)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteOperation(BusinessLifeCycleManagerV3Impl.java:722)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteOrganizations(BusinessLifeCycleManagerV3Impl.java:154)
> 	at de.invesdwin.gemeinsam.integration.ws.internal.jaxr.JaxrClientHelper.removeOrganization(JaxrClientHelper.java:105)
> 	at de.invesdwin.gemeinsam.integration.ws.internal.jaxr.JaxrClient.unregisterServiceInstance(JaxrClient.java:88)
> 	at de.invesdwin.gemeinsam.integration.ws.XsdWebServicePublikation.shutdown(XsdWebServicePublikation.java:80)
> 	at de.invesdwin.gemeinsam.bootstrap.ShutdownHook$ShutdownHookThread.run(ShutdownHook.java:49)
> Better would be some sort of message that tells me which operation was not found.
> Fix could be:
> ...
> String operation = requestHandler.getOperation(uddiReq);
> Handler opHandler = operations.get(operation);
> if(opHandler == null){
>     throw new IllegalArgumentException("operation not found: "+operation);
> }
> requestHandler.setMethodName(opHandler.getMethodName());
> ...
> This item refers to https://issues.apache.org/jira/browse/SCOUT-108 and https://issues.apache.org/jira/browse/SCOUT-105

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


[jira] Resolved: (JUDDI-434) make replace NullPointerException with " not found exception" in service wrappers

Posted by "Tom Cunningham (JIRA)" <ju...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/JUDDI-434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Cunningham resolved JUDDI-434.
----------------------------------

    Resolution: Fixed

Fixed in all three service wrappers.

> make replace NullPointerException with "<operation> not found exception" in service wrappers
> --------------------------------------------------------------------------------------------
>
>                 Key: JUDDI-434
>                 URL: https://issues.apache.org/jira/browse/JUDDI-434
>             Project: jUDDI
>          Issue Type: Improvement
>          Components: uddi-client
>    Affects Versions: 3.0.4
>            Reporter: subes
>            Assignee: Tom Cunningham
>             Fix For: 3.0.5
>
>
> currently I am getting the following exception:
> java.lang.NullPointerException
> 	at org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService.publish(UDDIPublicationService.java:96)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at org.apache.ws.scout.transport.LocalTransport.send(LocalTransport.java:63)
> 	at org.apache.ws.scout.registry.RegistryV3Impl.execute(RegistryV3Impl.java:296)
> 	at org.apache.ws.scout.registry.RegistryV3Impl.getAssertionStatusReport(RegistryV3Impl.java:852)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.clearPublisherAssertions(BusinessLifeCycleManagerV3Impl.java:626)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.executeOperation(BusinessLifeCycleManagerV3Impl.java:588)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteOperation(BusinessLifeCycleManagerV3Impl.java:722)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteOrganizations(BusinessLifeCycleManagerV3Impl.java:154)
> 	at de.invesdwin.gemeinsam.integration.ws.internal.jaxr.JaxrClientHelper.removeOrganization(JaxrClientHelper.java:105)
> 	at de.invesdwin.gemeinsam.integration.ws.internal.jaxr.JaxrClient.unregisterServiceInstance(JaxrClient.java:88)
> 	at de.invesdwin.gemeinsam.integration.ws.XsdWebServicePublikation.shutdown(XsdWebServicePublikation.java:80)
> 	at de.invesdwin.gemeinsam.bootstrap.ShutdownHook$ShutdownHookThread.run(ShutdownHook.java:49)
> Better would be some sort of message that tells me which operation was not found.
> Fix could be:
> ...
> String operation = requestHandler.getOperation(uddiReq);
> Handler opHandler = operations.get(operation);
> if(opHandler == null){
>     throw new IllegalArgumentException("operation not found: "+operation);
> }
> requestHandler.setMethodName(opHandler.getMethodName());
> ...
> This item refers to https://issues.apache.org/jira/browse/SCOUT-108 and https://issues.apache.org/jira/browse/SCOUT-105

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


[jira] Closed: (JUDDI-434) make replace NullPointerException with " not found exception" in service wrappers

Posted by "Tom Cunningham (JIRA)" <ju...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/JUDDI-434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Cunningham closed JUDDI-434.
--------------------------------


> make replace NullPointerException with "<operation> not found exception" in service wrappers
> --------------------------------------------------------------------------------------------
>
>                 Key: JUDDI-434
>                 URL: https://issues.apache.org/jira/browse/JUDDI-434
>             Project: jUDDI
>          Issue Type: Improvement
>          Components: uddi-client
>    Affects Versions: 3.0.4
>            Reporter: subes
>            Assignee: Tom Cunningham
>             Fix For: 3.0.5
>
>
> currently I am getting the following exception:
> java.lang.NullPointerException
> 	at org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService.publish(UDDIPublicationService.java:96)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at org.apache.ws.scout.transport.LocalTransport.send(LocalTransport.java:63)
> 	at org.apache.ws.scout.registry.RegistryV3Impl.execute(RegistryV3Impl.java:296)
> 	at org.apache.ws.scout.registry.RegistryV3Impl.getAssertionStatusReport(RegistryV3Impl.java:852)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.clearPublisherAssertions(BusinessLifeCycleManagerV3Impl.java:626)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.executeOperation(BusinessLifeCycleManagerV3Impl.java:588)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteOperation(BusinessLifeCycleManagerV3Impl.java:722)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteOrganizations(BusinessLifeCycleManagerV3Impl.java:154)
> 	at de.invesdwin.gemeinsam.integration.ws.internal.jaxr.JaxrClientHelper.removeOrganization(JaxrClientHelper.java:105)
> 	at de.invesdwin.gemeinsam.integration.ws.internal.jaxr.JaxrClient.unregisterServiceInstance(JaxrClient.java:88)
> 	at de.invesdwin.gemeinsam.integration.ws.XsdWebServicePublikation.shutdown(XsdWebServicePublikation.java:80)
> 	at de.invesdwin.gemeinsam.bootstrap.ShutdownHook$ShutdownHookThread.run(ShutdownHook.java:49)
> Better would be some sort of message that tells me which operation was not found.
> Fix could be:
> ...
> String operation = requestHandler.getOperation(uddiReq);
> Handler opHandler = operations.get(operation);
> if(opHandler == null){
>     throw new IllegalArgumentException("operation not found: "+operation);
> }
> requestHandler.setMethodName(opHandler.getMethodName());
> ...
> This item refers to https://issues.apache.org/jira/browse/SCOUT-108 and https://issues.apache.org/jira/browse/SCOUT-105

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


[jira] Updated: (JUDDI-434) make replace NullPointerException with " not found exception" in service wrappers

Posted by "Kurt T Stam (JIRA)" <ju...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/JUDDI-434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt T Stam updated JUDDI-434:
------------------------------

    Fix Version/s: 3.0.5
         Assignee: Tom Cunningham  (was: Kurt T Stam)

> make replace NullPointerException with "<operation> not found exception" in service wrappers
> --------------------------------------------------------------------------------------------
>
>                 Key: JUDDI-434
>                 URL: https://issues.apache.org/jira/browse/JUDDI-434
>             Project: jUDDI
>          Issue Type: Improvement
>          Components: uddi-client
>    Affects Versions: 3.0.4
>            Reporter: subes
>            Assignee: Tom Cunningham
>             Fix For: 3.0.5
>
>
> currently I am getting the following exception:
> java.lang.NullPointerException
> 	at org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService.publish(UDDIPublicationService.java:96)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at org.apache.ws.scout.transport.LocalTransport.send(LocalTransport.java:63)
> 	at org.apache.ws.scout.registry.RegistryV3Impl.execute(RegistryV3Impl.java:296)
> 	at org.apache.ws.scout.registry.RegistryV3Impl.getAssertionStatusReport(RegistryV3Impl.java:852)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.clearPublisherAssertions(BusinessLifeCycleManagerV3Impl.java:626)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.executeOperation(BusinessLifeCycleManagerV3Impl.java:588)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteOperation(BusinessLifeCycleManagerV3Impl.java:722)
> 	at org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteOrganizations(BusinessLifeCycleManagerV3Impl.java:154)
> 	at de.invesdwin.gemeinsam.integration.ws.internal.jaxr.JaxrClientHelper.removeOrganization(JaxrClientHelper.java:105)
> 	at de.invesdwin.gemeinsam.integration.ws.internal.jaxr.JaxrClient.unregisterServiceInstance(JaxrClient.java:88)
> 	at de.invesdwin.gemeinsam.integration.ws.XsdWebServicePublikation.shutdown(XsdWebServicePublikation.java:80)
> 	at de.invesdwin.gemeinsam.bootstrap.ShutdownHook$ShutdownHookThread.run(ShutdownHook.java:49)
> Better would be some sort of message that tells me which operation was not found.
> Fix could be:
> ...
> String operation = requestHandler.getOperation(uddiReq);
> Handler opHandler = operations.get(operation);
> if(opHandler == null){
>     throw new IllegalArgumentException("operation not found: "+operation);
> }
> requestHandler.setMethodName(opHandler.getMethodName());
> ...
> This item refers to https://issues.apache.org/jira/browse/SCOUT-108 and https://issues.apache.org/jira/browse/SCOUT-105

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