[jbosstools-issues] [JBoss JIRA] (JBDS-4131) Can't import example project after RPM installation on RHEL 7

Nick Boldt (JIRA) issues at jboss.org
Sat Oct 22 12:17:00 EDT 2016


    [ https://issues.jboss.org/browse/JBDS-4131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13310631#comment-13310631 ] 

Nick Boldt edited comment on JBDS-4131 at 10/22/16 12:16 PM:
-------------------------------------------------------------

After re-adding a number of missing dependencies [1],[2] devstudio now starts up... but I ran the HTML5 Project quickstart and got this not-so-helpful error:

!devstudio10.2.wtf.png|thumbnail!

Digging deeper, it's a NPE in importProject:

{code}
java.lang.NullPointerException
	at org.jboss.tools.maven.project.examples.ImportMavenArchetypeProjectExampleDelegate.importProject(ImportMavenArchetypeProjectExampleDelegate.java:57)
	at org.jboss.tools.maven.project.examples.AbstractImportMavenExample.importProject(AbstractImportMavenExample.java:36)
	at org.jboss.tools.project.examples.wizard.NewProjectExamplesJob.runInWorkspace(NewProjectExamplesJob.java:90)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}

!devstudio10.2.wtf2.png|thumbnail!

[1] https://github.com/jbdevstudio/jbdevstudio-product/commit/208ab9236b2ffda6e7a119b7bd6fa099fa8a83f4
[2] https://github.com/jbdevstudio/jbdevstudio-product/commit/c44e974be3523b5e79c37a22ebe8753e8a42274e


was (Author: nickboldt):
After re-adding a number of missing dependencies [1] devstudio now starts up... but I ran the HTML5 Project quickstart and got this not-so-helpful error:

!devstudio10.2.wtf.png|thumbnail!

Digging deeper, it's a NPE in importProject:

{code}
java.lang.NullPointerException
	at org.jboss.tools.maven.project.examples.ImportMavenArchetypeProjectExampleDelegate.importProject(ImportMavenArchetypeProjectExampleDelegate.java:57)
	at org.jboss.tools.maven.project.examples.AbstractImportMavenExample.importProject(AbstractImportMavenExample.java:36)
	at org.jboss.tools.project.examples.wizard.NewProjectExamplesJob.runInWorkspace(NewProjectExamplesJob.java:90)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}

!devstudio10.2.wtf2.png|thumbnail!

> Can't import example project after RPM installation on RHEL 7
> -------------------------------------------------------------
>
>                 Key: JBDS-4131
>                 URL: https://issues.jboss.org/browse/JBDS-4131
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: build, rpm
>    Affects Versions: 10.2.0.AM3
>         Environment: RHEL Server 7.2.
>            Reporter: Lukáš Valach
>             Fix For: 10.2.0.AM3
>
>         Attachments: DevstudiErrorLog.txt, devstudio10.2.wtf.png, devstudio10.2.wtf2.png, import_wizard.png, rh-eclipse46-devstudio.repo
>
>
> During the test of RPM installation on RHEL 7 I noticed that I can't import HTML5 example project from central. Only the window with message "Refreshing project examples" appear for a while and then nothing happens.
> There is one warning and many errors in Error Log View.
> Error log export: [^DevstudiErrorLog.txt]
> I also tried to import project from file system, but there isn't the "Existing Maven Project" option in the import wizard. [^import_wizard.png]



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list