{"action":"created","issue":{"url":"https://api.github.com/repos/jGauravGupta/JPAModeler/issues/159","repository_url":"https://api.github.com/repos/jGauravGupta/JPAModeler","labels_url":"https://api.github.com/repos/jGauravGupta/JPAModeler/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/jGauravGupta/JPAModeler/issues/159/comments","events_url":"https://api.github.com/repos/jGauravGupta/JPAModeler/issues/159/events","html_url":"https://github.com/jGauravGupta/JPAModeler/issues/159","id":213214185,"number":159,"title":"Darcula LAF theme issue","user":{"login":"Namphibian","id":9838598,"avatar_url":"https://avatars3.githubusercontent.com/u/9838598?v=3","gravatar_id":"","url":"https://api.github.com/users/Namphibian","html_url":"https://github.com/Namphibian","followers_url":"https://api.github.com/users/Namphibian/followers","following_url":"https://api.github.com/users/Namphibian/following{/other_user}","gists_url":"https://api.github.com/users/Namphibian/gists{/gist_id}","starred_url":"https://api.github.com/users/Namphibian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Namphibian/subscriptions","organizations_url":"https://api.github.com/users/Namphibian/orgs","repos_url":"https://api.github.com/users/Namphibian/repos","events_url":"https://api.github.com/users/Namphibian/events{/privacy}","received_events_url":"https://api.github.com/users/Namphibian/received_events","type":"User","site_admin":false},"labels":[{"id":303448589,"url":"https://api.github.com/repos/jGauravGupta/JPAModeler/labels/duplicate","name":"duplicate","color":"cccccc","default":true},{"id":436544516,"url":"https://api.github.com/repos/jGauravGupta/JPAModeler/labels/environment%20issue","name":"environment issue","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"jGauravGupta","id":15934072,"avatar_url":"https://avatars3.githubusercontent.com/u/15934072?v=3","gravatar_id":"","url":"https://api.github.com/users/jGauravGupta","html_url":"https://github.com/jGauravGupta","followers_url":"https://api.github.com/users/jGauravGupta/followers","following_url":"https://api.github.com/users/jGauravGupta/following{/other_user}","gists_url":"https://api.github.com/users/jGauravGupta/gists{/gist_id}","starred_url":"https://api.github.com/users/jGauravGupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jGauravGupta/subscriptions","organizations_url":"https://api.github.com/users/jGauravGupta/orgs","repos_url":"https://api.github.com/users/jGauravGupta/repos","events_url":"https://api.github.com/users/jGauravGupta/events{/privacy}","received_events_url":"https://api.github.com/users/jGauravGupta/received_events","type":"User","site_admin":false},"assignees":[{"login":"jGauravGupta","id":15934072,"avatar_url":"https://avatars3.githubusercontent.com/u/15934072?v=3","gravatar_id":"","url":"https://api.github.com/users/jGauravGupta","html_url":"https://github.com/jGauravGupta","followers_url":"https://api.github.com/users/jGauravGupta/followers","following_url":"https://api.github.com/users/jGauravGupta/following{/other_user}","gists_url":"https://api.github.com/users/jGauravGupta/gists{/gist_id}","starred_url":"https://api.github.com/users/jGauravGupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jGauravGupta/subscriptions","organizations_url":"https://api.github.com/users/jGauravGupta/orgs","repos_url":"https://api.github.com/users/jGauravGupta/repos","events_url":"https://api.github.com/users/jGauravGupta/events{/privacy}","received_events_url":"https://api.github.com/users/jGauravGupta/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-03-10T01:10:00Z","updated_at":"2017-03-10T05:27:17Z","closed_at":null,"body":"Hi All.\r\n\r\nApologies for extended radio silence from myself. I was ill due to buckets of stress. I am back and want to pick up with this modeller.\r\n\r\nBackground:\r\n\r\nI am just using a normal maven web project and cannot add the modeller. Running Java 8, netbeans 8.2. When trying to add new JPA model to the project the plugin crashes. I suspect I cannot just add a new model to a Maven project however since I have no database connection or classes defined yet and would like to use the plug in to drive **a top down approach i.e. model before I code** thus I choose the J**PA model vs a new JPA diagram.** \r\n\r\nSee screenshot below:\r\n\r\n1. I add JPA modeller.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/9838598/23777539/9d57b09c-0589-11e7-8fcc-76549f01bba8.png)\r\n\r\n2. I choose the folder and give it a name( i choose the src folder)\r\n![image](https://cloud.githubusercontent.com/assets/9838598/23777566/c37df966-0589-11e7-87bc-9ccb91748cc1.png)\r\n\r\n3. I get the evil chameleon laughing at me.....\r\n\r\n![image](https://cloud.githubusercontent.com/assets/9838598/23777577/db649d6e-0589-11e7-8191-10e71326bdd2.png)\r\n\r\n\r\nSome notes:\r\n1. If I click on the project node and add the JPA modeller like above it does not create the Filename.jpa on the project node list. See screenshot below:\r\n![image](https://cloud.githubusercontent.com/assets/9838598/23777650/3f4a75a6-058a-11e7-9352-442724dcc9bd.png)\r\n\r\n\r\n2. If I click  on the source packages node I still get the exception but I do have a  Filename.jpa listed.\r\n![image](https://cloud.githubusercontent.com/assets/9838598/23777665/564995b6-058a-11e7-9bec-b44f05224377.png)\r\n\r\nIn both cases I am now blocked and cannot proceed any further. I keep on getting exceptions\r\n\r\n\r\nMy Pom file looks like this:\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">\r\n    <modelVersion>4.0.0</modelVersion>\r\n\r\n    <groupId>com.mycompany</groupId>\r\n    <artifactId>JPATestMe</artifactId>\r\n    <version>1.0-SNAPSHOT</version>\r\n    <packaging>war</packaging>\r\n\r\n    <name>JPATestMe</name>\r\n\r\n    <properties>\r\n        <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>\r\n        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r\n    </properties>\r\n    \r\n    <dependencies>\r\n        <dependency>\r\n            <groupId>org.primefaces</groupId>\r\n            <artifactId>primefaces</artifactId>\r\n            <version>5.0</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>javax</groupId>\r\n            <artifactId>javaee-web-api</artifactId>\r\n            <version>7.0</version>\r\n            <scope>provided</scope>\r\n        </dependency>\r\n    </dependencies>\r\n    <build>\r\n        <plugins>\r\n            <plugin>\r\n                <groupId>org.apache.maven.plugins</groupId>\r\n                <artifactId>maven-compiler-plugin</artifactId>\r\n                <version>3.1</version>\r\n                <configuration>\r\n                    <source>1.7</source>\r\n                    <target>1.7</target>\r\n                    <compilerArguments>\r\n                        <endorseddirs>${endorsed.dir}</endorseddirs>\r\n                    </compilerArguments>\r\n                </configuration>\r\n            </plugin>\r\n            <plugin>\r\n                <groupId>org.apache.maven.plugins</groupId>\r\n                <artifactId>maven-war-plugin</artifactId>\r\n                <version>2.3</version>\r\n                <configuration>\r\n                    <failOnMissingWebXml>false</failOnMissingWebXml>\r\n                </configuration>\r\n            </plugin>\r\n            <plugin>\r\n                <groupId>org.apache.maven.plugins</groupId>\r\n                <artifactId>maven-dependency-plugin</artifactId>\r\n                <version>2.6</version>\r\n                <executions>\r\n                    <execution>\r\n                        <phase>validate</phase>\r\n                        <goals>\r\n                            <goal>copy</goal>\r\n                        </goals>\r\n                        <configuration>\r\n                            <outputDirectory>${endorsed.dir}</outputDirectory>\r\n                            <silent>true</silent>\r\n                            <artifactItems>\r\n                                <artifactItem>\r\n                                    <groupId>javax</groupId>\r\n                                    <artifactId>javaee-endorsed-api</artifactId>\r\n                                    <version>7.0</version>\r\n                                    <type>jar</type>\r\n                                </artifactItem>\r\n                            </artifactItems>\r\n                        </configuration>\r\n                    </execution>\r\n                </executions>\r\n            </plugin>\r\n        </plugins>\r\n    </build>\r\n    <repositories>\r\n        <repository>\r\n            <url>http://repository.primefaces.org/</url>\r\n            <id>PrimeFaces-maven-lib</id>\r\n            <layout>default</layout>\r\n            <name>Repository for library PrimeFaces-maven-lib</name>\r\n        </repository>\r\n    </repositories>\r\n</project>\r\n```\r\n\r\n\r\nWhen I try to add it I get the following exception:\r\n\r\n```\r\n\r\nMessage : org.netbeans.modeler.scene.vmd.AbstractPModelerScene.init(AbstractPModelerScene.java:150)\r\n\r\nStackTrace : \r\njava.lang.NullPointerException\r\n\tat org.netbeans.modeler.scene.vmd.AbstractPModelerScene.init(AbstractPModelerScene.java:150)\r\n\tat org.netbeans.jpa.modeler.specification.model.scene.JPAModelerScene.init(JPAModelerScene.java:345)\r\n\tat org.netbeans.modeler.specification.model.file.action.ModelerFileActionListener.openModelerFile(ModelerFileActionListener.java:150)\r\n\tat org.netbeans.modeler.specification.model.file.action.ModelerFileActionListener.openModelerFile(ModelerFileActionListener.java:77)\r\n\tat org.netbeans.modeler.specification.model.file.action.ModelerFileActionListener.openModelerFile(ModelerFileActionListener.java:65)\r\n\tat org.netbeans.modeler.specification.model.file.action.ModelerFileActionListener.lambda$actionPerformed$0(ModelerFileActionListener.java:60)\r\n\tat java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:97)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:703)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:726)\r\n\tat org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)\r\n\tat java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)\r\n\tat java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)\r\n\tat java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)\r\n\tat java.awt.Dialog.show(Dialog.java:1084)\r\n\tat org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1086)\r\n\tat org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1136)\r\n\tat org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1108)\r\n\tat org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:131)\r\n\tat org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEventAccess(NbMutexEventProvider.java:138)\r\n\tat org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:98)\r\n\tat org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:94)\r\n\tat org.openide.util.Mutex.readAccess(Mutex.java:218)\r\n\tat org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1093)\r\n\tat java.awt.Component.show(Component.java:1673)\r\n\tat java.awt.Component.setVisible(Component.java:1625)\r\n\tat java.awt.Window.setVisible(Window.java:1014)\r\n\tat java.awt.Dialog.setVisible(Dialog.java:1005)\r\n\tat org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.showDialog(DialogDisplayerImpl.java:266)\r\n\tat org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.run(DialogDisplayerImpl.java:192)\r\n\tat java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:97)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:703)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:726)\r\n\tat org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:82)\r\n\r\n\r\nModelerFile : \r\n```xml\r\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\r\n<jpa:entity-mappings v=\"3.5.1\" rws=\"_14891072107454\" cws=\"_14891072107454\" sm=\"false\" xs=\"false\" id=\"_14891072107453\" xsi:schemaLocation=\"http://java.sun.com/xml/ns/persistence/orm orm_2_1.xsd\" xmlns:java=\"http://jcp.org/en/jsr/detail?id=270\" xmlns:jpa=\"http://java.sun.com/xml/ns/persistence/orm\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n    <jpa:snp loc=\"BEFORE_PACKAGE\" e=\"true\">/**\r\n * This file was generated by the JPA Modeler\r\n */</jpa:snp>\r\n    <jpa:wsl>\r\n        <jpa:ws n=\"Main\" id=\"_14891072107454\"/>\r\n    </jpa:wsl>\r\n</jpa:entity-mappings>\r\n```\r\n```"},"comment":{"url":"https://api.github.com/repos/jGauravGupta/JPAModeler/issues/comments/285581824","html_url":"https://github.com/jGauravGupta/JPAModeler/issues/159#issuecomment-285581824","issue_url":"https://api.github.com/repos/jGauravGupta/JPAModeler/issues/159","id":285581824,"user":{"login":"jGauravGupta","id":15934072,"avatar_url":"https://avatars3.githubusercontent.com/u/15934072?v=3","gravatar_id":"","url":"https://api.github.com/users/jGauravGupta","html_url":"https://github.com/jGauravGupta","followers_url":"https://api.github.com/users/jGauravGupta/followers","following_url":"https://api.github.com/users/jGauravGupta/following{/other_user}","gists_url":"https://api.github.com/users/jGauravGupta/gists{/gist_id}","starred_url":"https://api.github.com/users/jGauravGupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jGauravGupta/subscriptions","organizations_url":"https://api.github.com/users/jGauravGupta/orgs","repos_url":"https://api.github.com/users/jGauravGupta/repos","events_url":"https://api.github.com/users/jGauravGupta/events{/privacy}","received_events_url":"https://api.github.com/users/jGauravGupta/received_events","type":"User","site_admin":false},"created_at":"2017-03-10T05:27:17Z","updated_at":"2017-03-10T05:27:17Z","body":"REF  #93 "}}
{"actor":{"display_login":"jGauravGupta"}}