I am trying to create an XSD file for the document type (wm.papinet.V2R10:DeliveryMessage), but i’m getting the below error. Can someone help me with this.
Launch started: 2024-12-24 20:27:17.34
Configuration name: createXSD (5)
Configuration location: D:/Designer_1015/.metadata/.plugins/org.eclipse.debug.core/.launches/createXSD (5).launch
Could not run ‘createXSD’
com.wm.app.b2b.server.ServiceException: java.lang.NullPointerException
com.wm.app.b2b.server.ServiceException: java.lang.NullPointerException
at pub.schema.createXSD(schema.java:96)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:405)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:761)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:39)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:67)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)
at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:336)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:33)
at com.wm.app.b2b.server.invoke.ConcurrentRequestLimitProcessor.process(ConcurrentRequestLimitProcessor.java:57)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:399)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:631)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:436)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:394)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:260)
at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:119)
at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:156)
at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:203)
at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:391)
at com.wm.util.pool.PooledThread.run(PooledThread.java:127)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.NullPointerException
at com.wm.lang.schema.datatypev2.Datatype.deepClone(Datatype.java:2188)
at com.wm.xsd.mapper.XSDMapper.findSimpleType(XSDMapper.java:1174)
at com.wm.xsd.mapper.XSDMapper.mapField(XSDMapper.java:1029)
at com.wm.xsd.mapper.XSDMapper.mapFields(XSDMapper.java:684)
at com.wm.xsd.mapper.XSDMapper.mapDocType(XSDMapper.java:909)
at com.wm.xsd.mapper.XSDMapper.mapFields(XSDMapper.java:647)
at com.wm.xsd.mapper.XSDMapper.mapDocType(XSDMapper.java:909)
at com.wm.xsd.mapper.XSDMapper.mapFields(XSDMapper.java:582)
at com.wm.xsd.mapper.XSDMapper.mapDocType(XSDMapper.java:909)
at com.wm.xsd.mapper.XSDMapper.mapFields(XSDMapper.java:582)
at com.wm.xsd.mapper.XSDMapper.map(XSDMapper.java:244)
at com.wm.xsd.mapper.XSDMapper.map(XSDMapper.java:136)
at com.wm.xsd.util.CreateXSD.generateXSD(CreateXSD.java:147)
at com.wm.xsd.util.CreateXSD.generateXSD(CreateXSD.java:442)
at com.wm.xsd.util.CreateXSD.generateXSD(CreateXSD.java:358)
at pub.schema.createXSD(schema.java:93)
… 25 more
Launch completed: 2024-12-24 20:27:19.932