[jbosstools-issues] [JBoss JIRA] (JBIDE-11846) NPE when creating runtime
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Thu May 24 09:35:19 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Rydahl Andersen updated JBIDE-11846:
----------------------------------------
Fix Version/s: 3.3.0.CR1
> NPE when creating runtime
> -------------------------
>
> Key: JBIDE-11846
> URL: https://issues.jboss.org/browse/JBIDE-11846
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JBossAS/Servers
> Affects Versions: 3.3.0.Beta3
> Reporter: Alexey Kazakov
> Assignee: Rob Stryker
> Fix For: 3.3.0.CR1
>
>
> I got this NPE when was trying to create an AS 7.1 runtime (with Server).
> {code}
> java.lang.NullPointerException
> at org.jboss.ide.eclipse.as.core.resolvers.ConfigNameResolver.findJBossServerRuntime(ConfigNameResolver.java:146)
> at org.jboss.ide.eclipse.as.core.resolvers.ConfigNameResolver.handleAS7ConfigFile(ConfigNameResolver.java:129)
> at org.jboss.ide.eclipse.as.core.resolvers.ConfigNameResolver.resolveValue(ConfigNameResolver.java:101)
> at org.eclipse.core.internal.variables.DynamicVariable.getValue(DynamicVariable.java:54)
> at org.eclipse.core.internal.variables.StringSubstitutionEngine.resolve(StringSubstitutionEngine.java:267)
> at org.eclipse.core.internal.variables.StringSubstitutionEngine.substitute(StringSubstitutionEngine.java:192)
> at org.eclipse.core.internal.variables.StringSubstitutionEngine.performStringSubstitution(StringSubstitutionEngine.java:86)
> at org.jboss.ide.eclipse.as.core.resolvers.ConfigNameResolver.performSubstitutions(ConfigNameResolver.java:64)
> at org.jboss.ide.eclipse.as.core.resolvers.ConfigNameResolver.performSubstitutions(ConfigNameResolver.java:52)
> at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathQuery.setEffectiveFilePattern(XPathQuery.java:117)
> at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathQuery.<init>(XPathQuery.java:98)
> at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel.addQueriesToCategoryFromDefaultFile(XPathModel.java:332)
> at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel.loadDefaultPortQueries(XPathModel.java:306)
> at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel.handleAddJBossXPaths(XPathModel.java:96)
> at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel.access$1(XPathModel.java:95)
> at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel$1.run(XPathModel.java:82)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> {code}
> I tried a few times but got this NPE just once.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list