[
https://issues.jboss.org/browse/JBIDE-22657?page=com.atlassian.jira.plugi...
]
Mickael Istria commented on JBIDE-22657:
----------------------------------------
Seems like {code}new BufferedReader(new InputStreamReader(content,
webXml.getCharset()));{code} returns null whereas there is an activation policy that makes
that this like should only be run in case project contains a web.xml file... So in this
case, the root cause seems to be that the JaxRS configurator gets enabled whereas it
shouldn't.
In any case, we should also add null checks before the trying to close stream/reader.
smart import nullpointer
------------------------
Key: JBIDE-22657
URL:
https://issues.jboss.org/browse/JBIDE-22657
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Reporter: Max Rydahl Andersen
Assignee: Mickael Istria
Fix For: 4.4.1.M1, 4.5.0.M1
when using smartimport to import
https://github.com/maxandersen/imapfilter-docker.git
from disk I got a NPE in jaxrs:
{code}
java.lang.NullPointerException
at
org.jboss.tools.ws.jaxrs.ui.internal.importer.JaxRsConfigurator.canConfigure(JaxRsConfigurator.java:66)
at
org.eclipse.ui.internal.wizards.datatransfer.SmartImportJob.importProjectAndChildrenRecursively(SmartImportJob.java:466)
at
org.eclipse.ui.internal.wizards.datatransfer.SmartImportJob.run(SmartImportJob.java:242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)