You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/09/10 16:51:26 UTC

DO NOT REPLY [Bug 12484] New: - WSDL2Java gives NPE when using custom GeneratorFactory (--factory)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12484>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12484

WSDL2Java gives NPE when using custom GeneratorFactory (--factory)

           Summary: WSDL2Java gives NPE when using custom GeneratorFactory
                    (--factory)
           Product: Axis
           Version: current (nightly)
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: agrawal@lucent.com


There appears to be a cyclical dependency here when using the --factory option 
for WSDL2Java.

When Emitter's setFactory() is called, it passes in the classname of the custom 
GeneratorFactory class (e.g. ABCGeneratorFactory).  But the setEmitter() for 
the ABCGeneratorFactory is never called, which renders the class un-usable.