I'm pretty shaky with unit testing, but I have some of my code, I really need to be sure of its consistency. I am trying to transfer data from an object to an external file using JSON, so I want to make sure that when I pull the data from the external file, it will be the same.
I use Unit test to assert this equality, but running into a problem, I'm not sure how to handle it. This is a runtime error, and this is what the console reads.
A fatal error has been detected by the Java Runtime Environment: Internal Error (classFileParser.cpp:3494), pid=5032, tid=7048 Error: ShouldNotReachHere() JRE version: 6.0_25-b06 Java VM: Java HotSpot(TM) 64-Bit Server VM (20.0-b11 mixed mode windows-amd64 compressed oops) An error report file with more information is saved as: L:\fliphouseWorkspace\Luas\hs_err_pid5032.log If you would like to submit a bug report, please visit: http://java.sun.com/webapps/bugreport/crash.jsp
Any help would be greatly appreciated.
Hugs
source share