Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

"main" java.lang.NullPointerException #102

Open
ndevilleBE opened this issue Nov 21, 2019 · 0 comments
Open

"main" java.lang.NullPointerException #102

ndevilleBE opened this issue Nov 21, 2019 · 0 comments

Comments

@ndevilleBE
Copy link

ndevilleBE commented Nov 21, 2019

Hello,
I try to import a new offering in my SOS DB but can't make the sos importer to work. When I try to import using the wizard, the log give me the following error message:

16:21:25.560 [main] INFO Application - Application started
Created-By: 1.8.0_222 (Private Build)
Manifest-Version: 1.0
Main-Class: jdk.nashorn.tools.Shell
HeapSize Information: max: 1724MB; total now: 117MB; free now: 103MB; used now: 13MB
os.name: Linux; os.arch: amd64; os.version: 4.15.0-66-generic
16:21:26.232 [main] INFO Configuration - Feature positions validated
16:21:26.232 [main] INFO Configuration - Configuration loaded successfully from: '/home/ndeville/OneDrive/065_ADV_2013-07.txt.52n-sos-import-config.xml'
16:21:26.239 [main] DEBUG FileHelper - Shortened String '/home/ndeville/OneDrive/065_ADV_2013-07.txt.52n-sos-import-config.xml' to '7206e83e7ee4d43c26abece90f4a6ff7'
16:21:26.242 [main] INFO FeedingTask - Datafile: '/home/ndeville/OneDrive/Current_work/MOMO/Data/ADV/065_ADV_2013-07.txt'.
16:21:26.246 [main] INFO FeedingTask - Feeder class 'org.n52.sos.importer.feeder.Feeder'
16:21:26.266 [main] INFO ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@4241e0f4: startup date [Thu Nov 21 16:21:26 CET 2019]; root of context hierarchy
16:21:26.340 [main] INFO XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [application-context.xml]
16:21:26.588 [main] INFO AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
16:21:26.663 [main] DEBUG CapabilitiesBaseTypeDecoder - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/ows/1.1, type=CapabilitiesBaseType]!
16:21:26.685 [main] DEBUG FesEncoderv20 - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/fes/2.0, type=TemporalFilter], XmlEncoderKey[namespace=http://www.opengis.net/fes/2.0, type=FilterCapabilities], XmlEncoderKey[namespace=http://www.opengis.net/fes/2.0, type=SpatialFilter]!
16:21:26.711 [main] DEBUG GmlEncoderv321 - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/gml/3.2, type=CategoryValue], XmlEncoderKey[namespace=http://www.opengis.net/gml/3.2, type=QuantityValue], XmlEncoderKey[namespace=http://www.opengis.net/gml/3.2, type=SamplingFeature], XmlEncoderKey[namespace=http://www.opengis.net/gml/3.2, type=CodeWithAuthority], XmlEncoderKey[namespace=http://www.opengis.net/gml/3.2, type=AbstractGeometry], XmlEncoderKey[namespace=http://www.opengis.net/gml/3.2, type=CodeType], XmlEncoderKey[namespace=http://www.opengis.net/gml/3.2, type=ReferencedEnvelope], XmlEncoderKey[namespace=http://www.opengis.net/gml/3.2, type=Time], XmlEncoderKey[namespace=http://www.opengis.net/gml/3.2, type=Geometry], XmlEncoderKey[namespace=http://www.opengis.net/gml/3.2, type=ReferenceType], XmlEncoderKey[namespace=http://www.opengis.net/gml/3.2, type=FeatureCollection], XmlEncoderKey[namespace=http://www.opengis.net/gml/3.2, type=EnvelopeOrGeometry]!
16:21:26.827 [main] DEBUG OmEncoderv20 - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/om/2.0, type=OmObservationConstellation], XmlEncoderKey[namespace=http://www.opengis.net/om/2.0, type=NamedValue], XmlEncoderKey[namespace=http://www.opengis.net/om/2.0, type=MultiObservationValues], XmlEncoderKey[namespace=http://www.opengis.net/om/2.0, type=OmObservation], XmlEncoderKey[namespace=http://www.opengis.net/om/2.0, type=SingleObservationValue]!
16:21:26.873 [main] DEBUG OwsEncoderv110 - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/ows/1.1, type=OwsMetadata], XmlEncoderKey[namespace=http://www.opengis.net/ows/1.1, type=OwsOperationsMetadata], ExceptionEncoderKey[mediaType=text/xml], ExceptionEncoderKey[mediaType=application/xml], XmlEncoderKey[namespace=http://www.opengis.net/ows/1.1, type=OwsDomain], XmlEncoderKey[namespace=http://www.opengis.net/ows/1.1, type=OwsServiceIdentification], XmlEncoderKey[namespace=http://www.opengis.net/ows/1.1, type=OwsServiceProvider], XmlEncoderKey[namespace=http://www.opengis.net/ows/1.1, type=OwsSections], XmlEncoderKey[namespace=http://www.opengis.net/ows/1.1, type=OwsExceptionReport]!
16:21:26.892 [main] DEBUG SamplingEncoderv20 - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/sampling/2.0, type=AbstractFeature], XmlEncoderKey[namespace=http://www.opengis.net/samplingSpatial/2.0, type=AbstractFeature]!
16:21:26.931 [main] DEBUG SensorMLEncoderv20 - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/sensorml/2.0, type=AbstractSensorML], XmlEncoderKey[namespace=http://www.opengis.net/sensorml/2.0, type=DescribedObject], XmlEncoderKey[namespace=text/xml; subtype="sensorml/2.0", type=DescribedObject], XmlEncoderKey[namespace=text/xml; subtype="sensorml/2.0", type=AbstractSensorML]!
16:21:26.955 [main] DEBUG SosRequestEncoderv20 - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=OwsServiceRequest], XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetResultRequest], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=GetResultTemplate, contentType=text/xml], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=GetResultTemplate, contentType=application/xml], XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetResultTemplateRequest]!
16:21:26.968 [main] DEBUG SweCommonEncoderv20 - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/swe/2.0, type=SweCoordinate], XmlEncoderKey[namespace=http://www.opengis.net/swe/2.0, type=SweAbstractDataComponent], XmlEncoderKey[namespace=http://www.opengis.net/swe/2.0, type=SweAbstractEncoding]!
16:21:26.975 [main] DEBUG SwesExtensionEncoderv20 - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/swes/2.0, type=SwesExtension]!
16:21:26.984 [main] DEBUG XlinkEncoderv1999 - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.w3.org/1999/xlink, type=W3CHrefAttribute]!
16:21:26.993 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=GetCapabilities, contentType=text/xml], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=GetCapabilities, contentType=application/xml], XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetCapabilitiesRequest]!
16:21:27.023 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetCapabilitiesResponse], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=GetCapabilities, contentType=text/xml], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=GetCapabilities, contentType=application/xml]!
16:21:27.033 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: OperationRequestEncoderKey[service=SOS, version=1.0.0, operation=GetCapabilities, contentType=text/xml], OperationRequestEncoderKey[service=SOS, version=1.0.0, operation=GetCapabilities, contentType=application/xml], XmlEncoderKey[namespace=http://www.opengis.net/sos/1.0, type=GetCapabilitiesRequest]!
16:21:27.045 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=GetObservation, contentType=text/xml], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=GetObservation, contentType=application/xml], XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetObservationRequest]!
16:21:27.056 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=GetObservation, contentType=text/xml], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=GetObservation, contentType=application/xml], XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetObservationResponse]!
16:21:27.069 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetResultResponse], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=GetResult, contentType=text/xml], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=GetResult, contentType=application/xml]!
16:21:27.083 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetResultTemplateResponse], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=GetResultTemplate, contentType=text/xml], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=GetResultTemplate, contentType=application/xml]!
16:21:27.091 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=InsertObservation, contentType=text/xml], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=InsertObservation, contentType=application/xml], XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=InsertObservationResponse]!
16:21:27.100 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/swes/2.0, type=InsertObservationRequest], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=InsertObservation, contentType=text/xml], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=InsertObservation, contentType=application/xml]!
16:21:27.110 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/swes/2.0, type=InsertResultRequest], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=InsertResult, contentType=text/xml], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=InsertResult, contentType=application/xml]!
16:21:27.120 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=InsertResultResponse], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=InsertResult, contentType=text/xml], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=InsertResult, contentType=application/xml]!
16:21:27.131 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/swes/2.0, type=InsertResultTemplateRequest], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=InsertResultTemplate, contentType=text/xml], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=InsertResultTemplate, contentType=application/xml]!
16:21:27.140 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=InsertResultTemplateResponse], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=InsertResultTemplate, contentType=text/xml], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=InsertResultTemplate, contentType=application/xml]!
16:21:27.148 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=InsertSensor, contentType=text/xml], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=InsertSensor, contentType=application/xml], XmlEncoderKey[namespace=http://www.opengis.net/swes/2.0, type=InsertSensorResponse]!
16:21:27.159 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/swes/2.0, type=InsertSensorRequest], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=InsertSensor, contentType=text/xml], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=InsertSensor, contentType=application/xml]!
16:21:27.168 [main] DEBUG SosRequestEncoderv20 - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=OwsServiceRequest], XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetResultRequest], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=GetResultTemplate, contentType=text/xml], OperationRequestEncoderKey[service=SOS, version=2.0.0, operation=GetResultTemplate, contentType=application/xml], XmlEncoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetResultTemplateRequest]!
16:21:27.177 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: OperationResponseEncoderKey[service=SOS, version=1.0.0, operation=GetCapabilities, contentType=text/xml], OperationResponseEncoderKey[service=SOS, version=1.0.0, operation=GetCapabilities, contentType=application/xml], XmlEncoderKey[namespace=http://www.opengis.net/sos/1.0, type=GetCapabilitiesResponse]!
16:21:27.186 [main] DEBUG AbstractResponseEncoder - Encoder for the following keys initialized successfully: XmlEncoderKey[namespace=http://www.opengis.net/swes/2.0, type=UpdateSensorResponse], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=UpdateSensorDescription, contentType=text/xml], OperationResponseEncoderKey[service=SOS, version=2.0.0, operation=UpdateSensorDescription, contentType=application/xml]!
16:21:27.224 [main] DEBUG CapabilitiesDecoder - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/1.0, type=Capabilities]!
16:21:27.231 [main] DEBUG GetObservationResponseDocumentDecoder - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=CapabilitiesDocument]!
16:21:27.239 [main] DEBUG CapabilitiesTypeDecoder - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=CapabilitiesType]!
16:21:27.246 [main] DEBUG CapabilitiesV1DocumentDecoder - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/1.0, type=CapabilitiesDocument]!
16:21:27.259 [main] DEBUG FesDecoderv20 - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/fes/2.0, type=ComparisonOpsType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/fes/2.0, type=FilterDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/fes/2.0, type=TemporalOpsType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/fes/2.0, type=LogicOpsType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/fes/2.0, type=SpatialOpsType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/fes/2.0, type=TemporalOpsDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/fes/2.0, type=FilterType]!
16:21:27.320 [main] DEBUG GmlDecoderv321 - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=PointType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=FeaturePropertyType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=EnvelopeType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=PointDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=MultiCurveType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=PolygonType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=GeometryPropertyType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=FeatureCollectionDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=CodeType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=FeatureCollectionType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=VerticalDatumPropertyType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=TimeInstantDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=MeasureType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=LineStringType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=TimePeriodDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=CompositeSurfaceType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=TimeInstantType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=MultiCurveDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=T=MeasureType@http://www.opengis.net/gml/3.2, type=MeasureType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=ReferenceType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=CodeWithAuthorityType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=EnvelopeDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/gml/3.2, type=TimePeriodType]!
16:21:27.329 [main] DEBUG OmDecoderv20 - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/om/2.0, type=OMObservationDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/om/2.0, type=OMObservationType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/om/2.0, type=NamedValuePropertyType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/om/2.0, type=NamedValuePropertyType[]]!
16:21:27.342 [main] DEBUG RelatedOfferingTypeDecoder - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sosro/1.0, type=RelatedOfferingsPropertyType]!
16:21:27.349 [main] DEBUG SamplingDecoderv20 - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sampling/2.0, type=SFSpatialSamplingFeatureType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/samplingSpatial/2.0, type=SFSpatialSamplingFeatureDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sampling/2.0, type=SFSpatialSamplingFeatureDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/samplingSpatial/2.0, type=SFSpatialSamplingFeatureType]!
16:21:27.372 [main] DEBUG SensorMLDecoderV101 - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sensorML/1.0.1, type=SensorMLDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sensorML/1.0.1, type=SystemDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sensorML/1.0.1, type=ProcessModelType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sensorML/1.0.1, type=SystemType]!
16:21:27.383 [main] DEBUG SosDecoderv100 - Decoder for the following namespaces initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/1.0, type=GetObservationDocument], OperationDecoderKey[service=SOS, version=1.0.0, operation=DescribeSensor, contentType=application/xml], OperationDecoderKey[service=SOS, version=1.0.0, operation=GetObservationById, contentType=application/xml], OperationDecoderKey[service=SOS, version=1.0.0, operation=GetCapabilities, contentType=application/xml], OperationDecoderKey[service=SOS, version=1.0.0, operation=GetCapabilities, contentType=text/xml], OperationDecoderKey[service=SOS, version=1.0.0, operation=DescribeSensor, contentType=text/xml], OperationDecoderKey[service=SOS, version=1.0.0, operation=GetObservation, contentType=application/xml], OperationDecoderKey[service=SOS, version=1.0.0, operation=GetFeatureOfInterest, contentType=text/xml], OperationDecoderKey[service=SOS, version=1.0.0, operation=GetFeatureOfInterest, contentType=application/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/1.0, type=DescribeSensorDocument], OperationDecoderKey[service=SOS, version=1.0.0, operation=GetObservation, contentType=text/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/1.0, type=GetCapabilitiesDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/1.0, type=GetFeatureOfInterestDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/1.0, type=GetObservationByIdDocument], OperationDecoderKey[service=SOS, version=1.0.0, operation=GetObservationById, contentType=text/xml]!
16:21:27.396 [main] DEBUG SosDecoderv20 - Decoder for the following keys initialized successfully: OperationDecoderKey[service=SOS, version=2.0.0, operation=GetObservationById, contentType=application/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=GetFeatureOfInterest, contentType=text/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertObservation, contentType=text/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetObservationDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertResult, contentType=text/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=GetResult, contentType=text/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetResultTemplateResponseDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertResultTemplate, contentType=text/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetFeatureOfInterestDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=InsertResultDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=GetObservation, contentType=text/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=GetResultTemplate, contentType=text/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetObservationByIdDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=GetCapabilities, contentType=application/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=InsertResultTemplateDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=GetResult, contentType=application/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetResultTemplateDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertObservation, contentType=application/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=GetFeatureOfInterest, contentType=application/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertResult, contentType=application/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=GetObservationById, contentType=text/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetResultDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertResultTemplate, contentType=application/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetResultResponseDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=GetObservation, contentType=application/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=GetResultTemplate, contentType=application/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=GetCapabilitiesDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=GetCapabilities, contentType=text/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=InsertObservationDocument]!
16:21:27.404 [main] DEBUG SosStringDecoderv20 - Decoder for the following keys initialized successfully: XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=GetCapabilities, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=GetObservationById, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=GetFeatureOfInterest, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=null, operation=GetCapabilities, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=GetResult, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=InsertObservation, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=GetResult, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=InsertResult, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=GetFeatureOfInterest, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=InsertObservation, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=GetResultTemplate, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=InsertResultTemplate, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=InsertResultTemplate, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=InsertResult, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=GetObservationById, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=GetObservation, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=GetResultTemplate, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=null, operation=GetCapabilities, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=GetCapabilities, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=GetObservation, contentType=application/xml]!
16:21:27.420 [main] DEBUG SweCommonDecoderV20 - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=CategoryType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=TextEncodingDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=DataStreamType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=TextEncodingType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=AbstractDataComponentType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=BooleanType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=Coordinate[]], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=DataStreamPropertyType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=TextPropertyType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=DataArrayType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=CategoryPropertyType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=DataRecordType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=CountType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=DataArrayDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=DataRecordDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=DataStreamDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=AbstractDataComponentDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=QuantityPropertyType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=QuantityType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=CountPropertyType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=BooleanPropertyType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=DataArrayPropertyType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=TextType], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=AnyScalarPropertyType[]], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swe/2.0, type=DataRecordPropertyType]!
16:21:27.430 [main] DEBUG SwesDecoderv20 - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swes/2.0, type=DescribeSensorDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=DeleteSensor, contentType=application/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertSensor, contentType=application/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=DeleteSensor, contentType=text/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swes/2.0, type=InsertSensorDocument], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swes/2.0, type=UpdateSensorDescriptionDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertSensor, contentType=text/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=DescribeSensor, contentType=application/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swes/2.0, type=DeleteSensorDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=UpdateSensorDescription, contentType=application/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=UpdateSensorDescription, contentType=text/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=DescribeSensor, contentType=text/xml]!
16:21:27.435 [main] DEBUG SwesDecoderv20 - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swes/2.0, type=XmlAnyTypeImpl], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.w3.org/2001/XMLSchema, type=XmlAnyTypeImpl]!
16:21:27.438 [main] DEBUG SwesStringDecoderv20 - Decoder for the following keys initialized successfully: XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=DeleteSensor, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=DescribeSensor, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=UpdateSensorDescription, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=InsertSensor, contentType=text/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=InsertSensor, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=UpdateSensorDescription, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=DeleteSensor, contentType=application/xml], XmlStringOperationDecoderKey[service=SOS, version=2.0.0, operation=DescribeSensor, contentType=text/xml]!
16:21:27.443 [main] DEBUG XlinkDecoderv1999 - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.w3.org/1999/xlink, type=HrefAttribute]!
16:21:27.445 [main] DEBUG InsertObservationResponseV20Decoder - Decoder for the following keys initialized successfully: OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertObservation, contentType=application/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertObservation, contentType=text/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=InsertObservationResponseDocument]!
16:21:27.450 [main] DEBUG InsertResultResponseDecoder - Decoder for the following keys initialized successfully: OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertResult, contentType=application/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=InsertResultResponseDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertResult, contentType=text/xml]!
16:21:27.454 [main] DEBUG InsertResultTemplateResponseDecoder - Decoder for the following keys initialized successfully: org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/sos/2.0, type=InsertResultTemplateResponseDocument], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertResultTemplate, contentType=application/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertResultTemplate, contentType=text/xml]!
16:21:27.457 [main] DEBUG InsertSensorResponseDecoder - Decoder for the following keys initialized successfully: OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertSensor, contentType=application/xml], OperationDecoderKey[service=SOS, version=2.0.0, operation=InsertSensor, contentType=text/xml], org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swes/2.0, type=InsertSensorResponseDocument]!
16:21:27.730 [main] INFO Feeder - Instance of Feeder 'org.n52.sos.importer.feeder.Feeder' initialized.
16:21:27.730 [main] DEBUG SimpleHttpClient - executing GET method 'https://ears.bmdc.be/52n-sos-webapp/service?service=SOS&request=GetCapabilities&Sections=ServiceProvider'
16:21:27.985 [main] DEBUG SimpleHttpClient - executing GET method 'https://ears.bmdc.be/52n-sos-webapp/service?service=SOS&request=GetCapabilities'
16:21:28.342 [main] DEBUG AbstractSimilarityKeyComponentRepository - No implementation for org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://www.opengis.net/swes/2.0, type=CodeTypeImpl]
16:21:28.406 [main] DEBUG AbstractSimilarityKeyComponentRepository - No implementation for org.n52.svalbard.decode.XmlNamespaceDecoderKey[namespace=http://inspire.ec.europa.eu/schemas/inspire_dls/1.0, type=XmlAnyTypeImpl]
Exception in thread "main" java.lang.NullPointerException
at org.n52.svalbard.decode.AbstractXmlDecoder.decodeXmlObject(AbstractXmlDecoder.java:80)
at org.n52.svalbard.decode.AbstractXmlDecoder.decodeXmlElement(AbstractXmlDecoder.java:53)
at org.n52.svalbard.decode.SwesExtensionDecoderv20.decode(SwesExtensionDecoderv20.java:71)
at org.n52.svalbard.decode.SwesExtensionDecoderv20.decode(SwesExtensionDecoderv20.java:47)
at org.n52.svalbard.decode.AbstractXmlDecoder.decodeXmlObject(AbstractXmlDecoder.java:87)
at org.n52.svalbard.decode.AbstractXmlDecoder.decodeXmlElement(AbstractXmlDecoder.java:53)
at org.n52.svalbard.decode.CapabilitiesTypeDecoder.parseOfferingExtension(CapabilitiesTypeDecoder.java:206)
at org.n52.svalbard.decode.CapabilitiesTypeDecoder.parseOffering(CapabilitiesTypeDecoder.java:136)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
at org.n52.svalbard.decode.CapabilitiesTypeDecoder.parseContents(CapabilitiesTypeDecoder.java:115)
at org.n52.svalbard.decode.CapabilitiesTypeDecoder.parseContents(CapabilitiesTypeDecoder.java:107)
at org.n52.svalbard.decode.CapabilitiesTypeDecoder.decode(CapabilitiesTypeDecoder.java:97)
at org.n52.svalbard.decode.CapabilitiesTypeDecoder.decode(CapabilitiesTypeDecoder.java:72)
at org.n52.svalbard.decode.AbstractXmlDecoder.decodeXmlObject(AbstractXmlDecoder.java:87)
at org.n52.svalbard.decode.CapabilitiesDocumentDecoder.decode(CapabilitiesDocumentDecoder.java:60)
at org.n52.svalbard.decode.CapabilitiesDocumentDecoder.decode(CapabilitiesDocumentDecoder.java:38)
at org.n52.sos.importer.feeder.util.web.ArcticSeaSosClient.decodeResponse(ArcticSeaSosClient.java:870)
at org.n52.sos.importer.feeder.util.web.ArcticSeaSosClient.requestCapabilities(ArcticSeaSosClient.java:985)
at org.n52.sos.importer.feeder.util.web.ArcticSeaSosClient.checkCache(ArcticSeaSosClient.java:470)
at org.n52.sos.importer.feeder.util.web.ArcticSeaSosClient.isInstanceTransactional(ArcticSeaSosClient.java:266)
at org.n52.sos.importer.feeder.Feeder.isSosTransactional(Feeder.java:231)
at org.n52.sos.importer.feeder.tasks.FeedingTask.feedData(FeedingTask.java:158)
at org.n52.sos.importer.feeder.Application.main(Application.java:86)

I just built the sos-importer from the github. I managed to import data in the past but it's not working anymore.
Thanks

@ndevilleBE ndevilleBE changed the title Could not parse response to XML "main" java.lang.NullPointerException Nov 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant