[jbosstools-issues] [JBoss JIRA] (JBIDE-16854) NPE when publishing ticket-monster

Andre Dietisheim (JIRA) issues at jboss.org
Wed Mar 26 12:48:11 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-16854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-16854:
-------------------------------------

    Steps to Reproduce: 
1. Checkout ticket monster from here:
https://github.com/mmalina/ticket-monster/tree/JBIDE-14659
e.g. git clone git at github.com:mmalina/ticket-monster.git
cd ticket-monster
git checkout origin/JBIDE-14659
2. Import to eclipse as existing maven project:
File -> Import -> Maven -> Existing Maven project
and point it to the demo folder.
3. Wait for Eclipse to resolve maven dependencies
4. Finally the project has an error decorator and I see this in Problems view:
console configuration "ticket-monster-TRUNK" does not exist - line 0 - JPA Problem
 - this is somewhat strange since it cannot be tracked to a file, but never mind now
5. Set up and start JBoss AS 7.1.1
6. In server view, select server -> Add and Remove... and add ticket-monster
7. When you click Finish to add the project, you will be shown this:
Publishing to jboss-as-7.1.1.Final... has encountered a problem
Could not publish to the server.
java.lang.NullPointerException
What's more, the project is shown in the list of server modules (without any decorator), so it seems it's deployed, but in fact it is not.

  was:
1. Checkout ticket monster from here:
https://github.com/mmalina/ticket-monster/tree/JBIDE-14659
e.g. git clone git at github.com:mmalina/ticket-monster.git
cd ticket-monster
git checkout origin/JBIDE-14659
2. Import to eclipse as existing maven project:
File -> Import -> Maven -> Existing Maven project
3. Wait for Eclipse to resolve maven dependencies
4. Finally the project has an error decorator and I see this in Problems view:
console configuration "ticket-monster-TRUNK" does not exist - line 0 - JPA Problem
 - this is somewhat strange since it cannot be tracked to a file, but never mind now
5. Set up and start JBoss AS 7.1.1
6. In server view, select server -> Add and Remove... and add ticket-monster
7. When you click Finish to add the project, you will be shown this:
Publishing to jboss-as-7.1.1.Final... has encountered a problem
Could not publish to the server.
java.lang.NullPointerException
What's more, the project is shown in the list of server modules (without any decorator), so it seems it's deployed, but in fact it is not.


    
> NPE when publishing ticket-monster
> ----------------------------------
>
>                 Key: JBIDE-16854
>                 URL: https://issues.jboss.org/browse/JBIDE-16854
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.0.Beta1
>         Environment: JBDS 8.0.0.Beta1 B78
>            Reporter: Martin Malina
>              Labels: respin-a
>             Fix For: 4.2.0.Beta1
>
>
> While verifying JBIDE-14659 I got a NPE when I tried to do "Server -> Add or Remove from server" to deploy the ticket-monster project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list