{"action":"created","issue":{"url":"https://api.github.com/repos/daveagp/java_jail/issues/6","labels_url":"https://api.github.com/repos/daveagp/java_jail/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/daveagp/java_jail/issues/6/comments","events_url":"https://api.github.com/repos/daveagp/java_jail/issues/6/events","html_url":"https://github.com/daveagp/java_jail/issues/6","id":108503701,"number":6,"title":"Java Visualizer not working","user":{"login":"nileshtakale","id":14703926,"avatar_url":"https://avatars.githubusercontent.com/u/14703926?v=3","gravatar_id":"","url":"https://api.github.com/users/nileshtakale","html_url":"https://github.com/nileshtakale","followers_url":"https://api.github.com/users/nileshtakale/followers","following_url":"https://api.github.com/users/nileshtakale/following{/other_user}","gists_url":"https://api.github.com/users/nileshtakale/gists{/gist_id}","starred_url":"https://api.github.com/users/nileshtakale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nileshtakale/subscriptions","organizations_url":"https://api.github.com/users/nileshtakale/orgs","repos_url":"https://api.github.com/users/nileshtakale/repos","events_url":"https://api.github.com/users/nileshtakale/events{/privacy}","received_events_url":"https://api.github.com/users/nileshtakale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":66,"created_at":"2015-09-26T23:56:13Z","updated_at":"2015-10-03T20:54:37Z","closed_at":null,"body":"Hi,\r\nI followed all the steps on my RHEL 7 64 bit OS to install Java Visualizer, but still it is not working.\r\nsafeexec is working properly.\r\nIn Java jail when I execute below command ,\r\n\r\n./java/bin/java -cp .:cp:cp/javax.json-1.0.jar:java/lib/tools.jar traceprinter.InMemory < cp/traceprinter/test-input.txt\r\nit gives me below output.\r\n\r\n{\"code\":\"public class Test { public static void main(String[] args) { int x = 3; x += x; } }\",\"stdin\":\"\",\"trace\":[{\"stdout\":\"\",\"event\":\"call\",\"line\":1,\"stack_to_render\":[{\"func_name\":\"main:1\",\"encoded_locals\":{},\"ordered_varnames\":[],\"parent_frame_id_list\":[],\"is_highlighted\":true,\"is_zombie\":false,\"is_parent\":false,\"unique_hash\":\"1\",\"frame_id\":1}],\"globals\":{},\"ordered_globals\":[],\"func_name\":\"main\",\"heap\":{}},{\"stdout\":\"\",\"event\":\"step_line\",\"line\":1,\"stack_to_render\":[{\"func_name\":\"main:1\",\"encoded_locals\":{},\"ordered_varnames\":[],\"parent_frame_id_list\":[],\"is_highlighted\":true,\"is_zombie\":false,\"is_parent\":false,\"unique_hash\":\"2\",\"frame_id\":2}],\"globals\":{},\"ordered_globals\":[],\"func_name\":\"main\",\"heap\":{}},{\"stdout\":\"\",\"event\":\"step_line\",\"line\":1,\"stack_to_render\":[{\"func_name\":\"main:1\",\"encoded_locals\":{\"x\":3},\"ordered_varnames\":[\"x\"],\"parent_frame_id_list\":[],\"is_highlighted\":true,\"is_zombie\":false,\"is_parent\":false,\"unique_hash\":\"4\",\"frame_id\":4}],\"globals\":{},\"ordered_globals\":[],\"func_name\":\"main\",\"heap\":{}},{\"stdout\":\"\",\"event\":\"step_line\",\"line\":1,\"stack_to_render\":[{\"func_name\":\"main:1\",\"encoded_locals\":{\"x\":6},\"ordered_varnames\":[\"x\"],\"parent_frame_id_list\":[],\"is_highlighted\":true,\"is_zombie\":false,\"is_parent\":false,\"unique_hash\":\"8\",\"frame_id\":8}],\"globals\":{},\"ordered_globals\":[],\"func_name\":\"main\",\"heap\":{}},{\"stdout\":\"\",\"event\":\"return\",\"line\":1,\"stack_to_render\":[{\"func_name\":\"main:1\",\"encoded_locals\":{\"x\":6,\"__return__\":[\"VOID\"]},\"ordered_varnames\":[\"x\",\"__return__\"],\"parent_frame_id_list\":[],\"is_highlighted\":true,\"is_zombie\":false,\"is_parent\":false,\"unique_hash\":\"9\",\"frame_id\":9}],\"globals\":{},\"ordered_globals\":[],\"func_name\":\"main\",\"heap\":{}}],\"userlog\":\"Debugger VM maxMemory: 3513M\\n\"}\r\n\r\neverything is blank inside {}.\r\n\r\nI also tried accessing Java Visualizer by http://localhost/java_visualize. but its not working.\r\n\r\nPlease help.\r\n\r\nThanks.\r\n"},"comment":{"url":"https://api.github.com/repos/daveagp/java_jail/issues/comments/145288279","html_url":"https://github.com/daveagp/java_jail/issues/6#issuecomment-145288279","issue_url":"https://api.github.com/repos/daveagp/java_jail/issues/6","id":145288279,"user":{"login":"nileshtakale","id":14703926,"avatar_url":"https://avatars.githubusercontent.com/u/14703926?v=3","gravatar_id":"","url":"https://api.github.com/users/nileshtakale","html_url":"https://github.com/nileshtakale","followers_url":"https://api.github.com/users/nileshtakale/followers","following_url":"https://api.github.com/users/nileshtakale/following{/other_user}","gists_url":"https://api.github.com/users/nileshtakale/gists{/gist_id}","starred_url":"https://api.github.com/users/nileshtakale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nileshtakale/subscriptions","organizations_url":"https://api.github.com/users/nileshtakale/orgs","repos_url":"https://api.github.com/users/nileshtakale/repos","events_url":"https://api.github.com/users/nileshtakale/events{/privacy}","received_events_url":"https://api.github.com/users/nileshtakale/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T20:54:37Z","updated_at":"2015-10-03T20:54:37Z","body":"Same error,\r\n\r\nServer error. Report a bug to daveagp@gmail.com (click 'Generate URL' and include it). Debug info (also copied to console):\r\ntextStatus: parsererror\r\nerrorThrown: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data\r\nServer reply: /usr/java_visualizer/safeexec-master/safeexec --chroot_dir /usr/java_visualizer/java_jail-master/  --clock 15  --cpu 10  --mem 30000000  --exec_dir /  --env_vars ''  --nproc 50  --nfile 50  --share_newnet   --exec /java/bin/java -Xmx512M  -cp /cp/:/cp/javax.json-1.0.jar:/java/lib/tools.jar:/cp/visualizer-stdlib traceprinter.InMemory{\"code\":\"public class ClassNameHere {\\n   public static void main(String[] args) {\\n      \\n   }\\n}\",\"stdin\":\"\",\"trace\":[{\"stdout\":\"\",\"event\":\"call\",\"line\":4,\"stack_to_render\":[{\"func_name\":\"main:4\",\"encoded_locals\":{},\"ordered_varnames\":[],\"parent_frame_id_list\":[],\"is_highlighted\":true,\"is_zombie\":false,\"is_parent\":false,\"unique_hash\":\"1\",\"frame_id\":1}],\"globals\":{},\"ordered_globals\":[],\"func_name\":\"main\",\"heap\":{}},{\"stdout\":\"\",\"event\":\"step_line\",\"line\":4,\"stack_to_render\":[{\"func_name\":\"main:4\",\"encoded_locals\":{},\"ordered_varnames\":[],\"parent_frame_id_list\":[],\"is_highlighted\":true,\"is_zombie\":false,\"is_parent\":false,\"unique_hash\":\"2\",\"frame_id\":2}],\"globals\":{},\"ordered_globals\":[],\"func_name\":\"main\",\"heap\":{}},{\"stdout\":\"\",\"event\":\"return\",\"line\":4,\"stack_to_render\":[{\"func_name\":\"main:4\",\"encoded_locals\":{\"__return__\":[\"VOID\"]},\"ordered_varnames\":[\"__return__\"],\"parent_frame_id_list\":[],\"is_highlighted\":true,\"is_zombie\":false,\"is_parent\":false,\"unique_hash\":\"3\",\"frame_id\":3}],\"globals\":{},\"ordered_globals\":[],\"func_name\":\"main\",\"heap\":{}}],\"userlog\":\"Debugger VM maxMemory: 455M\\n\"}\r\n"}}