[jbosstools-commits] JBoss Tools SVN: r44043 - trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Sep 26 10:08:06 EDT 2012


Author: vrubezhny
Date: 2012-09-26 10:08:06 -0400 (Wed, 26 Sep 2012)
New Revision: 44043

Modified:
   trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageContextFactory.java
Log:
JBIDE-12719
NPE when move mouse over EL from file from jar. 

NPE is fixed

Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageContextFactory.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageContextFactory.java	2012-09-26 13:50:42 UTC (rev 44042)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageContextFactory.java	2012-09-26 14:08:06 UTC (rev 44043)
@@ -1,5 +1,5 @@
 /******************************************************************************* 
- * Copyright (c) 2011 Red Hat, Inc. 
+ * Copyright (c) 2011-2012 Red Hat, Inc. 
  * Distributed under license by Red Hat, Inc. All rights reserved. 
  * This program is made available under the terms of the 
  * Eclipse Public License v1.0 which accompanies this distribution, 
@@ -922,7 +922,7 @@
 					nameSpace = new NameSpace(
 							CustomTagLibManager.FACELETS_HTML_TAG_LIB_URI, "", //$NON-NLS-1$
 							TagLibraryManager.getLibraries(
-									context.getResource().getProject(), 
+									project, 
 									CustomTagLibManager.FACELETS_HTML_TAG_LIB_URI));
 					context.addNameSpace(region, nameSpace);
 				}



More information about the jbosstools-commits mailing list