44
votes
1answer
750 views

Trying to style SwingNodes in JavaFX with GTKLookAndFeel freezes application

We have a Java application that used Swing, but we are migrating it to JavaFX. Therefore, we wrap the old Swing code into SwingNodes and replace them step-by-step.Before migrating, the Swing ...
31
votes
0answers
1k views

How to add a custom MIME type to tika and override a default extension pattern?

I am trying to add a custom mime type to Apache Tika.I have the following custom-mimetypes.xml document in org.apache.tika.mime :<?xml version="1.0" encoding="UTF-8"?><mime-info>&...
29
votes
1answer
244 views

Subtract Blend Mode using ColorMatrixFilter in Android?

I have the following ColorMatrixFilter. But I want to use it as a mask for Subtract-Blend mode, instead of using it directly. How do I go about achieving this? ColorMatrix: colorMatrix[0....
27
votes
1answer
408 views

RythmEngine and TemplateClassManager the Biggest Objects of the heap : memory leak problems

In my company, we are using Rythm due to its facility and easy use in a project.In our project, we are sending several e-mails (1000-2000 emails by day); the e-mail template is a Rythm template with ...
25
votes
1answer
512 views

Spring MVC 3.2.8: FtpInboundFileSynchronizer

I have an application based on Spring Web model-view-controller (Spring MVC 3.2.8 ) and I want to use the integration with FTP using the default implementation of FTP SessionFactory.I have this ...
24
votes
2answers
356 views

Project segregation in Sonar Qube

I have a projects structure like as shown below.Cloud projects folder are having four type projects (eco-projects, evn-projects, met-projects, svn-projects)Each type of projects contains again ...
23
votes
2answers
773 views

Why there is performance degradation after ~6 hours of Java 9 G1 work without the actual increase in load?

I switched 1 instance (2 vCPU, 2GB RAM, load ~4k req/sec) to Java 9 (from latest Java 8). For a while, everything was fine and CPU usage was same as before. However, after ~6 hours CPU consumption ...
22
votes
1answer
1k views

Saving child collections with OrmLite on Android with objects created from Jackson

I have a REST service which I'm calling from my app, which pulls in a JSON object as a byte[] that is then turned into a nice nested collection of objects -- all of that bit works fine. What I then ...
22
votes
2answers
4k views

Difference between PKCS1-padding/RSA encryption ios objc and java

I’m developing a application for ios and Android. I’m relatively new to crypto tasks and for the last 3 Days I keep banging my head against the wall because I’m not able to get RSA encryption running. ...
22
votes
2answers
2k views

Configure Swagger javax validation Constraints on DTOs

I'm using Swagger (1.5.8). I want my swagger.json definition to detect the javax.validation JSR-303 annotations on my DTOs, so that I can document my API's validation constraints.I would expect a @...
22
votes
1answer
2k views

Flexible Space in Android

Using this tutorial to implement Flexible Space pattern (the one with the collapsing toolbar).I'm trying to achieve a similar effect as in the Lollipop Contacts activity, which at the beginning when ...
21
votes
0answers
434 views

Sticky foreground service fails to restart with a “process is bad” error

I have a started foreground service.I've taken care to return START_STICKY from onStartCommand.I've observed that foreground services don't run indefinitely but are periodically terminated by an ...
21
votes
0answers
412 views

Hadoop truncated/inconsistent counter name

For now I have hadoop job which creates counters with pretty big name. For example, the following one: stats.counters.server-name.job.job-name.mapper.site.site-name.qualifier.qualifier-name.super-long-...
21
votes
3answers
2k views

EOFException in Retrofit while executing synchronous PUT requests

In my app I make synchronous PUT requests using the Retrofit library. The problem is: sometimes the library throws EOFExceptions. Below is a stack trace for one of such cases29099-29269/com....
20
votes
0answers
693 views

Elasticsearch :found jar hell in test classpath

I want to perform unit testing in Elasticsearch for that I am using Java-test-frameworkI am using Elasticsearch-1.6.0and referring to these link for help https://www.elastic.co/guide/en/...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,