Skip to content

Instantly share code, notes, and snippets.

"MessagingTh2" prio=5 tid=206 RUNNABLE
at java.lang.OutOfMemoryError.<init>(<unknown string>)
at java.nio.HeapByteBuffer.<init>(<unknown string>)
at java.nio.ByteBuffer.allocate(<unknown string>)
at eu.ysoft.communicator.ByteMessageChannel.parseHeader(ByteMessageChannel.java:184)
at eu.ysoft.communicator.ByteMessageChannel.readNextMessage(ByteMessageChannel.java:102)
Local Variable: eu.ysoft.communicator.ByteMessageChannel#1139
at eu.ysoft.communicator.BMCMessagingPort.retrieveAndDispatch(BMCMessagingPort.java:353)
at eu.ysoft.communicator.MessagingThread.processOperation(MessagingThread.java:420)
Local Variable: eu.ysoft.communicator.BMCMessagingPort#1139
class ChecksumCalculateCounter {
final int maxCalculate = 5;
int alreadyCalculated = 0;
increment() {
calculated++;
}
boolean shouldCalculate() {
return alreadyCalculated < maxCalculate;
public interface HashService {
String getHashType();
String getChecksum(String box);
String getChecksum(String box, boolean calculate);
}
public class FilesystemDigestHashService implements HashService {
...
String getChecksum(String box) {
getChecksum(box, true);
@sparkoo
sparkoo / gist:d26f359f20683e2b8bde4a218965bbe0
Created April 17, 2018 11:54
radargun windows OpenFilesMonitor exception
07:36:33,522 ERROR [org.radargun.sysmonitor.OpenFilesMonitor] (MonitorThread-0) Error in open files stats retrieval
javax.management.AttributeNotFoundException: No such attribute: OpenFileDescriptorCount
at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:81)
at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:206)
at javax.management.StandardMBean.getAttribute(StandardMBean.java:372)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)
at org.radargun.sysmonitor.OpenFilesMonitor.run(OpenFilesMonitor.java:32)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
2019-07-24 05:06:45.623 INFO 276 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2019-07-24 05:07:16.819 ERROR 276 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization.
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174) ~[mysql-connector-java-8.0.16.jar!/:8.0.16]
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.16.jar!/:8.0.16]
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:835) ~[mysql-connector-java-8.0.16.jar!/:8.0.16]
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:455) ~[mysql-connector-java-8.0.16.jar!/:
/projects/nodejs-mongodb-app/node_modules/mongodb/lib/server.js:242
process.nextTick(function() { throw err; })
^
Error: connect ETIMEDOUT 10.101.32.20:27017
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1113:14)
Emitted 'error' event at:
at NativeConnection.Connection.error (/projects/nodejs-mongodb-app/node_modules/mongoose/lib/connection.js:443:8)
at /projects/nodejs-mongodb-app/node_modules/mongoose/lib/connection.js:472:15
at /projects/nodejs-mongodb-app/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:59:21
at /projects/nodejs-mongodb-app/node_modules/mongodb/lib/db.js:232:14
> react-redux-realworld-example-app@0.1.0 start /projects/react-redux-realworld-example-app
> cross-env PORT=4100 react-scripts start
sh: cross-env: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! react-redux-realworld-example-app@0.1.0 start: `cross-env PORT=4100 react-scripts start`
---
apiVersion: 1.0.0
metadata:
name: prdel
generateName: golang-
projects:
-
name: example
source:
type: git
---
apiVersion: 1.0.0
metadata:
name: this_is_just_name
projects:
-
name: angular-realworld-example-app
source:
type: git
location: "https://github.com/gothinkster/angular-realworld-example-app"
---
apiVersion: 1.0.0
metadata:
name: this_is_name
generateName: this_is_genname-
projects:
-
name: angular-realworld-example-app
source:
type: git