juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt T Stam (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] [Commented] (JUDDI-566) Using service/binding/hostingDirector causes a NPE
Date Sun, 10 Mar 2013 17:11:12 GMT

    [ https://issues.apache.org/jira/browse/JUDDI-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598312#comment-13598312

Kurt T Stam commented on JUDDI-566:

OK, but as far as I read http://uddi.org/pubs/uddi_v3.htm#_Toc85908374, then when using a
hostingredirectory, the tModel referenced is:

  <tModel tModelKey="uddi:uddi.org:specification:hostingredirector">
    <description>UDDI Hosting Redirector service specification
      <overviewURL useType="text">
      <keyedReference keyName="uddi-org:types:specification" keyValue="specification" tModelKey="uddi:uddi.org:categorization:types"

which is part of the install data:

And the accesspoint contains the URL to the " the accessPoint of the Hosting Redirector Web
service ". So I do think you are always supposed to have an AccessPoint. However it's probably
nicer to validate rather then throw back an NPE, so I'm going to commit the patch.


> Using service/binding/hostingDirector causes a NPE
> --------------------------------------------------
>                 Key: JUDDI-566
>                 URL: https://issues.apache.org/jira/browse/JUDDI-566
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.1.4
>            Reporter: Alex O'Ree
>            Assignee: Kurt T Stam
>         Attachments: JUDDI-556.patch
> I got this using the maven build process after saveBusiness, add a Service to the same
host with a hosting redirector, then, saveBusiness again
> [WARNING] [talledLocalContainer] Caused by: java.lang.NullPointerException
> [WARNING] [talledLocalContainer]        at org.apache.juddi.mapping.MappingApiToModel.mapBindingTemplate(MappingApiToMod
> el.java:503)
> [WARNING] [talledLocalContainer]        at org.apache.juddi.mapping.MappingApiToModel.mapBindingTemplates(MappingApiToMo
> del.java:489)
> [WARNING] [talledLocalContainer]        at org.apache.juddi.mapping.MappingApiToModel.mapBusinessService(MappingApiToMod
> el.java:452)
> [WARNING] [talledLocalContainer]        at org.apache.juddi.mapping.MappingApiToModel.mapBusinessServices(MappingApiToMo
> del.java:430)
> [WARNING] [talledLocalContainer]        at org.apache.juddi.mapping.MappingApiToModel.mapBusinessEntity(MappingApiToMode
> l.java:111)
> [WARNING] [talledLocalContainer]        at org.apache.juddi.api.impl.UDDIPublicationImpl.saveBusiness(UDDIPublicationImp
> l.java:585)
> Error caught of type javax.xml.ws.soap.SOAPFaultException
> [WARNING] [talledLocalContainer]        at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown
> javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message