Join us in building a kind, collaborative learning community via our updatedCode of Conduct.

Unanswered Questions

401,140 questions with no upvoted or accepted answers
40
votes
1answer
335 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....
34
votes
0answers
1k 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 ...
32
votes
1answer
458 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 ...
31
votes
0answers
543 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-...
29
votes
2answers
615 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 ...
27
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 ...
26
votes
1answer
671 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 ...
26
votes
4answers
2k views

Room database migration if only new table is added

Let't assume, I have a simple Room database:@Database(entities={User.class}, version=1)abstract class AppDatabase extends RoomDatabase {public abstract Dao getDao();}Now, I'm adding a ...
26
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 ...
25
votes
3answers
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. ...
24
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....
23
votes
2answers
2k views

USB bulkTransfer between Android tablet and camera

I would like to exchange data/commands between a camera and an Android tablet device using the bulkTransfer function. I wrote this Activity, but the method bulkTransfer returns -1 (error status). Why ...
22
votes
1answer
723 views

Upload document and display the document status - Selenium WebDriver - Java

@Florent B. answered my question in regards to uploading a document where the element wasn't an input type="file" hereNow, I have another document upload section that I cannot get handled properly. ...
22
votes
1answer
886 views

@Transactional in super classes not weaved when using load time weaving

The project I am working on has a similar structure for the DAOs to the one bellow:/** * Base DAO class*/@Transactional public class JPABase {@PersistenceContextprivate EntityManager ...
22
votes
2answers
2k views

Spring Security 3.1.3 request querystring stripped

I am securing my application using Spring Security 3.1.3 and I have a requirement to allow users to login via a link in a third-party application.However, the link in the third-party application ...

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