axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milinda Lakmal Pathirage (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2C-1197) CodeGenerationException thrown without info about input files problem.
Date Wed, 30 Jul 2008 08:57:34 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Milinda Lakmal Pathirage reassigned AXIS2C-1197:
------------------------------------------------

    Assignee: Milinda Lakmal Pathirage

> CodeGenerationException thrown without info about input files problem.
> ----------------------------------------------------------------------
>
>                 Key: AXIS2C-1197
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1197
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation, wsdl2c tool
>    Affects Versions: 1.4.0
>         Environment: Windows XP Professional
> Java Sun SE6 1.6.0_05-b13
>            Reporter: Daniel Gorodowienko
>            Assignee: Milinda Lakmal Pathirage
>         Attachments: siri-1.0modified.zip
>
>
> An exception thrown without pointing for location of problem in input files.
> Input files included as an attachment 'siri-1.0modified.zip'.
> They are seem to be right. oXygen handles it right and gSOAP almost (excluding subsequences,
but code for the rest is generated).
> Command used to generate source:
> java org.apache.axis2.wsdl.WSDL2C -uri siri_wsProducer.wsdl -ss -sd -d adb -u
> Output:
> Retrieving document at 'siri_wsProducer.wsdl'.
> Retrieving schema wsdl:imported from 'siri.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_wsProducer.wsdl'.
> Retrieving schema at 'siri_common.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'ref/siri_location-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_common.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_common.xsd'.
> Retrieving schema at 'siri_types-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_requests-v1.0.xsd'.
> Retrieving schema at '../xml/xml.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_types-v1.0.xsd'.
> Retrieving schema at 'siri_location-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_requests-v1.0.xsd'.
> Retrieving schema at 'siri_productionTimetable_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_productionTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_journey-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_productionTimetable_service.xsd'.
> Retrieving schema at 'siri_facility-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_journey-v1.0.xsd'.
> Retrieving schema at 'siri_reference-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_facility-v1.0.xsd'.
> Retrieving schema at 'siri_types-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_reference-v1.0.xsd'.
> Retrieving schema at 'siri_location-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_reference-v1.0.xsd'.
> Retrieving schema at 'siri_time-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_reference-v1.0.xsd'.
> Retrieving schema at 'siri_facilities-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_facility-v1.0.xsd'.
> Retrieving schema at 'siri_time-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_facility-v1.0.xsd'.
> Retrieving schema at 'siri_reference-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_journey-v1.0.xsd'.
> Retrieving schema at 'ref/siri_permissions-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_productionTimetable_service.xsd'.
> Retrieving schema at 'siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_permissions-v1.0.xsd'.
> Retrieving schema at 'siri_reference-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_permissions-v1.0.xsd'.
> Retrieving schema at 'ref/siri_reference-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_productionTimetable_service.xsd'.
> Retrieving schema at 'siri_common.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_productionTimetable_service.xsd'.
> Retrieving schema at 'siri_estimatedTimetable_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_estimatedTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_journey-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_estimatedTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_permissions-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_estimatedTimetable_service.xsd'.
> Retrieving schema at 'siri_stopMonitoring_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'siri_stopTimetable_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_stopMonitoring_service.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_stopTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_journey-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_stopTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_permissions-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_stopTimetable_service.xsd'.
> Retrieving schema at 'siri_vehicleMonitoring_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_vehicleMonitoring_service.xsd'.
> Retrieving schema at 'ref/siri_journey-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_vehicleMonitoring_service.xsd'.
> Retrieving schema at 'ref/siri_permissions-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_vehicleMonitoring_service.xsd'.
> Retrieving schema at 'siri_connectionMonitoring_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'siri_connectionTimetable_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_connectionMonitoring_service.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_connectionTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_journey-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_connectionTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_permissions-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_connectionTimetable_service.xsd'.
> Retrieving schema at 'siri_generalMessage_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_generalMessage_service.xsd'.
> Retrieving schema at 'ref/siri_reference-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_generalMessage_service.xsd'.
> Retrieving schema at 'ref/siri_permissions-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_generalMessage_service.xsd'.
> Retrieving schema at 'siri_discovery.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_discovery.xsd'.
> Retrieving schema at 'ref/siri_journey-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_discovery.xsd'.
> Retrieving schema at 'siri_generalMessage_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_discovery.xsd'.
> Retrieving document at 'siri_wsProducer.wsdl'.
> Retrieving schema wsdl:imported from 'siri.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_wsProducer.wsdl'.
> Retrieving schema at 'siri_common.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'ref/siri_location-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_common.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_common.xsd'.
> Retrieving schema at 'siri_types-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_requests-v1.0.xsd'.
> Retrieving schema at '../xml/xml.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_types-v1.0.xsd'.
> Retrieving schema at 'siri_location-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_requests-v1.0.xsd'.
> Retrieving schema at 'siri_productionTimetable_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_productionTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_journey-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_productionTimetable_service.xsd'.
> Retrieving schema at 'siri_facility-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_journey-v1.0.xsd'.
> Retrieving schema at 'siri_reference-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_facility-v1.0.xsd'.
> Retrieving schema at 'siri_types-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_reference-v1.0.xsd'.
> Retrieving schema at 'siri_location-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_reference-v1.0.xsd'.
> Retrieving schema at 'siri_time-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_reference-v1.0.xsd'.
> Retrieving schema at 'siri_facilities-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_facility-v1.0.xsd'.
> Retrieving schema at 'siri_time-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_facility-v1.0.xsd'.
> Retrieving schema at 'siri_reference-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_journey-v1.0.xsd'.
> Retrieving schema at 'ref/siri_permissions-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_productionTimetable_service.xsd'.
> Retrieving schema at 'siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_permissions-v1.0.xsd'.
> Retrieving schema at 'siri_reference-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/ref/siri_permissions-v1.0.xsd'.
> Retrieving schema at 'ref/siri_reference-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_productionTimetable_service.xsd'.
> Retrieving schema at 'siri_common.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_productionTimetable_service.xsd'.
> Retrieving schema at 'siri_estimatedTimetable_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_estimatedTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_journey-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_estimatedTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_permissions-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_estimatedTimetable_service.xsd'.
> Retrieving schema at 'siri_stopMonitoring_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'siri_stopTimetable_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_stopMonitoring_service.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_stopTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_journey-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_stopTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_permissions-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_stopTimetable_service.xsd'.
> Retrieving schema at 'siri_vehicleMonitoring_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_vehicleMonitoring_service.xsd'.
> Retrieving schema at 'ref/siri_journey-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_vehicleMonitoring_service.xsd'.
> Retrieving schema at 'ref/siri_permissions-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_vehicleMonitoring_service.xsd'.
> Retrieving schema at 'siri_connectionMonitoring_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'siri_connectionTimetable_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_connectionMonitoring_service.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_connectionTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_journey-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_connectionTimetable_service.xsd'.
> Retrieving schema at 'ref/siri_permissions-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_connectionTimetable_service.xsd'.
> Retrieving schema at 'siri_generalMessage_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_generalMessage_service.xsd'.
> Retrieving schema at 'ref/siri_reference-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_generalMessage_service.xsd'.
> Retrieving schema at 'ref/siri_permissions-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_generalMessage_service.xsd'.
> Retrieving schema at 'siri_discovery.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri.xsd'.
> Retrieving schema at 'ref/siri_requests-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_discovery.xsd'.
> Retrieving schema at 'ref/siri_journey-v1.0.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_discovery.xsd'.
> Retrieving schema at 'siri_generalMessage_service.xsd', relative to 'file:/C:/axis2c-bin-1.4.0-win32/siri-1.0/siri_discovery.xsd'.
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
> 	at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:31)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
> 	... 2 more
> Caused by: java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
> 	... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:289)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 8 more
> Caused by: java.lang.NullPointerException
> 	at org.apache.axis2.schema.SchemaCompiler.isComponetExists(SchemaCompiler.java:2723)
> 	at org.apache.axis2.schema.SchemaCompiler.getParentSchemaFromIncludes(SchemaCompiler.java:2670)
> 	at org.apache.axis2.schema.SchemaCompiler.getParentSchema(SchemaCompiler.java:2644)
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:758)
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	... 9 more

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message