Android Room – simple select query – Cannot access database on the main thread

I am trying a sample with Room Persistence Library. I created an Entity: @Entity public class Agent { @PrimaryKey public String guid; public String name; public String email; public String password; public String phone; public String licence; } Created a DAO class: @Dao public interface AgentDao { @Query(“SELECT COUNT(*) FROM Agent where email = :email … Read more

Node.js heap out of memory

Today I ran my script for filesystem indexing to refresh RAID files index and after 4h it crashed with following error: [md5:] 241613/241627 97.5% [md5:] 241614/241627 97.5% [md5:] 241625/241627 98.1% Creating missing list… (79570 files missing) Creating new files list… (241627 new files) <— Last few GCs —> 11629672 ms: Mark-sweep 1174.6 (1426.5) -> 1172.4 … Read more

iOS app with framework crashed on device, dyld: Library not loaded, Xcode 6 Beta

This crash has been a blocking issue I used the following steps to reproduce the issue: Create a Cocoa Touch Framework project Add a swift file and a class Dog Build a framework for device Create a Single View application in Swift Import framework into app project Instantiate swift class from the framework in ViewController … Read more

JVM Crash – “EXCEPTION_ACCESS_VIOLATION”

The crash happens inside DirectX library: d3d9.dll. Try the following options: Update / reinstall graphics driver. Switch off graphics card utilities (I’ve noticed RivaTuner in the list of loaded libraries). Run Java with -Dsun.java2d.d3d=false JVM option or set J2D_D3D=false environment variable. This would definitely help, though Java will not make use of Direct3D acceleration.