Select to view content in your preferred language

can not edit my service Inspire view

3881
5
06-06-2011 12:49 AM
BertrandGenty
Deactivated User
Hi ,
i have a problem to edit a service inspire view
the log message is :

failed to construct soe class com.esri.a4i.ifc.soe.view.InspireViewService java.lang.IllegalStateException: can't initialize instance of class : java.lang.NullPointerException at com.esri.a4i.ifc.soe.api.AbstractNetworkService.findAndInitInternalSOEServiceFactory(AbstractNetworkService.java:517) at com.esri.a4i.ifc.soe.api.AbstractNetworkService.initializeSOEContext(AbstractNetworkService.java:490) at com.esri.a4i.ifc.soe.api.AbstractNetworkService.construct(AbstractNetworkService.java:399) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) Caused by: java.lang.NullPointerException at com.esri.a4i.ifc.soe.common.domain.InspireDomainInformation.getWorkspaceType(InspireDomainInformation.java:482) at com.esri.a4i.ifc.soe.view.InternalViewSOEServiceFactory.internalInit(InternalViewSOEServiceFactory.java:89) at com.esri.a4i.ifc.soe.common.AbstractInternalSOEServiceFactory.init(AbstractInternalSOEServiceFactory.java:67) at com.esri.a4i.ifc.soe.api.AbstractNetworkService.findAndInitInternalSOEServiceFactory(AbstractNetworkService.java:513) ... 6 more  2011-06-06 09:24:42 TestInspire.MapServer NS367552  
ERROR can't initialize instance of class : java.lang.NullPointerException java.lang.NullPointerException at com.esri.a4i.ifc.soe.common.domain.InspireDomainInformation.getWorkspaceType(InspireDomainInformation.java:482) at com.esri.a4i.ifc.soe.view.InternalViewSOEServiceFactory.internalInit(InternalViewSOEServiceFactory.java:89) at com.esri.a4i.ifc.soe.common.AbstractInternalSOEServiceFactory.init(AbstractInternalSOEServiceFactory.java:67) at com.esri.a4i.ifc.soe.api.AbstractNetworkService.findAndInitInternalSOEServiceFactory(AbstractNetworkService.java:513) at com.esri.a4i.ifc.soe.api.AbstractNetworkService.initializeSOEContext(AbstractNetworkService.java:490) at com.esri.a4i.ifc.soe.api.AbstractNetworkService.construct(AbstractNetworkService.java:399) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 


could someone give me a track ?

thanks for your help,

Bertrand GENTY
Graph Land
Paris
Tags (2)
0 Kudos
5 Replies
AitorCalero_García
Esri Contributor
Hi ,

could someone give me a track ?


Could you please give us some more information in order to help you? What type of operation were you doing, etc...?
0 Kudos
StefanBlume
Deactivated User
Hi ,
Caused by: java.lang.NullPointerException at com.esri.a4i.ifc.soe.common.domain.InspireDomainInformation.getWorkspaceType(InspireDomainInformation.java:482)


Hi,
are you running the View Service on top of a INSPIRE GDB (SDE)?
Stefan
0 Kudos
BertrandGenty
Deactivated User
Hi,
Thanks for your answers.
I give your more precisions :
- The operation I try doing  is : when i publish an Inspire View service that a message appear :
"Impossible to launch the configuration TestInspire. MapServer.
The creation of the authority of the object server failed on the machine ns367552."
- My gdb inspire is store in sql server name of service : sde:sqlserver:ns367552.ovh.net
- The layer is > gis.INSPIRE.auAdmUnitS

thanks for your help,

Bertrand
GRAPH LAND
PARIS
0 Kudos
FIRLEJSamuel
Deactivated User
Hello,
I actually have the same problem using a 10.1 Oracle GDB.

Here is my AGServer log:

SEVERE 2 janv. 2013 11:06:40 Failed to construct instance of service 'INSPIRE/INSPIREVIEW.MapServer'. Unspecified error Server TGEOPORTAIL.GNANCY.LOCAL 8274   5064 1 

SEVERE 2 janv. 2013 11:06:40 Failed to initialize server object 'INSPIRE/INSPIREVIEW': 0x80004005: Unspecified error  Server TGEOPORTAIL.GNANCY.LOCAL 8003   6748 17 

SEVERE 2 janv. 2013 11:06:40 failed to construct soe class com.esri.a4i.soe.view.InspireViewService java.lang.IllegalStateException: can't initialize instance of class class com.esri.a4i.soe.view.InternalViewSOEServiceFactory' : java.lang.IllegalArgumentException: can't load template ! Msg:javax.xml.transform.TransformerConfigurationException: Impossible de compiler la feuille de style at com.esri.a4i.soe.api.AbstractNetworkService.findAndInitInternalSOEServiceFactory(AbstractNetworkService.java:593) at com.esri.a4i.soe.api.AbstractNetworkService.initializeSOEContext(AbstractNetworkService.java:578) at com.esri.a4i.soe.api.AbstractNetworkService.construct(AbstractNetworkService.java:381) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.esri.arcgis.interop.NativeObjRef.nativeVtblInvokeNative(Native Method) at com.esri.arcgis.interop.NativeObjRef.a(Unknown Source) at com.esri.arcgis.interop.NativeObjRef.a(Unknown Source) at com.esri.arcgis.interop.Dispatch.vtblInvoke(Unknown Source) at com.esri.arcgis.system.IObjectConstructProxy.construct(Unknown Source) at com.esri.arcgis.discovery.servicelib.impl.SOThread.run(SOThread.java:323) Caused by: java.lang.IllegalArgumentException: can't load template ! Msg:javax.xml.transform.TransformerConfigurationException: Impossible de compiler la feuille de style at com.esri.a4i.soe.common.xml.XSLTTemplateEngine.addTemplate(XSLTTemplateEngine.java:167) at com.esri.a4i.soe.view.InternalViewSOEServiceFactory.internalInit(InternalViewSOEServiceFactory.java:52) at com.esri.a4i.soe.common.AbstractInternalSOEServiceFactory.init(AbstractInternalSOEServiceFactory.java:79) at com.esri.a4i.soe.api.AbstractNetworkService.findAndInitInternalSOEServiceFactory(AbstractNetworkService.java:589) ... 12 more Caused by: javax.xml.transform.TransformerConfigurationException: Impossible de compiler la feuille de style at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:885) at com.esri.a4i.soe.common.xml.XSLTTemplateEngine.addTemplate(XSLTTemplateEngine.java:164) ... 15 more  INSPIRE/INSPIREVIEW.MapServer TGEOPORTAIL.GNANCY.LOCAL 30000   6748 7116 
SEVERE 2 janv. 2013 11:06:40 can't initialize instance of class 'class com.esri.a4i.soe.view.InternalViewSOEServiceFactory' : java.lang.IllegalArgumentException: can't load template ! Msg:javax.xml.transform.TransformerConfigurationException: Impossible de compiler la feuille de style java.lang.IllegalArgumentException: can't load template ! Msg:javax.xml.transform.TransformerConfigurationException: Impossible de compiler la feuille de style at com.esri.a4i.soe.common.xml.XSLTTemplateEngine.addTemplate(XSLTTemplateEngine.java:167) at com.esri.a4i.soe.view.InternalViewSOEServiceFactory.internalInit(InternalViewSOEServiceFactory.java:52) at com.esri.a4i.soe.common.AbstractInternalSOEServiceFactory.init(AbstractInternalSOEServiceFactory.java:79) at com.esri.a4i.soe.api.AbstractNetworkService.findAndInitInternalSOEServiceFactory(AbstractNetworkService.java:589) at com.esri.a4i.soe.api.AbstractNetworkService.initializeSOEContext(AbstractNetworkService.java:578) at com.esri.a4i.soe.api.AbstractNetworkService.construct(AbstractNetworkService.java:381) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.esri.arcgis.interop.NativeObjRef.nativeVtblInvokeNative(Native Method) at com.esri.arcgis.interop.NativeObjRef.a(Unknown Source) at com.esri.arcgis.interop.NativeObjRef.a(Unknown Source) at com.esri.arcgis.interop.Dispatch.vtblInvoke(Unknown Source) at com.esri.arcgis.system.IObjectConstructProxy.construct(Unknown Source) at com.esri.arcgis.discovery.servicelib.impl.SOThread.run(SOThread.java:323) Caused by: javax.xml.transform.TransformerConfigurationException: Impossible de compiler la feuille de style at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:885) at com.esri.a4i.soe.common.xml.XSLTTemplateEngine.addTemplate(XSLTTemplateEngine.java:164) ... 15 more  INSPIRE/INSPIREVIEW.MapServer TGEOPORTAIL.GNANCY.LOCAL 30000   6748 7116 
WARNING 2 janv. 2013 11:06:40 XSLT Error Impossible de compiler la feuille de style INSPIRE/INSPIREVIEW.MapServer TGEOPORTAIL.GNANCY.LOCAL 30000   6748 7116 

WARNING 2 janv. 2013 11:06:40 XSLT Error Le premier argument pour la fonction Java 'replace' non static n'est pas une référence d'objet valide. INSPIRE/INSPIREVIEW.MapServer

Unpossible for me to start my Inspire view service too.

Thank's

Sam
0 Kudos
FIRLEJSamuel
Deactivated User
Well, I found the solution.
I just forgot to install SP1 of Arcgis for Inspire server extension.

Everything works fine now with this update.

Sam
0 Kudos