users@jax-rpc.java.net

RE: jaxws-2.0ea2 bug?

From: Phillip A. Lindsay <phil_at_lindsay.net>
Date: Fri, 12 Aug 2005 13:51:14 -0700

Yes, below:

ws:ws:
    [echo] Running ws:ws...running APT task
    [apt] warning: Annotation types without processors:
[javax.xml.bind.annotation.XmlRootElement,
javax.xml.bind.annotation.XmlAccessorType,
ws:ws:
    [echo] Running ws:ws...running APT task
    [apt] warning: Annotation types without processors:
[javax.xml.bind.annotation.XmlRootElement,
javax.xml.bind.annotation.XmlAccessorType,
javax.xml.bind.annotation.XmlType, javax.xml.bind.annotation.XmlElement]
    [apt] error: java.util.Map does not have a no-arg default constructor
    [apt] this problem is related to the following location:
    [apt] at java.util.Map (Unknown Source)
    [apt] at
com.foobar.contract.domain.ServiceAgreement.getPostingRules (Unknown Source)
    [apt] at com.foobar.contract.domain.ServiceAgreement
(Unknown Source)
    [apt] at
com.foobar.account.domain.Account.getServiceAgreement (Unknown Source)
    [apt] at com.foobar.account.domain.Account (Unknown
Source)
    [apt] at com.foobar.patron.domain.Party.getAccounts
(Unknown Source)
    [apt] at com.foobar.patron.domain.Party (Unknown Source)
    [apt] at
com.foobar.patron.ws.jaxws.FindBySoundResponse._return(FindBySoundResponse.j
ava:19)
    [apt] at
com.foobar.patron.ws.jaxws.FindBySoundResponse(FindBySoundResponse.java:16)
    [apt] Problem encountered during annotation processing;
    [apt] see stacktrace below for more information.
    [apt] java.lang.NullPointerException
    [apt] at
com.sun.tools.ws.processor.model.jaxb.JAXBModel.<init>(JAXBModel.java:83)
    [apt] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.completeModel(Web
ServiceAP.java:402)
    [apt] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServic
eAP.java:240)
    [apt] at
com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process
(AnnotationProcessors.java:60)
    [apt] at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
    [apt] at
com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:458)
    [apt] at com.sun.tools.apt.main.Main.compile(Main.java:1075)
    [apt] at com.sun.tools.apt.main.Main.compile(Main.java:938)
    [apt] at com.sun.tools.apt.Main.processing(Main.java:95)
    [apt] at com.sun.tools.apt.Main.process(Main.java:43)
    [apt] at com.sun.tools.apt.Main.main(Main.java:34)

 
> -----Original Message-----
> From: Doug Kohlert [mailto:Doug.Kohlert_at_Sun.COM]
> Sent: Friday, August 12, 2005 12:53 PM
> To: users_at_jax-rpc.dev.java.net
> Subject: Re: jaxws-2.0ea2 bug?
>
> Do you have a more complete stack trace?
>
> Phillip A. Lindsay wrote:
>
> >
> > [Phillip A. Lindsay] The map in question is a initialized
> via EnumMap
> > using ctor EnumMap(SomeEnum.class)
> >
> > [echo] Running ws:ws...running APT task
> > [apt] warning: Annotation types without processors:
> > [javax.xml.bind.annotation.XmlRootElement,
> > javax.xml.bind.annota
> > tion.XmlAccessorType, javax.xml.bind.annotation.XmlType,
> > javax.xml.bind.annotation.XmlElement]
> > [apt] error: java.util.Map does not have a no-arg
> default constructor
> > [apt] this problem is related to the following location:
> > [apt] at java.util.Map (Unknown Source)
> >
> >
>
>
> --
> - Doug
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>