Author: rob.stryker(a)jboss.com
Date: 2012-05-04 10:19:48 -0400 (Fri, 04 May 2012)
New Revision: 40794
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ShowInWelcomePageActionProvider.java
Log:
JBIDE-11478 npe fix
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ShowInWelcomePageActionProvider.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ShowInWelcomePageActionProvider.java 2012-05-04
14:13:10 UTC (rev 40793)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ShowInWelcomePageActionProvider.java 2012-05-04
14:19:48 UTC (rev 40794)
@@ -94,7 +94,8 @@
}
} else {
ServerExtendedProperties props =
(ServerExtendedProperties)server.loadAdapter(ServerExtendedProperties.class, new
NullProgressMonitor());
- urlString = props.getWelcomePageUrl();
+ if( props != null )
+ urlString = props.getWelcomePageUrl();
}
}
return urlString;
Show replies by date