{"action":"created","issue":{"url":"https://api.github.com/repos/yegor256/thindeck/issues/492","labels_url":"https://api.github.com/repos/yegor256/thindeck/issues/492/labels{/name}","comments_url":"https://api.github.com/repos/yegor256/thindeck/issues/492/comments","events_url":"https://api.github.com/repos/yegor256/thindeck/issues/492/events","html_url":"https://github.com/yegor256/thindeck/issues/492","id":53710310,"number":492,"title":"Method add of DyTasks fail","user":{"login":"oruam85","id":5570433,"avatar_url":"https://avatars.githubusercontent.com/u/5570433?v=3","gravatar_id":"","url":"https://api.github.com/users/oruam85","html_url":"https://github.com/oruam85","followers_url":"https://api.github.com/users/oruam85/followers","following_url":"https://api.github.com/users/oruam85/following{/other_user}","gists_url":"https://api.github.com/users/oruam85/gists{/gist_id}","starred_url":"https://api.github.com/users/oruam85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oruam85/subscriptions","organizations_url":"https://api.github.com/users/oruam85/orgs","repos_url":"https://api.github.com/users/oruam85/repos","events_url":"https://api.github.com/users/oruam85/events{/privacy}","received_events_url":"https://api.github.com/users/oruam85/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-08T03:16:46Z","updated_at":"2015-01-08T13:21:07Z","closed_at":null,"body":"The method add of the DyTasks class return this error:\r\n\r\n```\r\njava.lang.IllegalStateException: java.io.IOException: java.sql.SQLException: org.h2.jdbc.JdbcSQLException: Column \"COMM\" not found; SQL statement:\r\nINSERT INTO tasks (comm,id,urn) VALUES (?,?,?) [42122-176]\r\n\tat com.jcabi.dynamo.mock.MkTable.put_aroundBody0(MkTable.java:84)\r\n\tat com.jcabi.dynamo.mock.MkTable$AjcClosure1.run(MkTable.java:1)\r\n\tat org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)\r\n\tat com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:208)\r\n\tat com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)\r\n\tat com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:136)\r\n\tat com.jcabi.dynamo.mock.MkTable.put(MkTable.java:80)\r\n\tat com.thindeck.dynamo.DyTasks.add(DyTasks.java:113)\r\n\tat com.thindeck.dynamo.DyTasksTest.addTaskWithoutAttributes(DyTasksTest.java:104)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:309)\r\n\tat org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)\r\n\tat org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)\r\nCaused by: java.io.IOException: java.sql.SQLException: org.h2.jdbc.JdbcSQLException: Column \"COMM\" not found; SQL statement:\r\nINSERT INTO tasks (comm,id,urn) VALUES (?,?,?) [42122-176]\r\n\tat com.jcabi.dynamo.mock.H2Data.put_aroundBody2(H2Data.java:225)\r\n\tat com.jcabi.dynamo.mock.H2Data$AjcClosure3.run(H2Data.java:1)\r\n\tat org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)\r\n\tat com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:208)\r\n\tat com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)\r\n\tat com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:136)\r\n\tat com.jcabi.dynamo.mock.H2Data.put(H2Data.java:211)\r\n\tat com.jcabi.dynamo.mock.MkTable.put_aroundBody0(MkTable.java:82)\r\n\t... 31 more\r\nCaused by: java.sql.SQLException: org.h2.jdbc.JdbcSQLException: Column \"COMM\" not found; SQL statement:\r\nINSERT INTO tasks (comm,id,urn) VALUES (?,?,?) [42122-176]\r\n\tat com.jcabi.jdbc.JdbcSession.run(JdbcSession.java:403)\r\n\tat com.jcabi.jdbc.JdbcSession.execute_aroundBody16(JdbcSession.java:334)\r\n\tat com.jcabi.jdbc.JdbcSession$AjcClosure17.run(JdbcSession.java:1)\r\n\tat org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)\r\n\tat com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:208)\r\n\tat com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)\r\n\tat com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:136)\r\n\tat com.jcabi.jdbc.JdbcSession.execute(JdbcSession.java:334)\r\n\tat com.jcabi.dynamo.mock.H2Data.put_aroundBody2(H2Data.java:223)\r\n\t... 38 more\r\nCaused by: org.h2.jdbc.JdbcSQLException: Column \"COMM\" not found; SQL statement:\r\nINSERT INTO tasks (comm,id,urn) VALUES (?,?,?) [42122-176]\r\n\tat org.h2.message.DbException.getJdbcSQLException(DbException.java:344)\r\n\tat org.h2.message.DbException.get(DbException.java:178)\r\n\tat org.h2.message.DbException.get(DbException.java:154)\r\n\tat org.h2.table.Table.getColumn(Table.java:637)\r\n\tat org.h2.command.Parser.parseColumn(Parser.java:849)\r\n\tat org.h2.command.Parser.parseColumnList(Parser.java:833)\r\n\tat org.h2.command.Parser.parseInsert(Parser.java:1033)\r\n\tat org.h2.command.Parser.parsePrepared(Parser.java:402)\r\n\tat org.h2.command.Parser.parse(Parser.java:306)\r\n\tat org.h2.command.Parser.parse(Parser.java:278)\r\n\tat org.h2.command.Parser.prepareCommand(Parser.java:243)\r\n\tat org.h2.engine.Session.prepareLocal(Session.java:442)\r\n\tat org.h2.engine.Session.prepareCommand(Session.java:384)\r\n\tat org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1188)\r\n\tat org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:73)\r\n\tat org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:276)\r\n\tat com.jcabi.jdbc.Connect$Plain.open(Connect.java:75)\r\n\tat com.jcabi.jdbc.JdbcSession.run(JdbcSession.java:383)\r\n\t... 46 more\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/yegor256/thindeck/issues/comments/69177847","html_url":"https://github.com/yegor256/thindeck/issues/492#issuecomment-69177847","issue_url":"https://api.github.com/repos/yegor256/thindeck/issues/492","id":69177847,"user":{"login":"oruam85","id":5570433,"avatar_url":"https://avatars.githubusercontent.com/u/5570433?v=3","gravatar_id":"","url":"https://api.github.com/users/oruam85","html_url":"https://github.com/oruam85","followers_url":"https://api.github.com/users/oruam85/followers","following_url":"https://api.github.com/users/oruam85/following{/other_user}","gists_url":"https://api.github.com/users/oruam85/gists{/gist_id}","starred_url":"https://api.github.com/users/oruam85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oruam85/subscriptions","organizations_url":"https://api.github.com/users/oruam85/orgs","repos_url":"https://api.github.com/users/oruam85/repos","events_url":"https://api.github.com/users/oruam85/events{/privacy}","received_events_url":"https://api.github.com/users/oruam85/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T13:21:07Z","updated_at":"2015-01-08T13:21:07Z","body":"@yegor256  the test:\r\n\r\n```\r\nfinal Repo repo = new MkRepo();\r\n    \tfinal Region region = DyTasksTest.region(repo.name());\r\n    \tfinal String command = \"command\";\r\n    \t\r\n    \tDyTasks tasks = new DyTasks(region, repo);\r\n    \tMap <String,String> map = new HashMap<String,String>();\r\n    \tTask task = tasks.add(command,map);\r\n    \t\r\n    \tMatcherAssert.assertThat(task.command(),Matchers.equalTo(command));\r\n```"}}