{"action":"opened","number":2118,"pull_request":{"url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/pulls/2118","id":74862959,"html_url":"https://github.com/TechEmpower/FrameworkBenchmarks/pull/2118","diff_url":"https://github.com/TechEmpower/FrameworkBenchmarks/pull/2118.diff","patch_url":"https://github.com/TechEmpower/FrameworkBenchmarks/pull/2118.patch","issue_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/2118","number":2118,"state":"open","locked":false,"title":"activeweb fix","user":{"login":"knewmanTE","id":11081506,"avatar_url":"https://avatars.githubusercontent.com/u/11081506?v=3","gravatar_id":"","url":"https://api.github.com/users/knewmanTE","html_url":"https://github.com/knewmanTE","followers_url":"https://api.github.com/users/knewmanTE/followers","following_url":"https://api.github.com/users/knewmanTE/following{/other_user}","gists_url":"https://api.github.com/users/knewmanTE/gists{/gist_id}","starred_url":"https://api.github.com/users/knewmanTE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knewmanTE/subscriptions","organizations_url":"https://api.github.com/users/knewmanTE/orgs","repos_url":"https://api.github.com/users/knewmanTE/repos","events_url":"https://api.github.com/users/knewmanTE/events{/privacy}","received_events_url":"https://api.github.com/users/knewmanTE/received_events","type":"User","site_admin":false},"body":"The update and queries tests for activeweb were breaking, throwing the following error:\r\n```\r\norg.javalite.templator.TemplateException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1; java.lang.StringIndexOutOfBoundsException: String index out of range: -1\r\n```\r\n\r\nThis may be indicative of a larger issue with the javalite template rendering engine, but in the meantime, adding a space to the beginning of the queries template seems to fix the problem.\r\n\r\nFull stack trace for the exception:\r\n\r\n```\r\norg.javalite.activeweb.ViewException: org.javalite.templator.TemplateException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1; java.lang.StringIndexOutOfBoundsException: String index out of range: -1\r\n\tat org.javalite.activeweb.RenderTemplateResponse.doProcess(RenderTemplateResponse.java:91)\r\n\tat org.javalite.activeweb.ControllerResponse.process(ControllerResponse.java:64)\r\n\tat org.javalite.activeweb.ControllerRunner.renderResponse(ControllerRunner.java:141)\r\n\tat org.javalite.activeweb.ControllerRunner.run(ControllerRunner.java:73)\r\n\tat org.javalite.activeweb.RequestDispatcher.doFilter(RequestDispatcher.java:202)\r\n\tat com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89)\r\n\tat com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)\r\n\tat com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)\r\n\tat com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:838)\r\n\tat com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1348)\r\n\tat com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1304)\r\n\tat com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1288)\r\n\tat com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1196)\r\n\tat com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:993)\r\n\tat com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)\r\n\tat com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)\r\n\tat com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169)\r\n\tat com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)\r\n\tat com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)\r\n\tat com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)\r\nCaused by: org.javalite.templator.TemplateException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1\r\n\tat org.javalite.templator.Template.<init>(Template.java:24)\r\n\tat org.javalite.activeweb.templator.TemplatorManager.merge(TemplatorManager.java:29)\r\n\tat org.javalite.activeweb.RenderTemplateResponse.doProcess(RenderTemplateResponse.java:82)\r\n\t... 19 more\r\nCaused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1\r\n\tat java.lang.String.substring(String.java:1960)\r\n\tat org.javalite.templator.AbstractTag.matchEndTag(AbstractTag.java:124)\r\n\tat org.javalite.templator.Template.parse(Template.java:69)\r\n\tat org.javalite.templator.Template.<init>(Template.java:20)\r\n\t... 21 more\r\n```","created_at":"2016-06-22T21:43:05Z","updated_at":"2016-06-22T21:43:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/pulls/2118/commits","review_comments_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/pulls/2118/comments","review_comment_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/2118/comments","statuses_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/statuses/be0b80fbb37367d7c278ef2e6989908fb4e297cd","head":{"label":"knewmanTE:activeweb-fix","ref":"activeweb-fix","sha":"be0b80fbb37367d7c278ef2e6989908fb4e297cd","user":{"login":"knewmanTE","id":11081506,"avatar_url":"https://avatars.githubusercontent.com/u/11081506?v=3","gravatar_id":"","url":"https://api.github.com/users/knewmanTE","html_url":"https://github.com/knewmanTE","followers_url":"https://api.github.com/users/knewmanTE/followers","following_url":"https://api.github.com/users/knewmanTE/following{/other_user}","gists_url":"https://api.github.com/users/knewmanTE/gists{/gist_id}","starred_url":"https://api.github.com/users/knewmanTE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knewmanTE/subscriptions","organizations_url":"https://api.github.com/users/knewmanTE/orgs","repos_url":"https://api.github.com/users/knewmanTE/repos","events_url":"https://api.github.com/users/knewmanTE/events{/privacy}","received_events_url":"https://api.github.com/users/knewmanTE/received_events","type":"User","site_admin":false},"repo":{"id":34760190,"name":"FrameworkBenchmarks","full_name":"knewmanTE/FrameworkBenchmarks","owner":{"login":"knewmanTE","id":11081506,"avatar_url":"https://avatars.githubusercontent.com/u/11081506?v=3","gravatar_id":"","url":"https://api.github.com/users/knewmanTE","html_url":"https://github.com/knewmanTE","followers_url":"https://api.github.com/users/knewmanTE/followers","following_url":"https://api.github.com/users/knewmanTE/following{/other_user}","gists_url":"https://api.github.com/users/knewmanTE/gists{/gist_id}","starred_url":"https://api.github.com/users/knewmanTE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knewmanTE/subscriptions","organizations_url":"https://api.github.com/users/knewmanTE/orgs","repos_url":"https://api.github.com/users/knewmanTE/repos","events_url":"https://api.github.com/users/knewmanTE/events{/privacy}","received_events_url":"https://api.github.com/users/knewmanTE/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/knewmanTE/FrameworkBenchmarks","description":"Source code for the framework benchmarking project","fork":true,"url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks","forks_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/forks","keys_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/teams","hooks_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/hooks","issue_events_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/issues/events{/number}","events_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/events","assignees_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/assignees{/user}","branches_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/branches{/branch}","tags_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/tags","blobs_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/git/refs{/sha}","trees_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/statuses/{sha}","languages_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/languages","stargazers_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/stargazers","contributors_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/contributors","subscribers_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/subscribers","subscription_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/subscription","commits_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/commits{/sha}","git_commits_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/git/commits{/sha}","comments_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/comments{/number}","issue_comment_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/issues/comments{/number}","contents_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/contents/{+path}","compare_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/merges","archive_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/downloads","issues_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/issues{/number}","pulls_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/pulls{/number}","milestones_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/milestones{/number}","notifications_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/labels{/name}","releases_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/releases{/id}","deployments_url":"https://api.github.com/repos/knewmanTE/FrameworkBenchmarks/deployments","created_at":"2015-04-28T22:53:35Z","updated_at":"2016-06-13T19:43:32Z","pushed_at":"2016-06-22T21:34:31Z","git_url":"git://github.com/knewmanTE/FrameworkBenchmarks.git","ssh_url":"git@github.com:knewmanTE/FrameworkBenchmarks.git","clone_url":"https://github.com/knewmanTE/FrameworkBenchmarks.git","svn_url":"https://github.com/knewmanTE/FrameworkBenchmarks","homepage":"http://www.techempower.com/benchmarks/","size":253915,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"TechEmpower:round-14","ref":"round-14","sha":"5697da0261416c9836f9819110d86a31163f0056","user":{"login":"TechEmpower","id":3910062,"avatar_url":"https://avatars.githubusercontent.com/u/3910062?v=3","gravatar_id":"","url":"https://api.github.com/users/TechEmpower","html_url":"https://github.com/TechEmpower","followers_url":"https://api.github.com/users/TechEmpower/followers","following_url":"https://api.github.com/users/TechEmpower/following{/other_user}","gists_url":"https://api.github.com/users/TechEmpower/gists{/gist_id}","starred_url":"https://api.github.com/users/TechEmpower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechEmpower/subscriptions","organizations_url":"https://api.github.com/users/TechEmpower/orgs","repos_url":"https://api.github.com/users/TechEmpower/repos","events_url":"https://api.github.com/users/TechEmpower/events{/privacy}","received_events_url":"https://api.github.com/users/TechEmpower/received_events","type":"Organization","site_admin":false},"repo":{"id":8957264,"name":"FrameworkBenchmarks","full_name":"TechEmpower/FrameworkBenchmarks","owner":{"login":"TechEmpower","id":3910062,"avatar_url":"https://avatars.githubusercontent.com/u/3910062?v=3","gravatar_id":"","url":"https://api.github.com/users/TechEmpower","html_url":"https://github.com/TechEmpower","followers_url":"https://api.github.com/users/TechEmpower/followers","following_url":"https://api.github.com/users/TechEmpower/following{/other_user}","gists_url":"https://api.github.com/users/TechEmpower/gists{/gist_id}","starred_url":"https://api.github.com/users/TechEmpower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechEmpower/subscriptions","organizations_url":"https://api.github.com/users/TechEmpower/orgs","repos_url":"https://api.github.com/users/TechEmpower/repos","events_url":"https://api.github.com/users/TechEmpower/events{/privacy}","received_events_url":"https://api.github.com/users/TechEmpower/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TechEmpower/FrameworkBenchmarks","description":"Source code for the framework benchmarking project","fork":false,"url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks","forks_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/forks","keys_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/teams","hooks_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/hooks","issue_events_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/events{/number}","events_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/events","assignees_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/assignees{/user}","branches_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/branches{/branch}","tags_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/tags","blobs_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/statuses/{sha}","languages_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/languages","stargazers_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/stargazers","contributors_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/contributors","subscribers_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/subscribers","subscription_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/subscription","commits_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/contents/{+path}","compare_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/merges","archive_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/downloads","issues_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues{/number}","pulls_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/pulls{/number}","milestones_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/milestones{/number}","notifications_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/labels{/name}","releases_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/releases{/id}","deployments_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/deployments","created_at":"2013-03-22T17:33:54Z","updated_at":"2016-06-22T11:15:05Z","pushed_at":"2016-06-22T21:43:05Z","git_url":"git://github.com/TechEmpower/FrameworkBenchmarks.git","ssh_url":"git@github.com:TechEmpower/FrameworkBenchmarks.git","clone_url":"https://github.com/TechEmpower/FrameworkBenchmarks.git","svn_url":"https://github.com/TechEmpower/FrameworkBenchmarks","homepage":"http://www.techempower.com/benchmarks/","size":293922,"stargazers_count":2261,"watchers_count":2261,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":756,"mirror_url":null,"open_issues_count":124,"forks":756,"open_issues":124,"watchers":2261,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/pulls/2118"},"html":{"href":"https://github.com/TechEmpower/FrameworkBenchmarks/pull/2118"},"issue":{"href":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/2118"},"comments":{"href":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/2118/comments"},"review_comments":{"href":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/pulls/2118/comments"},"review_comment":{"href":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/pulls/2118/commits"},"statuses":{"href":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/statuses/be0b80fbb37367d7c278ef2e6989908fb4e297cd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"knewmanTE"}}