{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1838","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1838/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1838/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1838/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/1838","id":99748027,"number":1838,"title":"NullPointerException when execute 'mvn liquibase:diff'","user":{"login":"cgagne","id":12384774,"avatar_url":"https://avatars.githubusercontent.com/u/12384774?v=3","gravatar_id":"","url":"https://api.github.com/users/cgagne","html_url":"https://github.com/cgagne","followers_url":"https://api.github.com/users/cgagne/followers","following_url":"https://api.github.com/users/cgagne/following{/other_user}","gists_url":"https://api.github.com/users/cgagne/gists{/gist_id}","starred_url":"https://api.github.com/users/cgagne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgagne/subscriptions","organizations_url":"https://api.github.com/users/cgagne/orgs","repos_url":"https://api.github.com/users/cgagne/repos","events_url":"https://api.github.com/users/cgagne/events{/privacy}","received_events_url":"https://api.github.com/users/cgagne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-07T23:38:24Z","updated_at":"2015-09-19T20:20:54Z","closed_at":"2015-09-19T20:20:54Z","body":"We have a null pointer exception when I run the mvn command line liquibase:diff on a @manyToMany relationship defined below please see: \r\nhttp://stackoverflow.com/questions/31808537/nullpointerexception-when-execute-mvn-liquibasediff\r\n\r\nThe proposed work arround is to downgrade liquibase version to 3.3.1 (from 3.3.2).\r\n\r\nFrom my undestanding it was supposed to be fix in 3.3.2 see:\r\nhttps://github.com/jhipster/generator-jhipster/issues/754\r\n\r\nRelated liquibase issue:\r\nhttps://github.com/liquibase/liquibase-hibernate/issues/76\r\n\r\nIt seems to be more an issue with liquibase but do you have a better workaround as proposed on stackoverflow for now.\r\n\r\nThanks (hips is great!)\r\n\r\nPS: For my part I am working on \r\njhipster: v 1.4.7\r\nMAC OSX: Yosemite 10.10.4\r\nApache Maven 3.3.3\r\nJava version: 1.8.0_45, vendor: Oracle Corporation\r\n\r\nPOM.XML working solution\r\n    liquibase-hibernate4.version: 3.5\r\n    liquibase-slf4j.version: 1.2.1\r\n    liquibase.version: 3.3.1"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/141702944","html_url":"https://github.com/jhipster/generator-jhipster/issues/1838#issuecomment-141702944","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1838","id":141702944,"user":{"login":"jdubois","id":316835,"avatar_url":"https://avatars.githubusercontent.com/u/316835?v=3","gravatar_id":"","url":"https://api.github.com/users/jdubois","html_url":"https://github.com/jdubois","followers_url":"https://api.github.com/users/jdubois/followers","following_url":"https://api.github.com/users/jdubois/following{/other_user}","gists_url":"https://api.github.com/users/jdubois/gists{/gist_id}","starred_url":"https://api.github.com/users/jdubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdubois/subscriptions","organizations_url":"https://api.github.com/users/jdubois/orgs","repos_url":"https://api.github.com/users/jdubois/repos","events_url":"https://api.github.com/users/jdubois/events{/privacy}","received_events_url":"https://api.github.com/users/jdubois/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T20:20:54Z","updated_at":"2015-09-19T20:20:54Z","body":"I'm closing this as:\r\n\r\n- This is a Liquibase issue\r\n- This is on a very old version of JHipster, and in the [stackoverflow related question](http://stackoverflow.com/questions/31808537/nullpointerexception-when-execute-mvn-liquibasediff) they say you need to downgrade from Liquibase 3.3.2 to 3.3.1. But we are using 3.4.1!!! So this is definitely a bug with an older version, which has been corrected since."}}