1,919,032 questions
0
votes
0
answers
15
views
How to include a constant term in an ojAlgo objective function
I am using ojAlgo 55 to solve an optimization problem in standard form:
f(x) = 1/2 x^T Q x + p^T x + r
I am not sure how to specify the constant r in the ExpressionsBasedModel, so that when ...
0
votes
0
answers
21
views
How to make Jooq Codegen generated Enums work with Deserialization Libraries (like Jackson)
The Jooq Codegenerator creates Enums (when it can) for database columns that allow it to.
It would be helpful to let the Enums be Deserializable by Libraries like Jackson, which is currently not the ...
0
votes
0
answers
17
views
protocol.ResponseProcessCookies.processCookies Invalid cookie header, invalid expires attribute
Im using the api provided by RaveCapture (previously Trustspot) to send a review request when a customer makes a purchase.
Used to work fine, stopped working a few months ago, i was referring to the ...
0
votes
0
answers
25
views
Error:Could not locate SurfaceTextureWrapper.shouldUpdate method
I want to upgrade Flutter from 3.19.2 to 3.22 and run the resulting code on an Android project, but I encountered an error:
[ERROR:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1163)...
0
votes
0
answers
16
views
InlineObjects are not generated after Java upgrade in OpenApi
I am migrating my API from Java 11 to Java 17 , as part of it i migrated the org.openapitools :openapi-generator-maven-plugin dependency from 5.4.0 t0 7.11.0.
But when i try to build , the ...
0
votes
0
answers
25
views
Getting java.lang.OutOfMemoryError: Java heap space with org.eclipse.paho.mqttv5.client.internal.ClientState
Memory Dump Screenshot
When I run my springboot app for some time, I get java.lang.OutOfMemoryError: Java heap space
Seems that the size of org.eclipse.paho.mqttv5.client.internal.ClientState keep ...
0
votes
0
answers
18
views
Difference between artifactSet and extraArtifacts
I don't fully understand documentation definitions. Why does only one of them accept version?
<artifactSet> definition:
Artifacts to include/exclude from the final artifact.
format: groupId:...
0
votes
1
answer
37
views
Openjdk Java 17 JMX without authentication still looking for password file
I cannot figure out how to start java with JMX without authentication. It still fails because it cannot find password file:
> java -Dcom.sun.management.jmxremote.port=7091 ?Dcom.sun.management....
0
votes
0
answers
38
views
Why is my Compressed Class Space increasing daily and not decreasing even when the server is idle
I’m running a long-lived Java web application on TomEE + Struts 1 + Java 1.8.
The heap is stable and GC is healthy, but the Compressed Class Space (CCSU) keeps growing daily and never goes down — even ...
0
votes
0
answers
24
views
How to open a specific Flutter screen from background using Android BroadcastReceiver (e.g., when power is connected)?
We're building a Flutter app that should automatically open a specific screen (e.g., AlarmScreen) when the device is plugged into power (ACTION_POWER_CONNECTED), even if:
The app is closed (killed),
...
0
votes
0
answers
25
views
Proton-J2 AMQP 1.0 Receiver that filters messages?
I'm investigating writing a systems integration using AMQP and looking to copy some common system integration patterns used with JMS based APIs. That includes a message-consumer that filters messages ...
0
votes
0
answers
28
views
How to map additional aliased columns from a native query to a JPA entity when the column does not physically exist?
I have the following Spring Data JPA repository method using a native query with an aliased column that does not exist physically in the database table:
@Repository
public interface ...
1
vote
0
answers
24
views
How to isolate code coverage to specific interactions, excluding Spring Boot startup, in IntelliJ Ultimate?
I want to use IntelliJ IDEA Ultimate's "Run with Coverage" on a Spring Boot app to see which lines are executed during manual testing (e.g., hitting an endpoint with Postman).
My goal is to ...
0
votes
0
answers
24
views
RestAssured throws HttpResponseException on 422 Unprocessable Entity instead of allowing assertions
I'm facing a persistent issue with RestAssured where it throws an io.restassured.internal.http.HttpResponseException for a 422 Unprocessable Entity response, preventing my test from reaching the ...
0
votes
0
answers
66
views
java FileOutputStream not behaving like a ByteArrayOutputStream [closed]
I've got some strange behaviour which I don't understand - I hope someone does !
I write some data to a ByteArrayOutputStream and then read it back into my object to check that it worked - all is well....