[
https://issues.jboss.org/browse/JBIDE-19322?page=com.atlassian.jira.plugi...
]
Fred Bricon resolved JBIDE-19322.
---------------------------------
Resolution: Done
Fix has been committed in master.
So the Project Example page or its preference page are off-limits in 4.3.0.Alpha1. Unless
you add a dummy user site in the pref page.
NPE when opening central
-------------------------
Key: JBIDE-19322
URL:
https://issues.jboss.org/browse/JBIDE-19322
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: central, project-examples
Affects Versions: 4.3.0.Alpha1
Reporter: Rastislav Wagner
Assignee: Fred Bricon
Fix For: 4.3.0.Alpha2
Attachments: Preferences _002.png
I opened central via JBoss Central toolbar item and this NPE occured - An internal error
occurred during: "Refreshing JBoss Tutorials...". Not always, but every second
time.
{code}
java.lang.NullPointerException
at java.util.AbstractCollection.addAll(AbstractCollection.java:343)
at
org.jboss.tools.project.examples.model.ProjectExampleUtil.getUserSites(ProjectExampleUtil.java:210)
at
org.jboss.tools.project.examples.model.ProjectExampleUtil.getSites(ProjectExampleUtil.java:221)
at
org.jboss.tools.project.examples.model.ProjectExampleUtil.getProjects(ProjectExampleUtil.java:257)
at org.jboss.tools.central.jobs.RefreshTutorialsJob.run(RefreshTutorialsJob.java:52)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)