Issue while creating a Post Request in Cumulocity microservice

Lets my device id is X and I want to store Some Value in my device.

So I have created a spring boot Post service to do so in cumulocity, but when I tried to Post the data through postman so I have received Null instead of object in post, The same program is run perfectly on my local as a spring boot app.

Can you share the piece of code of your spring-boot app and then also which HTTP requests you are sending.
Where does the null appear? You get it as response? It is in the data created in Cumulocity?

@PostMapping(path=“/annuallyusedfe”, produces = MediaType.APPLICATION_JSON_VALUE)
public void addAnnuallyUsedFe(@RequestBody AnnuallyFe annual) throws JsonParseException, JsonMappingException, IOException {
logger.info(“Entering in addAnnuallyUsedFe()”);
logger.info(“fe:”+annual.getFe());
logger.info(“DeviceId:”+annual.getDeviceId());
Float fe = Float.parseFloat(annual.getFe());

		logger.info("fe:"+fe);
		DateFormat dtf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
		dtf.setTimeZone(TimeZone.getTimeZone("UTC"));
		Date date = new Date(System.currentTimeMillis());
		String dateSet = dtf.format(date);
		String deviceId = annual.getDeviceId();
		//String deviceId ="1271329";
		logger.info("DeviceId:"+deviceId);
		String feUnit = "%wt";
		try {
			JSONObject json = new JSONObject();
			json = createMeasurementJson("c8y_annuallyused", "Fe", deviceId, fe, feUnit, dateSet);
			restClient.sendDeviceMeasurements(json);

		} catch (ParseException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

MyJson Object
{
“fe”: “0.4”,
“deviceId”: “1271329”
}

My Pojo Class
@JsonIgnoreProperties(ignoreUnknown = true)
public class AnnuallyFe {
private String fe;
private String deviceId;
public String getFe() {
return fe;
}
public void setFe(String fe) {
this.fe = fe;
}
public String getDeviceId() {
return deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
}

Please also share the HTTP calls you have been doing to call the service and as you already have some logging in your code please also share the logs from the microservice running in Cumulocity. You can find documentation how you can access that here: Administration - Cumulocity IoT Guides

Microsoft Windows [Version 10.0.19041.804]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\Users\asd\Desktop\New Cumlocity\recovryboiler>mvn clean install
[INFO] Scanning for projects…
[INFO]
[INFO] ---------------------< c8y.example:recovryboiler >----------------------
[INFO] Building recovryboiler 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ recovryboiler —
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ recovryboiler —
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] — maven-compiler-plugin:3.1:compile (default-compile) @ recovryboiler —
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 12 source files to C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\classes
[WARNING] /C:/Users/asd/Desktop/New Cumlocity/recovryboiler/src/main/java/c8y/solenis/recovryboiler/controller/SeveralTimeUsed.java: Some input files use unchecked or unsafe operations.
[WARNING] /C:/Users/asd/Desktop/New Cumlocity/recovryboiler/src/main/java/c8y/solenis/recovryboiler/controller/SeveralTimeUsed.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ recovryboiler —
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\asd\Desktop\New Cumlocity\recovryboiler\src\test\resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:testCompile (default-testCompile) @ recovryboiler —
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 1 source file to C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\test-classes
[INFO]
[INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ recovryboiler —
[INFO] Surefire report directory: C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\surefire-reports


T E S T S

Running c8y.example.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] — maven-jar-plugin:2.4:jar (default-jar) @ recovryboiler —
[INFO] Building jar: C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\recovryboiler-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] — spring-boot-maven-plugin:1.5.17.RELEASE:repackage (default) @ recovryboiler —
[INFO]
[INFO] — microservice-package-maven-plugin:1006.6.8:package (package) @ recovryboiler —
[INFO] docker container recovryboiler in network ‘’
[INFO] copy resources from Resource {targetPath: null, filtering: true, FileSet {directory: C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\tmp, PatternSet [includes: {}, excludes: {}]}} toC:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO] copy resources from Resource {targetPath: null, filtering: true, FileSet {directory: C:\Users\asd\Desktop\New Cumlocity\recovryboiler\src\main\configuration, PatternSet [includes: {}, excludes: {}]}} toC:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\etc
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] copy resources from Resource {targetPath: null, filtering: true, FileSet {directory: C:\Users\asd\Desktop\New Cumlocity\recovryboiler\src\main\docker, PatternSet [includes: {}, excludes: {}]}} toC:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\asd\Desktop\New Cumlocity\recovryboiler\src\main\docker
[INFO] Using authentication suppliers: [ConfigFileRegistryAuthSupplier]
[INFO] Copying C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\Dockerfile → C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker\Dockerfile
[INFO] Copying C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\etc\cumulocity.json → C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker\etc\cumulocity.json
[INFO] Copying C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\etc\licenses → C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker\etc\licenses
[INFO] Copying C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\etc\recovryboiler-logging.xml → C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker\etc\recovryboiler-logging.xml
[INFO] Copying C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\resources\entrypoint.sh → C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker\resources\entrypoint.sh
[INFO] Copying C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\resources\recovryboiler.jar → C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker\resources\recovryboiler.jar
[INFO] Building image recovryboiler
Step 1/6 : FROM alpine:3

—> e50c909a8df2
Step 2/6 : RUN apk add --no-cache coreutils openjdk8

—> Using cache
—> c99ad828c213
Step 3/6 : COPY etc/ /etc/recovryboiler/

—> Using cache
—> 62969746a9ae
Step 4/6 : ADD resources/* /data/

—> 71a6f5e5f87b
Step 5/6 : RUN chmod +x /data/entrypoint.sh

—> Running in ab10f9a6e24c
Removing intermediate container ab10f9a6e24c
—> 981e66c3468a
Step 6/6 : ENTRYPOINT /data/entrypoint.sh

—> Running in 405aa07d9544
Removing intermediate container 405aa07d9544
—> 40a26a73c520
ProgressMessage{id=null, status=null, stream=null, error=null, progress=null, progressDetail=null}
Successfully built 40a26a73c520
Successfully tagged recovryboiler:latest
[INFO] Built recovryboiler
[INFO] Tagging recovryboiler with 1.0.0-SNAPSHOT
[INFO] Tagging recovryboiler with latest
[INFO] microservice zip container recovryboiler
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 1 resource
Feb 23, 2021 3:05:56 PM org.hibernate.validator.internal.util.Version
INFO: HV000001: Hibernate Validator 5.4.3.Final
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ recovryboiler —
[INFO] Installing C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\recovryboiler-1.0.0-SNAPSHOT.jar to C:\Users\asd.m2\repository\c8y\example\recovryboiler\1.0.0-SNAPSHOT\recovryboiler-1.0.0-SNAPSHOT.jar
[INFO] Installing C:\Users\asd\Desktop\New Cumlocity\recovryboiler\pom.xml to C:\Users\asd.m2\repository\c8y\example\recovryboiler\1.0.0-SNAPSHOT\recovryboiler-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11:30 min
[INFO] Finished at: 2021-02-23T15:06:18+05:30
[INFO] ------------------------------------------------------------------------

C:\Users\asd\Desktop\New Cumlocity\recovryboiler>docker run -p 8082:80 -e C8Y_BOOTSTRAP_TENANT=solenis -e C8Y_BOOTSTRAP_USER=servicebootstrap_recovryboiler -e C8Y_BOOTSTRAP_PASSWORD=f745rWVwJHewvEZ5Blr9k43s5mS9QsCS -e C8Y_MICROSERVICE_ISOLATION=MULTI_TENANT -i -t -e C8Y_BASEURL=https://solenis.us.cumulocity.com recovryboiler:latest
heap dumps /var/log/recovryboiler/heap-dump-.hprof
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=64m; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
LOGBACK: No context given for c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@959447386
2021-02-23 10:21:41.610 DEBUG 9 — [ main] .c.l.ClasspathLoggingApplicationListener : Application started with classpath: [jar:file:/data/recovryboiler.jar!/BOOT-INF/classes!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-data-rest-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-data-rest-webmvc-3.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-data-rest-core-3.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-tx-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-hateoas-1.0.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/json-path-2.4.0.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/json-smart-2.3.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/accessors-smart-1.2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/asm-5.0.4.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-data-commons-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-plugin-core-2.0.0.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/evo-inflector-1.2.2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jackson-databind-2.9.9.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jackson-core-2.9.9.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jackson-annotations-2.9.0.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/slf4j-api-1.7.30.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-web-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-autoconfigure-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-logging-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/logback-classic-1.2.3.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/logback-core-1.2.3.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/log4j-to-slf4j-2.12.1.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/log4j-api-2.12.1.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jul-to-slf4j-1.7.30.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jakarta.annotation-api-1.3.5.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-core-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-jcl-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/snakeyaml-1.25.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-json-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jackson-datatype-jdk8-2.9.9.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jackson-datatype-jsr310-2.9.9.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jackson-module-parameter-names-2.9.9.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-tomcat-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/tomcat-embed-core-9.0.30.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/tomcat-embed-el-9.0.30.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/tomcat-embed-websocket-9.0.30.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-validation-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jakarta.validation-api-2.0.2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/hibernate-validator-6.0.18.Final.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jboss-logging-3.4.1.Final.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/classmate-1.5.1.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-web-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-beans-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-webmvc-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-aop-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-context-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-expression-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-autoconfigure-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-context-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/guava-21.0.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/core-model-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/svenson-1.5.8-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jcl-over-slf4j-1.7.30.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-io-2.4.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-beanutils-1.9.4.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-collections-3.2.2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/json-path-1.2.0-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/json-smart-2.1.0-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/joda-time-2.10.5.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-subscription-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/java-client-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/common-notification-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/common-rest-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-security-core-5.2.1.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/common-utils-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-lang-2.6.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/rest-representation-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jersey-apache-client-1.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-httpclient-3.1.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-logging-1.0.4.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jersey-client-1.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jersey-core-1.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jersey-multipart-1.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/mimepull-1.4.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/json-20190722.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/cometd-java-client-3.0.10.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/bayeux-api-3.0.10.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/cometd-java-common-3.0.10.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jetty-util-ajax-9.4.25.v20191220.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jetty-util-8.1.7.v20120910.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-logging-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-properties-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-security-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-security-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-security-config-5.2.1.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-security-web-5.2.1.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-security-jwt-1.1.0.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/bcpkix-jdk15on-1.64.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/bcprov-jdk15on-1.64.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-platform-api-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-monitoring-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-actuator-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-actuator-autoconfigure-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-actuator-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/micrometer-core-1.3.2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/HdrHistogram-2.1.11.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/LatencyUtils-2.0.3.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/micrometer-registry-prometheus-1.3.2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/simpleclient_common-0.7.0.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/simpleclient-0.7.0.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-settings-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/json-simple-1.1.1.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/httpclient-4.5.10.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/httpcore-4.4.13.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-codec-1.13.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/poi-3.11-beta2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/poi-ooxml-3.11-beta2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/poi-ooxml-schemas-3.11-beta2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/xmlbeans-2.6.0.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/stax-api-1.0.1.jar!/]
2021-02-23 10:21:41.876 INFO 9 — [ main] c.c.m.l.c.LoggingEnvironmentRunListener : logging.conf: /etc/recovryboiler/recovryboiler-logging.xml
10:21:37,082 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
10:21:37,086 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
10:21:37,088 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.xml]
10:21:37,117 |-INFO in ch.qos.logback.classic.BasicConfigurator@16c0663d - Setting up default configuration.
10:21:40,656 |-WARN in Logger[org.springframework.core.env.PropertySourcesPropertyResolver] - No appenders present in context [default] for logger [org.springframework.core.env.PropertySourcesPropertyResolver].
10:21:40,717 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating ERROR level on Logger[org.apache.catalina.startup.DigesterFactory] onto the JUL framework
10:21:40,719 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating ERROR level on Logger[org.apache.catalina.util.LifecycleBase] onto the JUL framework
10:21:40,720 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating WARN level on Logger[org.apache.coyote.http11.Http11NioProtocol] onto the JUL framework
10:21:40,720 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating WARN level on Logger[org.apache.sshd.common.util.SecurityUtils] onto the JUL framework
10:21:40,720 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating WARN level on Logger[org.apache.tomcat.util.net.NioSelectorPool] onto the JUL framework
10:21:40,741 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating ERROR level on Logger[org.eclipse.jetty.util.component.AbstractLifeCycle] onto the JUL framework
10:21:40,741 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating WARN level on Logger[org.hibernate.validator.internal.util.Version] onto the JUL framework
10:21:41,250 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@959447386 - Archive files will be limited to [10 MB] each.
10:21:41,290 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@959447386 - Will use gz compression
10:21:41,294 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@959447386 - Will use the pattern recovryBoiler.log.%d{yyyy-MM-dd}.%i for the active file
10:21:41,329 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@4ec6a292 - The date pattern is ‘yyyy-MM-dd’ from file name pattern ‘recovryBoiler.log.%d{yyyy-MM-dd}.%i.gz’.
10:21:41,329 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@4ec6a292 - Roll-over at midnight.
10:21:41,348 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@4ec6a292 - Setting initial period to Tue Feb 23 10:21:41 GMT 2021
10:21:41,367 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: recovryBoiler.log
10:21:41,367 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [recovryBoiler.log]
10:21:41,382 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating INFO level on Logger[ROOT] onto the JUL framework
10:21:41,493 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating DEBUG level on Logger[org.springframework.jdbc.core] onto the JUL framework
10:21:41,493 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating DEBUG level on Logger[org.hibernate.SQL] onto the JUL framework
10:21:41,502 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating DEBUG level on Logger[org.jooq.tools.LoggerListener] onto the JUL framework
10:21:41,502 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating DEBUG level on Logger[org.springframework.core.codec] onto the JUL framework
10:21:41,503 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating DEBUG level on Logger[org.springframework.http] onto the JUL framework
10:21:41,503 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating DEBUG level on Logger[org.springframework.web] onto the JUL framework
10:21:41,503 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating DEBUG level on Logger[org.springframework.boot.actuate.endpoint.web] onto the JUL framework
10:21:41,504 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating DEBUG level on Logger[org.springframework.boot.web.servlet.ServletContextInitializerBeans] onto the JUL framework
10:21:41,504 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating DEBUG level on Logger[org.springframework.boot] onto the JUL framework
10:21:41,605 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating DEBUG level on Logger[com.solenis.dataingestion.controller] onto the JUL framework
10:21:41,606 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@23223dd8 - Propagating DEBUG level on Logger[com.solenis.dataingestion.service] onto the JUL framework
10:21:42,197 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
10:21:42,235 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Will scan for changes in [file:/etc/recovryboiler/recovryboiler-logging.xml]
10:21:42,235 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeTask scanning period to 3 minutes
10:21:42,249 |-INFO in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@1b40d5f0 - Adding [jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-2.2.4.RELEASE.jar!/org/springframework/boot/logging/logback/defaults.xml] to configuration watch list.
10:21:42,249 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@ea4a92b - URL [jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-2.2.4.RELEASE.jar!/org/springframework/boot/logging/logback/defaults.xml] is not of type file
10:21:42,265 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word clr with class [org.springframework.boot.logging.logback.ColorConverter]
10:21:42,265 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word wex with class [org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter]
10:21:42,265 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word wEx with class [org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter]
10:21:42,276 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.catalina.startup.DigesterFactory] to ERROR
10:21:42,276 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.catalina.util.LifecycleBase] to ERROR
10:21:42,276 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.coyote.http11.Http11NioProtocol] to WARN
10:21:42,276 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.sshd.common.util.SecurityUtils] to WARN
10:21:42,276 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.tomcat.util.net.NioSelectorPool] to WARN
10:21:42,276 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.eclipse.jetty.util.component.AbstractLifeCycle] to ERROR
10:21:42,276 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.validator.internal.util.Version] to WARN
10:21:42,276 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
10:21:42,276 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
10:21:42,306 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
10:21:42,315 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.cumulocity] to INFO
10:21:42,315 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [c8y] to INFO
10:21:42,315 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [httpclient.wire] to INFO
10:21:42,315 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
10:21:42,319 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
10:21:42,319 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
10:21:42,319 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@3c5a99da - Registering current configuration as safe fallback point

. ____ _ __ _ _
/\ / __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ’ / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
’ |
| .__|| ||| |_, | / / / /
=========|
|==============|/=////
:: Spring Boot :: (v2.2.4.RELEASE)

2021-02-23 10:21:43.223 INFO 9 — [main] c8y.solenis.recovryboiler.App : Starting App on 3cffb4dd98e0 with PID 9 (/data/recovryboiler.jar started by root in /)
2021-02-23 10:21:43.224 INFO 9 — [main] c8y.solenis.recovryboiler.App : No active profile set, falling back to default profiles: default
2021-02-23 10:21:56.086 INFO 9 — [main] o.s.c.a.ConfigurationClassEnhancer : @Bean method EnableContextSupportConfiguration.contextScopeConfigurer is non-static and returns an object assignable to Spring’s BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method’s declaring @Configuration class. Add the ‘static’ modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.
2021-02-23 10:21:57.522 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration’ of type [org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 10:21:57.539 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘objectPostProcessor’ of type [org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 10:21:57.547 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@44a7bfbc’ of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 10:21:57.569 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘com.cumulocity.microservice.security.annotation.UserDetailsServiceConfiguration’ of type [com.cumulocity.microservice.security.annotation.UserDetailsServiceConfiguration$$EnhancerBySpringCGLIB$$7e50159b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 10:21:57.695 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘applicationApi’ of type [org.springframework.aop.scope.ScopedProxyFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 10:21:57.696 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘applicationApi’ of type [com.cumulocity.microservice.subscription.repository.application.ApplicationApi$$EnhancerBySpringCGLIB$$c777a71] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 10:21:57.716 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘securityExpressionService’ of type [com.cumulocity.microservice.security.service.impl.SecurityExpressionServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 10:21:57.721 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘com.cumulocity.microservice.security.annotation.EnableGlobalMethodSecurityConfiguration’ of type [com.cumulocity.microservice.security.annotation.EnableGlobalMethodSecurityConfiguration$$EnhancerBySpringCGLIB$$cbb5a3f2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 10:21:57.756 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘org.springframework.security.config.annotation.method.configuration.Jsr250MetadataSourceConfiguration’ of type [org.springframework.security.config.annotation.method.configuration.Jsr250MetadataSourceConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 10:21:57.762 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘jsr250MethodSecurityMetadataSource’ of type [org.springframework.security.access.annotation.Jsr250MethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 10:21:57.766 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘methodSecurityMetadataSource’ of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 10:22:00.192 INFO 9 — [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 80 (http)
2021-02-23 10:22:00.301 INFO 9 — [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-02-23 10:22:00.302 INFO 9 — [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.30]
2021-02-23 10:22:00.807 INFO 9 — [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-02-23 10:22:00.807 INFO 9 — [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 16936 ms
2021-02-23 10:22:02.033 INFO 9 — [main] bleMicroserviceSubscriptionConfiguration : Microservice repository will be build for application ‘recovryboiler’.
2021-02-23 10:22:08.258 INFO 9 — [main] c.c.m.s.a.TokenCacheConfiguration : Default Guava implementation for token cache is used.
Parameters:

  • max cache size: 10000
  • expire after access: 10 minutes
    2021-02-23 10:22:09.001 INFO 9 — [main] o.s.boot.web.servlet.RegistrationBean : Filter preAuthenticateServletFilter was not registered (disabled)
    2021-02-23 10:22:09.002 INFO 9 — [main] o.s.boot.web.servlet.RegistrationBean : Filter postAuthenticateServletFilter was not registered (disabled)
    2021-02-23 10:22:17.459 INFO 9 — [main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@41ab013, org.springframework.security.web.header.HeaderWriterFilter@573906eb, org.springframework.security.web.authentication.logout.LogoutFilter@2d6c53fc, com.cumulocity.microservice.security.token.CumulocityOAuthMicroserviceFilter@1787f2a0, com.cumulocity.microservice.security.filter.PreAuthenticateServletFilter@45385f75, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4ddbbdf8, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@571c5681, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@14bee915, com.cumulocity.microservice.security.filter.PostAuthenticateServletFilter@49c90a9c, org.springframework.security.web.access.ExceptionTranslationFilter@41294f8, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@119cbf96]
    2021-02-23 10:22:18.723 INFO 9 — [main] c.c.m.s.TenantOptionPropertySource : Overriding application settings with tenant options is enabled.
    2021-02-23 10:22:18.934 WARN 9 — [main] .m.s.s.i.MicroserviceSettingsServiceImpl : Loading tenant options using bootstrap credentials!
    2021-02-23 10:22:29.573 INFO 9 — [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService ‘applicationTaskExecutor’
    2021-02-23 10:22:34.435 INFO 9 — [main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 4 endpoint(s) beneath base path ‘’
    2021-02-23 10:22:35.204 INFO 9 — [main] .s.s.i.MicroserviceSubscriptionScheduler : Start; subscriptionDelay = 10000, subscriptionInitialDelay = 30000
    2021-02-23 10:22:35.425 INFO 9 — [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 80 (http) with context path ‘’
    2021-02-23 10:22:35.446 INFO 9 — [main] c8y.solenis.recovryboiler.App : Started App in 57.327 seconds (JVM running for 59.563)

2021-02-23 10:22:50.168 INFO 9 — [http-nio-80-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet ‘dispatcherServlet’
2021-02-23 10:22:50.178 INFO 9 — [http-nio-80-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet ‘dispatcherServlet’
2021-02-23 10:22:50.484 INFO 9 — [http-nio-80-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 305 ms
2021-02-23 10:23:00.512 WARN 9 — [http-nio-80-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 10:23:22.205 WARN 9 — [http-nio-80-exec-3] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 10:25:20.107 WARN 9 — [http-nio-80-exec-6] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 10:25:39.017 WARN 9 — [http-nio-80-exec-7] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 10:25:59.630 WARN 9 — [http-nio-80-exec-8] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 10:26:57.158 WARN 9 — [http-nio-80-exec-9] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 10:37:26.560 WARN 9 — [http-nio-80-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]

2021-02-23 10:38:57.444 WARN 9 — [http-nio-80-exec-5] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 10:46:18.157 WARN 9 — [http-nio-80-exec-8] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 10:48:24.255 WARN 9 — [http-nio-80-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 10:56:03.982 WARN 9 — [http-nio-80-exec-4] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 11:26:12.137 WARN 9 — [http-nio-80-exec-6] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 11:26:35.201 WARN 9 — [http-nio-80-exec-8] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 11:26:57.273 INFO 9 — [http-nio-80-exec-9] c.s.r.controller.SeveralTimeUsed : Entering in addAnnuallyUsedFe()
2021-02-23 11:26:57.276 INFO 9 — [http-nio-80-exec-9] c.s.r.controller.SeveralTimeUsed : fe:null
2021-02-23 11:26:57.280 INFO 9 — [http-nio-80-exec-9] c.s.r.controller.SeveralTimeUsed : DeviceId:null
2021-02-23 11:26:57.289 WARN 9 — [http-nio-80-exec-9] c.c.m.context.ContextServiceImpl : execution of task failed within tenant : solenis - org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
2021-02-23 11:26:57.289 WARN 9 — [http-nio-80-exec-9] c.c.m.context.ContextServiceImpl : execution of task failed within tenant : solenis - org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
2021-02-23 11:26:57.304 ERROR 9 — [http-nio-80-exec-9] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path threw exception

java.lang.RuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
at com.google.common.base.Throwables.propagate(Throwables.java:240)
at com.cumulocity.microservice.security.filter.PostAuthenticateServletFilter$1.run(PostAuthenticateServletFilter.java:45)
at com.cumulocity.microservice.context.ContextServiceImpl$CallableRunnableWrapper.call(ContextServiceImpl.java:119)
at com.cumulocity.microservice.context.ContextServiceImpl$CallableRunnableWrapper.call(ContextServiceImpl.java:109)
at com.cumulocity.microservice.context.ContextServiceImpl.callWithinContext(ContextServiceImpl.java:78)
at com.cumulocity.microservice.context.ContextServiceImpl.runWithinContext(ContextServiceImpl.java:66)
at com.cumulocity.microservice.context.ContextServiceImpl$4.run(ContextServiceImpl.java:129)
at com.cumulocity.microservice.security.filter.PostAuthenticateServletFilter.doFilterInternal(PostAuthenticateServletFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:203)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at com.cumulocity.microservice.security.filter.PreAuthenticateServletFilter$1.run(PreAuthenticateServletFilter.java:42)
at com.cumulocity.microservice.context.ContextServiceImpl$CallableRunnableWrapper.call(ContextServiceImpl.java:119)
at com.cumulocity.microservice.context.ContextServiceImpl$CallableRunnableWrapper.call(ContextServiceImpl.java:109)
at com.cumulocity.microservice.context.ContextServiceImpl.callWithinContext(ContextServiceImpl.java:78)
at com.cumulocity.microservice.context.ContextServiceImpl.runWithinContext(ContextServiceImpl.java:66)
at com.cumulocity.microservice.context.ContextServiceImpl$4.run(ContextServiceImpl.java:129)
at com.cumulocity.microservice.security.filter.PreAuthenticateServletFilter.doFilterInternal(PreAuthenticateServletFilter.java:75)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at com.cumulocity.microservice.security.token.CumulocityOAuthMicroserviceFilter.doFilter(CumulocityOAuthMicroserviceFilter.java:89)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92)
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:108)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1598)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.cumulocity.microservice.security.token.CumulocityOAuthMicroserviceFilter.doFilter(CumulocityOAuthMicroserviceFilter.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at com.cumulocity.microservice.security.filter.PostAuthenticateServletFilter$1.run(PostAuthenticateServletFilter.java:43)
… 73 common frames omitted
Caused by: java.lang.NullPointerException: null
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1838)
at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.lang.Float.parseFloat(Float.java:451)
at c8y.solenis.recovryboiler.controller.AnnuallyUsed.addAnnuallyUsedFe(AnnuallyUsed.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:888)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
… 92 common frames omitted

2021-02-23 11:35:55.728 WARN 9 — [http-nio-80-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]

2021-02-23 11:37:47.261 WARN 9 — [http-nio-80-exec-4] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 11:42:03.943 WARN 9 — [http-nio-80-exec-7] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 11:42:03.958 WARN 9 — [http-nio-80-exec-7] .m.m.a.ExceptionHandlerExceptionResolver : Failure in @ExceptionHandler org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#mediaTypeNotAcceptable(HttpServletRequest)

org.springframework.web.HttpMediaTypeNotAcceptableException: Could not parse ‘Accept’ header [/]: Invalid mime type “/”: does not contain subtype after ‘/’
at org.springframework.web.accept.HeaderContentNegotiationStrategy.resolveMediaTypes(HeaderContentNegotiationStrategy.java:59)
at org.springframework.web.accept.ContentNegotiationManager.resolveMediaTypes(ContentNegotiationManager.java:124)
at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.getAcceptableMediaTypes(AbstractMessageConverterMethodProcessor.java:404)
at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:234)
at org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor.handleReturnValue(HttpEntityMethodProcessor.java:226)
at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:82)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:124)
at org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.doResolveHandlerMethodException(ExceptionHandlerExceptionResolver.java:407)
at org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver.doResolveException(AbstractHandlerMethodExceptionResolver.java:61)
at org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:141)
at org.springframework.web.servlet.handler.HandlerExceptionResolverComposite.resolveException(HandlerExceptionResolverComposite.java:80)
at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1300)
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1111)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at com.cumulocity.microservice.security.token.CumulocityOAuthMicroserviceFilter.doFilter(CumulocityOAuthMicroserviceFilter.java:89)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:394)
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:253)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:175)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1598)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

2021-02-23 11:42:03.960 WARN 9 — [http-nio-80-exec-7] .m.m.a.ExceptionHandlerExceptionResolver : Failure in @ExceptionHandler org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#mediaTypeNotAcceptable(HttpServletRequest)

org.springframework.web.HttpMediaTypeNotAcceptableException: Could not parse ‘Accept’ header [/]: Invalid mime type “/”: does not contain subtype after ‘/’
at org.springframework.web.accept.HeaderContentNegotiationStrategy.resolveMediaTypes(HeaderContentNegotiationStrategy.java:59)
at org.springframework.web.accept.ContentNegotiationManager.resolveMediaTypes(ContentNegotiationManager.java:124)
at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.getAcceptableMediaTypes(AbstractMessageConverterMethodProcessor.java:404)
at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:234)
at org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor.handleReturnValue(HttpEntityMethodProcessor.java:226)
at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:82)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:124)
at org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.doResolveHandlerMethodException(ExceptionHandlerExceptionResolver.java:407)
at org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver.doResolveException(AbstractHandlerMethodExceptionResolver.java:61)
at org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:141)
at org.springframework.web.servlet.handler.HandlerExceptionResolverComposite.resolveException(HandlerExceptionResolverComposite.java:80)
at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1300)
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1111)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at com.cumulocity.microservice.security.token.CumulocityOAuthMicroserviceFilter.doFilter(CumulocityOAuthMicroserviceFilter.java:89)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:394)
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:253)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:175)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1598)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

2021-02-23 11:42:03.962 WARN 9 — [http-nio-80-exec-7] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not parse ‘Accept’ header [/]: Invalid mime type “/”: does not contain subtype after ‘/’]
2021-02-23 11:42:52.841 WARN 9 — [http-nio-80-exec-8] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
2021-02-23 11:45:03.100 INFO 9 — [http-nio-80-exec-10] c.s.r.controller.SeveralTimeUsed : Entering in addAnnuallyUsedFe()
2021-02-23 11:45:03.101 INFO 9 — [http-nio-80-exec-10] c.s.r.controller.SeveralTimeUsed : fe:null
2021-02-23 11:45:03.101 INFO 9 — [http-nio-80-exec-10] c.s.r.controller.SeveralTimeUsed : DeviceId:null
2021-02-23 11:45:03.102 WARN 9 — [http-nio-80-exec-10] c.c.m.context.ContextServiceImpl : execution of task failed within tenant : solenis - org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
2021-02-23 11:45:03.102 WARN 9 — [http-nio-80-exec-10] c.c.m.context.ContextServiceImpl : execution of task failed within tenant : solenis - org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
2021-02-23 11:45:03.106 ERROR 9 — [http-nio-80-exec-10] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path threw exception

java.lang.RuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
at com.google.common.base.Throwables.propagate(Throwables.java:240)
at com.cumulocity.microservice.security.filter.PostAuthenticateServletFilter$1.run(PostAuthenticateServletFilter.java:45)
at com.cumulocity.microservice.context.ContextServiceImpl$CallableRunnableWrapper.call(ContextServiceImpl.java:119)
at com.cumulocity.microservice.context.ContextServiceImpl$CallableRunnableWrapper.call(ContextServiceImpl.java:109)
at com.cumulocity.microservice.context.ContextServiceImpl.callWithinContext(ContextServiceImpl.java:78)
at com.cumulocity.microservice.context.ContextServiceImpl.runWithinContext(ContextServiceImpl.java:66)
at com.cumulocity.microservice.context.ContextServiceImpl$4.run(ContextServiceImpl.java:129)
at com.cumulocity.microservice.security.filter.PostAuthenticateServletFilter.doFilterInternal(PostAuthenticateServletFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:203)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at com.cumulocity.microservice.security.filter.PreAuthenticateServletFilter$1.run(PreAuthenticateServletFilter.java:42)
at com.cumulocity.microservice.context.ContextServiceImpl$CallableRunnableWrapper.call(ContextServiceImpl.java:119)
at com.cumulocity.microservice.context.ContextServiceImpl$CallableRunnableWrapper.call(ContextServiceImpl.java:109)
at com.cumulocity.microservice.context.ContextServiceImpl.callWithinContext(ContextServiceImpl.java:78)
at com.cumulocity.microservice.context.ContextServiceImpl.runWithinContext(ContextServiceImpl.java:66)
at com.cumulocity.microservice.context.ContextServiceImpl$4.run(ContextServiceImpl.java:129)
at com.cumulocity.microservice.security.filter.PreAuthenticateServletFilter.doFilterInternal(PreAuthenticateServletFilter.java:75)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at com.cumulocity.microservice.security.token.CumulocityOAuthMicroserviceFilter.doFilter(CumulocityOAuthMicroserviceFilter.java:89)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92)
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:108)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1598)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.cumulocity.microservice.security.token.CumulocityOAuthMicroserviceFilter.doFilter(CumulocityOAuthMicroserviceFilter.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at com.cumulocity.microservice.security.filter.PostAuthenticateServletFilter$1.run(PostAuthenticateServletFilter.java:43)
… 73 common frames omitted
Caused by: java.lang.NullPointerException: null
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1838)
at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.lang.Float.parseFloat(Float.java:451)
at c8y.solenis.recovryboiler.controller.AnnuallyUsed.addAnnuallyUsedFe(AnnuallyUsed.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:888)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
… 92 common frames omitted

2021-02-23 12:09:39.936 ERROR 9 — [subscriptions-0] c.m.s.s.MicroserviceSubscriptionsService : Error while reacting on microservice subscription

com.cumulocity.sdk.client.SDKException: Error invoking GET https://solenis.us.cumulocity.com/application/currentApplication
at com.cumulocity.microservice.subscription.repository.impl.CurrentMicroserviceRepository.handleException(CurrentMicroserviceRepository.java:114)
at com.cumulocity.microservice.subscription.repository.impl.CurrentMicroserviceRepository.getCurrentApplication(CurrentMicroserviceRepository.java:69)
at com.cumulocity.microservice.subscription.repository.impl.CurrentMicroserviceRepository.register(CurrentMicroserviceRepository.java:46)
at com.cumulocity.microservice.subscription.repository.impl.CurrentMicroserviceRepository.register(CurrentMicroserviceRepository.java:61)
at com.cumulocity.microservice.subscription.repository.MicroserviceSubscriptionsRepository.register(MicroserviceSubscriptionsRepository.java:100)
at com.cumulocity.microservice.subscription.repository.MicroserviceSubscriptionsRepository$$FastClassBySpringCGLIB$$f9dc9f18.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
at com.cumulocity.microservice.subscription.repository.MicroserviceSubscriptionsRepository$$EnhancerBySpringCGLIB$$b08a1a55.register()
at com.cumulocity.microservice.subscription.service.impl.MicroserviceSubscriptionsServiceImpl.subscribe(MicroserviceSubscriptionsServiceImpl.java:110)
at com.cumulocity.microservice.subscription.service.impl.MicroserviceSubscriptionScheduler$1.run(MicroserviceSubscriptionScheduler.java:66)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: solenis.us.cumulocity.com
at com.sun.jersey.client.apache.DefaultApacheHttpMethodExecutor.executeMethod(DefaultApacheHttpMethodExecutor.java:213)
at com.sun.jersey.client.apache.ApacheHttpClientHandler.handle(ApacheHttpClientHandler.java:175)
at com.cumulocity.sdk.client.CumulocityAuthenticationFilter.handle(CumulocityAuthenticationFilter.java:47)
at com.sun.jersey.api.client.Client.handle(Client.java:648)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:503)
at com.cumulocity.sdk.client.RestConnector.getClientResponse(RestConnector.java:149)
at com.cumulocity.sdk.client.RestConnector.get(RestConnector.java:123)
at com.cumulocity.microservice.subscription.repository.application.CurrentApplicationApi.get(CurrentApplicationApi.java:22)
at com.cumulocity.microservice.subscription.repository.impl.CurrentMicroserviceRepository.getCurrentApplication(CurrentMicroserviceRepository.java:67)
… 22 common frames omitted
Caused by: java.net.UnknownHostException: solenis.us.cumulocity.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:284)
at sun.security.ssl.SSLSocketImpl.(SSLSocketImpl.java:189)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:153)
at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.sun.jersey.client.apache.DefaultApacheHttpMethodExecutor.executeMethod(DefaultApacheHttpMethodExecutor.java:210)
… 32 common frames omitted

2021-02-23 12:13:23.948 INFO 9 — [subscriptions-0] o.a.c.httpclient.HttpMethodDirector : I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server solenis.us.cumulocity.com failed to respond
2021-02-23 12:13:23.949 INFO 9 — [subscriptions-0] o.a.c.httpclient.HttpMethodDirector : Retrying request
^C2021-02-23 12:34:16.871 INFO 9 — [SpringContextShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService ‘applicationTaskExecutor’

C:\Users\asd\Desktop\New Cumlocity\recovryboiler>docker run -p 8090:8181 -e C8Y_BOOTSTRAP_TENANT=solenis -e C8Y_BOOTSTRAP_USER=servicebootstrap_solenis-demo -e C8Y_BOOTSTRAP_PASSWORD=7xZ3M91PZccv6TFqFJ3GmH5sDnrl0rU5 -e C8Y_MICROSERVICE_ISOLATION=MULTI_TENANT -i -t -e C8Y_BASEURL=https://solenis.us.cumulocity.com solenis-demon:latest
docker: Error response from daemon: driver failed programming external connectivity on endpoint romantic_curran (f5de35fca71b692b690368b652d96c667cccb8380facc525c444f2f480197681): Bind for 0.0.0.0:8090 failed: port is already allocated.

C:\Users\asd\Desktop\New Cumlocity\recovryboiler>mvn clean install
[INFO] Scanning for projects…
[INFO]
[INFO] ---------------------< c8y.example:recovryboiler >----------------------
[INFO] Building recovryboiler 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ recovryboiler —
[INFO] Deleting C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ recovryboiler —
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] — maven-compiler-plugin:3.1:compile (default-compile) @ recovryboiler —
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 12 source files to C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\classes
[WARNING] /C:/Users/asd/Desktop/New Cumlocity/recovryboiler/src/main/java/c8y/solenis/recovryboiler/controller/SeveralTimeUsed.java: Some input files use unchecked or unsafe operations.
[WARNING] /C:/Users/asd/Desktop/New Cumlocity/recovryboiler/src/main/java/c8y/solenis/recovryboiler/controller/SeveralTimeUsed.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ recovryboiler —
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\asd\Desktop\New Cumlocity\recovryboiler\src\test\resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:testCompile (default-testCompile) @ recovryboiler —
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 1 source file to C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\test-classes
[INFO]
[INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ recovryboiler —
[INFO] Surefire report directory: C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\surefire-reports


T E S T S

Running c8y.example.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] — maven-jar-plugin:2.4:jar (default-jar) @ recovryboiler —
[INFO] Building jar: C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\recovryboiler-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] — spring-boot-maven-plugin:1.5.17.RELEASE:repackage (default) @ recovryboiler —
[INFO]
[INFO] — microservice-package-maven-plugin:1006.6.8:package (package) @ recovryboiler —
[INFO] docker container recovryboiler in network ‘’
[INFO] copy resources from Resource {targetPath: null, filtering: true, FileSet {directory: C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\tmp, PatternSet [includes: {}, excludes: {}]}} toC:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO] copy resources from Resource {targetPath: null, filtering: true, FileSet {directory: C:\Users\asd\Desktop\New Cumlocity\recovryboiler\src\main\configuration, PatternSet [includes: {}, excludes: {}]}} toC:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\etc
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] copy resources from Resource {targetPath: null, filtering: true, FileSet {directory: C:\Users\asd\Desktop\New Cumlocity\recovryboiler\src\main\docker, PatternSet [includes: {}, excludes: {}]}} toC:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\asd\Desktop\New Cumlocity\recovryboiler\src\main\docker
[INFO] Using authentication suppliers: [ConfigFileRegistryAuthSupplier]
[INFO] Copying C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\Dockerfile → C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker\Dockerfile
[INFO] Copying C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\etc\cumulocity.json → C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker\etc\cumulocity.json
[INFO] Copying C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\etc\licenses → C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker\etc\licenses
[INFO] Copying C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\etc\recovryboiler-logging.xml → C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker\etc\recovryboiler-logging.xml
[INFO] Copying C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\resources\entrypoint.sh → C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker\resources\entrypoint.sh
[INFO] Copying C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker-work\resources\recovryboiler.jar → C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\docker\resources\recovryboiler.jar
[INFO] Building image recovryboiler
Step 1/6 : FROM alpine:3

—> e50c909a8df2
Step 2/6 : RUN apk add --no-cache coreutils openjdk8

—> Using cache
—> c99ad828c213
Step 3/6 : COPY etc/ /etc/recovryboiler/

—> Using cache
—> 62969746a9ae
Step 4/6 : ADD resources/* /data/

—> 661abca3676a
Step 5/6 : RUN chmod +x /data/entrypoint.sh

—> Running in 481c22326bae
Removing intermediate container 481c22326bae
—> 6a1ff57b1896
Step 6/6 : ENTRYPOINT /data/entrypoint.sh

—> Running in 017b76680b43
Removing intermediate container 017b76680b43
—> 64846cd14600
ProgressMessage{id=null, status=null, stream=null, error=null, progress=null, progressDetail=null}
Successfully built 64846cd14600
Successfully tagged recovryboiler:latest
[INFO] Built recovryboiler
[INFO] Tagging recovryboiler with 1.0.0-SNAPSHOT
[INFO] Tagging recovryboiler with latest
[INFO] microservice zip container recovryboiler
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 1 resource
Feb 23, 2021 6:22:31 PM org.hibernate.validator.internal.util.Version
INFO: HV000001: Hibernate Validator 5.4.3.Final
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ recovryboiler —
[INFO] Installing C:\Users\asd\Desktop\New Cumlocity\recovryboiler\target\recovryboiler-1.0.0-SNAPSHOT.jar to C:\Users\asd.m2\repository\c8y\example\recovryboiler\1.0.0-SNAPSHOT\recovryboiler-1.0.0-SNAPSHOT.jar
[INFO] Installing C:\Users\asd\Desktop\New Cumlocity\recovryboiler\pom.xml to C:\Users\asd.m2\repository\c8y\example\recovryboiler\1.0.0-SNAPSHOT\recovryboiler-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:25 min
[INFO] Finished at: 2021-02-23T18:22:58+05:30
[INFO] ------------------------------------------------------------------------

C:\Users\asd\Desktop\New Cumlocity\recovryboiler>docker run -p 8082:80 -e C8Y_BOOTSTRAP_TENANT=solenis -e C8Y_BOOTSTRAP_USER=servicebootstrap_recovryboiler -e C8Y_BOOTSTRAP_PASSWORD=f745rWVwJHewvEZ5Blr9k43s5mS9QsCS -e C8Y_MICROSERVICE_ISOLATION=MULTI_TENANT -i -t -e C8Y_BASEURL=https://solenis.us.cumulocity.com recovryboiler:latest
heap dumps /var/log/recovryboiler/heap-dump-.hprof
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=64m; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
LOGBACK: No context given for c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1911006827
2021-02-23 17:18:06.925 DEBUG 9 — [ main] .c.l.ClasspathLoggingApplicationListener : Application started with classpath: [jar:file:/data/recovryboiler.jar!/BOOT-INF/classes!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-data-rest-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-data-rest-webmvc-3.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-data-rest-core-3.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-tx-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-hateoas-1.0.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/json-path-2.4.0.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/json-smart-2.3.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/accessors-smart-1.2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/asm-5.0.4.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-data-commons-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-plugin-core-2.0.0.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/evo-inflector-1.2.2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jackson-databind-2.9.9.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jackson-core-2.9.9.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jackson-annotations-2.9.0.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/slf4j-api-1.7.30.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-web-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-autoconfigure-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-logging-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/logback-classic-1.2.3.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/logback-core-1.2.3.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/log4j-to-slf4j-2.12.1.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/log4j-api-2.12.1.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jul-to-slf4j-1.7.30.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jakarta.annotation-api-1.3.5.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-core-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-jcl-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/snakeyaml-1.25.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-json-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jackson-datatype-jdk8-2.9.9.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jackson-datatype-jsr310-2.9.9.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jackson-module-parameter-names-2.9.9.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-tomcat-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/tomcat-embed-core-9.0.30.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/tomcat-embed-el-9.0.30.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/tomcat-embed-websocket-9.0.30.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-validation-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jakarta.validation-api-2.0.2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/hibernate-validator-6.0.18.Final.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jboss-logging-3.4.1.Final.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/classmate-1.5.1.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-web-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-beans-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-webmvc-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-aop-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-context-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-expression-5.2.3.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-autoconfigure-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-context-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/guava-21.0.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/core-model-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/svenson-1.5.8-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jcl-over-slf4j-1.7.30.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-io-2.4.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-beanutils-1.9.4.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-collections-3.2.2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/json-path-1.2.0-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/json-smart-2.1.0-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/joda-time-2.10.5.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-subscription-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/java-client-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/common-notification-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/common-rest-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-security-core-5.2.1.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/common-utils-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-lang-2.6.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/rest-representation-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jersey-apache-client-1.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-httpclient-3.1.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-logging-1.0.4.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jersey-client-1.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jersey-core-1.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jersey-multipart-1.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/mimepull-1.4.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/json-20190722.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/cometd-java-client-3.0.10.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/bayeux-api-3.0.10.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/cometd-java-common-3.0.10.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jetty-util-ajax-9.4.25.v20191220.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/jetty-util-8.1.7.v20120910.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-logging-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-properties-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-security-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-security-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-security-config-5.2.1.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-security-web-5.2.1.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-security-jwt-1.1.0.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/bcpkix-jdk15on-1.64.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/bcprov-jdk15on-1.64.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-platform-api-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-monitoring-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-starter-actuator-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-actuator-autoconfigure-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-actuator-2.2.4.RELEASE.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/micrometer-core-1.3.2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/HdrHistogram-2.1.11.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/LatencyUtils-2.0.3.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/micrometer-registry-prometheus-1.3.2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/simpleclient_common-0.7.0.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/simpleclient-0.7.0.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/microservice-settings-1006.6.8.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/json-simple-1.1.1.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/httpclient-4.5.10.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/httpcore-4.4.13.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/commons-codec-1.13.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/poi-3.11-beta2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/poi-ooxml-3.11-beta2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/poi-ooxml-schemas-3.11-beta2.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/xmlbeans-2.6.0.jar!/, jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/stax-api-1.0.1.jar!/]
2021-02-23 17:18:07.364 INFO 9 — [ main] c.c.m.l.c.LoggingEnvironmentRunListener : logging.conf: /etc/recovryboiler/recovryboiler-logging.xml
17:18:00,317 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
17:18:00,332 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
17:18:00,335 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.xml]
17:18:00,430 |-INFO in ch.qos.logback.classic.BasicConfigurator@5a01ccaa - Setting up default configuration.
17:18:05,658 |-WARN in Logger[org.springframework.core.env.PropertySourcesPropertyResolver] - No appenders present in context [default] for logger [org.springframework.core.env.PropertySourcesPropertyResolver].
17:18:05,700 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating ERROR level on Logger[org.apache.catalina.startup.DigesterFactory] onto the JUL framework
17:18:05,701 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating ERROR level on Logger[org.apache.catalina.util.LifecycleBase] onto the JUL framework
17:18:05,701 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating WARN level on Logger[org.apache.coyote.http11.Http11NioProtocol] onto the JUL framework
17:18:05,701 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating WARN level on Logger[org.apache.sshd.common.util.SecurityUtils] onto the JUL framework
17:18:05,701 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating WARN level on Logger[org.apache.tomcat.util.net.NioSelectorPool] onto the JUL framework
17:18:05,702 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating ERROR level on Logger[org.eclipse.jetty.util.component.AbstractLifeCycle] onto the JUL framework
17:18:05,702 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating WARN level on Logger[org.hibernate.validator.internal.util.Version] onto the JUL framework
17:18:06,068 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1911006827 - Archive files will be limited to [10 MB] each.
17:18:06,098 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1911006827 - Will use gz compression
17:18:06,112 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1911006827 - Will use the pattern recovryBoiler.log.%d{yyyy-MM-dd}.%i for the active file
17:18:06,131 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@19bb089b - The date pattern is ‘yyyy-MM-dd’ from file name pattern ‘recovryBoiler.log.%d{yyyy-MM-dd}.%i.gz’.
17:18:06,131 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@19bb089b - Roll-over at midnight.
17:18:06,165 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@19bb089b - Setting initial period to Tue Feb 23 17:18:06 GMT 2021
17:18:06,193 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: recovryBoiler.log
17:18:06,193 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [recovryBoiler.log]
17:18:06,215 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating INFO level on Logger[ROOT] onto the JUL framework
17:18:06,313 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating DEBUG level on Logger[org.springframework.jdbc.core] onto the JUL framework
17:18:06,313 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating DEBUG level on Logger[org.hibernate.SQL] onto the JUL framework
17:18:06,314 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating DEBUG level on Logger[org.jooq.tools.LoggerListener] onto the JUL framework
17:18:06,314 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating DEBUG level on Logger[org.springframework.core.codec] onto the JUL framework
17:18:06,314 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating DEBUG level on Logger[org.springframework.http] onto the JUL framework
17:18:06,314 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating DEBUG level on Logger[org.springframework.web] onto the JUL framework
17:18:06,315 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating DEBUG level on Logger[org.springframework.boot.actuate.endpoint.web] onto the JUL framework
17:18:06,315 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating DEBUG level on Logger[org.springframework.boot.web.servlet.ServletContextInitializerBeans] onto the JUL framework
17:18:06,315 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating DEBUG level on Logger[org.springframework.boot] onto the JUL framework
17:18:06,924 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating DEBUG level on Logger[com.solenis.dataingestion.controller] onto the JUL framework
17:18:06,924 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@71c7db30 - Propagating DEBUG level on Logger[com.solenis.dataingestion.service] onto the JUL framework
17:18:08,103 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
17:18:08,140 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Will scan for changes in [file:/etc/recovryboiler/recovryboiler-logging.xml]
17:18:08,140 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeTask scanning period to 3 minutes
17:18:08,159 |-INFO in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@4563e9ab - Adding [jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-2.2.4.RELEASE.jar!/org/springframework/boot/logging/logback/defaults.xml] to configuration watch list.
17:18:08,159 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@11531931 - URL [jar:file:/data/recovryboiler.jar!/BOOT-INF/lib/spring-boot-2.2.4.RELEASE.jar!/org/springframework/boot/logging/logback/defaults.xml] is not of type file
17:18:08,174 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word clr with class [org.springframework.boot.logging.logback.ColorConverter]
17:18:08,177 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word wex with class [org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter]
17:18:08,177 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word wEx with class [org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter]
17:18:08,181 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.catalina.startup.DigesterFactory] to ERROR
17:18:08,181 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.catalina.util.LifecycleBase] to ERROR
17:18:08,181 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.coyote.http11.Http11NioProtocol] to WARN
17:18:08,181 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.sshd.common.util.SecurityUtils] to WARN
17:18:08,181 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.tomcat.util.net.NioSelectorPool] to WARN
17:18:08,181 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.eclipse.jetty.util.component.AbstractLifeCycle] to ERROR
17:18:08,181 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.validator.internal.util.Version] to WARN
17:18:08,182 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:18:08,182 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
17:18:08,409 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:18:08,443 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.cumulocity] to INFO
17:18:08,443 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [c8y] to INFO
17:18:08,443 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [httpclient.wire] to INFO
17:18:08,443 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
17:18:08,463 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
17:18:08,463 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
17:18:08,463 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@5e025e70 - Registering current configuration as safe fallback point

. ____ _ __ _ _
/\ / __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ’ / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
’ |
| .__|| ||| |_, | / / / /
=========|
|==============|/=////
:: Spring Boot :: (v2.2.4.RELEASE)

2021-02-23 17:18:09.800 INFO 9 — [main] c8y.solenis.recovryboiler.App : Starting App on 80f4fe2b1579 with PID 9 (/data/recovryboiler.jar started by root in /)
2021-02-23 17:18:09.801 INFO 9 — [main] c8y.solenis.recovryboiler.App : No active profile set, falling back to default profiles: default
2021-02-23 17:18:24.006 INFO 9 — [main] o.s.c.a.ConfigurationClassEnhancer : @Bean method EnableContextSupportConfiguration.contextScopeConfigurer is non-static and returns an object assignable to Spring’s BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method’s declaring @Configuration class. Add the ‘static’ modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.
2021-02-23 17:18:27.139 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration’ of type [org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 17:18:27.166 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘objectPostProcessor’ of type [org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 17:18:27.184 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@2beee7ff’ of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 17:18:27.217 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘com.cumulocity.microservice.security.annotation.UserDetailsServiceConfiguration’ of type [com.cumulocity.microservice.security.annotation.UserDetailsServiceConfiguration$$EnhancerBySpringCGLIB$$fdda206c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 17:18:27.621 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘applicationApi’ of type [org.springframework.aop.scope.ScopedProxyFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 17:18:27.621 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘applicationApi’ of type [com.cumulocity.microservice.subscription.repository.application.ApplicationApi$$EnhancerBySpringCGLIB$$78470f44] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 17:18:27.676 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘securityExpressionService’ of type [com.cumulocity.microservice.security.service.impl.SecurityExpressionServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 17:18:27.692 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘com.cumulocity.microservice.security.annotation.EnableGlobalMethodSecurityConfiguration’ of type [com.cumulocity.microservice.security.annotation.EnableGlobalMethodSecurityConfiguration$$EnhancerBySpringCGLIB$$4b3faec3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 17:18:27.866 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘org.springframework.security.config.annotation.method.configuration.Jsr250MetadataSourceConfiguration’ of type [org.springframework.security.config.annotation.method.configuration.Jsr250MetadataSourceConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 17:18:27.882 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘jsr250MethodSecurityMetadataSource’ of type [org.springframework.security.access.annotation.Jsr250MethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 17:18:27.901 INFO 9 — [main] trationDelegate$BeanPostProcessorChecker : Bean ‘methodSecurityMetadataSource’ of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-23 17:18:31.239 INFO 9 — [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 80 (http)
2021-02-23 17:18:31.350 INFO 9 — [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-02-23 17:18:31.351 INFO 9 — [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.30]
2021-02-23 17:18:32.052 INFO 9 — [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-02-23 17:18:32.052 INFO 9 — [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 20886 ms
2021-02-23 17:18:34.852 INFO 9 — [main] bleMicroserviceSubscriptionConfiguration : Microservice repository will be build for application ‘recovryboiler’.
2021-02-23 17:18:42.159 INFO 9 — [main] c.c.m.s.a.TokenCacheConfiguration : Default Guava implementation for token cache is used.
Parameters:

  • max cache size: 10000
  • expire after access: 10 minutes
    2021-02-23 17:18:42.828 INFO 9 — [main] o.s.boot.web.servlet.RegistrationBean : Filter preAuthenticateServletFilter was not registered (disabled)
    2021-02-23 17:18:42.828 INFO 9 — [main] o.s.boot.web.servlet.RegistrationBean : Filter postAuthenticateServletFilter was not registered (disabled)
    2021-02-23 17:18:50.356 INFO 9 — [main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@20f5281c, org.springframework.security.web.header.HeaderWriterFilter@3e74829, org.springframework.security.web.authentication.logout.LogoutFilter@7aaca91a, com.cumulocity.microservice.security.token.CumulocityOAuthMicroserviceFilter@1787f2a0, com.cumulocity.microservice.security.filter.PreAuthenticateServletFilter@45385f75, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@7c214cc0, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@71e693fa, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@56c4278e, com.cumulocity.microservice.security.filter.PostAuthenticateServletFilter@49c90a9c, org.springframework.security.web.access.ExceptionTranslationFilter@176b75f7, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3148f668]
    2021-02-23 17:18:51.445 INFO 9 — [main] c.c.m.s.TenantOptionPropertySource : Overriding application settings with tenant options is enabled.
    2021-02-23 17:18:51.589 WARN 9 — [main] .m.s.s.i.MicroserviceSettingsServiceImpl : Loading tenant options using bootstrap credentials!
    2021-02-23 17:19:00.317 INFO 9 — [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService ‘applicationTaskExecutor’
    2021-02-23 17:19:02.750 INFO 9 — [main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 4 endpoint(s) beneath base path ‘’
    2021-02-23 17:19:03.068 INFO 9 — [main] .s.s.i.MicroserviceSubscriptionScheduler : Start; subscriptionDelay = 10000, subscriptionInitialDelay = 30000
    2021-02-23 17:19:03.176 INFO 9 — [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 80 (http) with context path ‘’
    2021-02-23 17:19:03.200 INFO 9 — [main] c8y.solenis.recovryboiler.App : Started App in 60.696 seconds (JVM running for 64.844)

2021-02-23 17:19:25.358 INFO 9 — [http-nio-80-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet ‘dispatcherServlet’
2021-02-23 17:19:25.359 INFO 9 — [http-nio-80-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet ‘dispatcherServlet’
2021-02-23 17:19:25.613 INFO 9 — [http-nio-80-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 254 ms
2021-02-23 17:19:31.596 INFO 9 — [http-nio-80-exec-2] c.s.r.controller.SeveralTimeUsed : Entering in addAnnuallyUsedFe()
2021-02-23 17:19:31.598 INFO 9 — [http-nio-80-exec-2] c.s.r.controller.SeveralTimeUsed : fe:null
2021-02-23 17:19:31.598 INFO 9 — [http-nio-80-exec-2] c.s.r.controller.SeveralTimeUsed : DeviceId:null
2021-02-23 17:19:31.620 WARN 9 — [http-nio-80-exec-2] c.c.m.context.ContextServiceImpl : execution of task failed within tenant : solenis - org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
2021-02-23 17:19:31.620 WARN 9 — [http-nio-80-exec-2] c.c.m.context.ContextServiceImpl : execution of task failed within tenant : solenis - org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
2021-02-23 17:19:31.687 ERROR 9 — [http-nio-80-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path threw exception

java.lang.RuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
at com.google.common.base.Throwables.propagate(Throwables.java:240)
at com.cumulocity.microservice.security.filter.PostAuthenticateServletFilter$1.run(PostAuthenticateServletFilter.java:45)
at com.cumulocity.microservice.context.ContextServiceImpl$CallableRunnableWrapper.call(ContextServiceImpl.java:119)
at com.cumulocity.microservice.context.ContextServiceImpl$CallableRunnableWrapper.call(ContextServiceImpl.java:109)
at com.cumulocity.microservice.context.ContextServiceImpl.callWithinContext(ContextServiceImpl.java:78)
at com.cumulocity.microservice.context.ContextServiceImpl.runWithinContext(ContextServiceImpl.java:66)
at com.cumulocity.microservice.context.ContextServiceImpl$4.run(ContextServiceImpl.java:129)
at com.cumulocity.microservice.security.filter.PostAuthenticateServletFilter.doFilterInternal(PostAuthenticateServletFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:203)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at com.cumulocity.microservice.security.filter.PreAuthenticateServletFilter$1.run(PreAuthenticateServletFilter.java:42)
at com.cumulocity.microservice.context.ContextServiceImpl$CallableRunnableWrapper.call(ContextServiceImpl.java:119)
at com.cumulocity.microservice.context.ContextServiceImpl$CallableRunnableWrapper.call(ContextServiceImpl.java:109)
at com.cumulocity.microservice.context.ContextServiceImpl.callWithinContext(ContextServiceImpl.java:78)
at com.cumulocity.microservice.context.ContextServiceImpl.runWithinContext(ContextServiceImpl.java:66)
at com.cumulocity.microservice.context.ContextServiceImpl$4.run(ContextServiceImpl.java:129)
at com.cumulocity.microservice.security.filter.PreAuthenticateServletFilter.doFilterInternal(PreAuthenticateServletFilter.java:75)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at com.cumulocity.microservice.security.token.CumulocityOAuthMicroserviceFilter.doFilter(CumulocityOAuthMicroserviceFilter.java:89)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92)
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:108)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1598)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.cumulocity.microservice.security.token.CumulocityOAuthMicroserviceFilter.doFilter(CumulocityOAuthMicroserviceFilter.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at com.cumulocity.microservice.security.filter.PostAuthenticateServletFilter$1.run(PostAuthenticateServletFilter.java:43)
… 73 common frames omitted
Caused by: java.lang.NullPointerException: null
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1838)
at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.lang.Float.parseFloat(Float.java:451)
at c8y.solenis.recovryboiler.controller.AnnuallyUsed.addAnnuallyUsedFe(AnnuallyUsed.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:888)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
… 92 common frames omitted


2021-02-23 17:20:43.297 WARN 9 — [http-nio-80-exec-4] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]

It is still very difficult to say what is the root cause here as also your information is very difficult to consume.
I am pretty sure you have some problem with your general spring-boot setup. You are still running it locally so it has nothing to do with Cumulocity itself.

Spring-boot is not able to map the RequestBody into your Java object and as you have ignoreUnknown=true it also doesn’t care. Probably if you remove it it will complain that there are properties in the body that cannot be mapped to the Java object.
You might want to take a look at this here: spring - @RequestBody is getting null values - Stack Overflow
The accepted answer seems not to be your problem but there are other answers there that might be helpful for you to debug it.

Another friendly recommendation:
As with any public TechCommunity 99% of the readers will immeadiately turn around if the question asked isn’t understandable and lacks information. It is always helpful to take some time, explained exactly what you already tried, share the relevant code, calls, error stacktraces in an easily consumable way. If you don’t spend this time 99% of the time you won’t get support by the community. It is the same on StackOverflow (with the difference that there badly asked questions are also quickly removed completely).
So if you take the time to make it easy for the community to help you, the community will make the effort to help you.

Hi All,

This issue has been resolved :slight_smile:

Thanks,
Himanshu

This topic was automatically closed after 1083 days. New replies are no longer allowed.