{"action":"created","issue":{"url":"https://api.github.com/repos/apache/activemq-artemis/issues/771","repository_url":"https://api.github.com/repos/apache/activemq-artemis","labels_url":"https://api.github.com/repos/apache/activemq-artemis/issues/771/labels{/name}","comments_url":"https://api.github.com/repos/apache/activemq-artemis/issues/771/comments","events_url":"https://api.github.com/repos/apache/activemq-artemis/issues/771/events","html_url":"https://github.com/apache/activemq-artemis/pull/771","id":176333110,"number":771,"title":"ARTEMIS-714 Improve JDBC Store","user":{"login":"jmesnil","id":6193,"avatar_url":"https://avatars.githubusercontent.com/u/6193?v=3","gravatar_id":"","url":"https://api.github.com/users/jmesnil","html_url":"https://github.com/jmesnil","followers_url":"https://api.github.com/users/jmesnil/followers","following_url":"https://api.github.com/users/jmesnil/following{/other_user}","gists_url":"https://api.github.com/users/jmesnil/gists{/gist_id}","starred_url":"https://api.github.com/users/jmesnil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmesnil/subscriptions","organizations_url":"https://api.github.com/users/jmesnil/orgs","repos_url":"https://api.github.com/users/jmesnil/repos","events_url":"https://api.github.com/users/jmesnil/events{/privacy}","received_events_url":"https://api.github.com/users/jmesnil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-12T09:37:17Z","updated_at":"2016-09-13T19:29:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/activemq-artemis/pulls/771","html_url":"https://github.com/apache/activemq-artemis/pull/771","diff_url":"https://github.com/apache/activemq-artemis/pull/771.diff","patch_url":"https://github.com/apache/activemq-artemis/pull/771.patch"},"body":"add DataSource and SQLProvider.Factory properties to DataStorageConfiguration to externalize the configuration of the communication with the JDBC data store instead of relying on global class path to load the SQL connection and hard-coded values for the SQL provider choice\r\n\r\nJIRA: https://issues.apache.org/jira/browse/ARTEMIS-714"},"comment":{"url":"https://api.github.com/repos/apache/activemq-artemis/issues/comments/246796279","html_url":"https://github.com/apache/activemq-artemis/pull/771#issuecomment-246796279","issue_url":"https://api.github.com/repos/apache/activemq-artemis/issues/771","id":246796279,"user":{"login":"clebertsuconic","id":750514,"avatar_url":"https://avatars.githubusercontent.com/u/750514?v=3","gravatar_id":"","url":"https://api.github.com/users/clebertsuconic","html_url":"https://github.com/clebertsuconic","followers_url":"https://api.github.com/users/clebertsuconic/followers","following_url":"https://api.github.com/users/clebertsuconic/following{/other_user}","gists_url":"https://api.github.com/users/clebertsuconic/gists{/gist_id}","starred_url":"https://api.github.com/users/clebertsuconic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clebertsuconic/subscriptions","organizations_url":"https://api.github.com/users/clebertsuconic/orgs","repos_url":"https://api.github.com/users/clebertsuconic/repos","events_url":"https://api.github.com/users/clebertsuconic/events{/privacy}","received_events_url":"https://api.github.com/users/clebertsuconic/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T19:29:23Z","updated_at":"2016-09-13T19:29:23Z","body":"@jmesnil Can you take a look into  org.apache.activemq.artemis.tests.integration.client.LargeMessage\r\n\r\nIf you run any JDBC test, there's a NPE happening:\r\n\r\n\r\n```java\r\n[main] 15:27:39,377 WARN  [org.apache.activemq.artemis.core.server] AMQ222010: Critical IO Error, shutting down the server. file=NULL, message=null: java.lang.NullPointerException\r\n\tat org.apache.activemq.artemis.core.persistence.impl.journal.JDBCJournalStorageManager.init(JDBCJournalStorageManager.java:89) [:]\r\n\tat org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.<init>(AbstractJournalStorageManager.java:208) [:]\r\n\tat org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.<init>(JournalStorageManager.java:97) [:]\r\n\tat org.apache.activemq.artemis.core.persistence.impl.journal.JDBCJournalStorageManager.<init>(JDBCJournalStorageManager.java:47) [:]\r\n\tat org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createStorageManager(ActiveMQServerImpl.java:1799) [:]\r\n\tat org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart1(ActiveMQServerImpl.java:1930) [:]\r\n\tat org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run(LiveOnlyActivation.java:61) [:]\r\n\tat org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:447) [:]\r\n\tat org.apache.activemq.artemis.tests.integration.client.LargeMessageTest.testBufferMultipleLargeMessages(LargeMessageTest.java:1655) [:]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_73]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_73]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_73]\r\n\tat java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_73]\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:]\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:]\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:]\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:]\r\n\tat org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:]\r\n\tat org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:]\r\n\tat org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) [junit-4.11.jar:]\r\n\tat org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) [junit-4.11.jar:]\r\n\tat org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) [junit-4.11.jar:]\r\n\tat org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) [junit-4.11.jar:]\r\n\tat org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) [junit-4.11.jar:]\r\n\tat org.junit.rules.RunRules.evaluate(RunRules.java:20) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) [junit-4.11.jar:]\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) [junit-4.11.jar:]\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit-4.11.jar:]\r\n\tat org.junit.runners.Suite.runChild(Suite.java:127) [junit-4.11.jar:]\r\n\tat org.junit.runners.Suite.runChild(Suite.java:26) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit-4.11.jar:]\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit-4.11.jar:]\r\n\tat org.junit.runner.JUnitCore.run(JUnitCore.java:160) [junit-4.11.jar:]\r\n\tat com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) [junit-rt.jar:]\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234) [junit-rt.jar:]\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74) [junit-rt.jar:]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_73]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_73]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_73]\r\n\tat java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_73]\r\n\tat com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) [idea_rt.jar:]\r\n```\r\n\r\n\r\nI tried to fix it myself but I couldn't figure out your intention here. I guess you can fix it faster than I could.\r\n\r\n\r\nI found this running the whole testsuite. The tests will hang after this failure."}}
{"actor":{"display_login":"clebertsuconic"}}