[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-5579) NullPointerException in EclipseUIUtil.getActiveEditor().
Victor Rubezhny (JIRA)
jira-events at lists.jboss.org
Mon Dec 28 08:03:31 EST 2009
[ https://jira.jboss.org/jira/browse/JBIDE-5579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Victor Rubezhny resolved JBIDE-5579.
------------------------------------
Resolution: Done
> NullPointerException in EclipseUIUtil.getActiveEditor().
> --------------------------------------------------------
>
> Key: JBIDE-5579
> URL: https://jira.jboss.org/jira/browse/JBIDE-5579
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: common, jsp/jsf/xml source editing
> Affects Versions: 3.1.0.CR1
> Reporter: Victor Rubezhny
> Assignee: Victor Rubezhny
> Fix For: 3.1.0.CR2
>
>
> JUnit testing log contains NullPointerException:
> Stack Trace:
> java.lang.NullPointerException
> at org.jboss.tools.common.util.EclipseUIUtil.getActiveEditor(EclipseUIUtil.java:45)
> at org.jboss.tools.common.util.EclipseUIUtil.isOpenInActiveEditor(EclipseUIUtil.java:62)
> at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:331)
> at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:179)
> at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:169)
> at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.searchInCach(RefactorSearcher.java:191)
> at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.scanForJava(RefactorSearcher.java:174)
> at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.scanForJava(RefactorSearcher.java:135)
> at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.scanForJava(RefactorSearcher.java:133)
> at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.findELReferences(RefactorSearcher.java:105)
> at org.jboss.tools.seam.internal.core.refactoring.SeamRenameProcessor.renameComponent(SeamRenameProcessor.java:386)
> at org.jboss.tools.seam.internal.core.refactoring.RenameSeamContextVariableProcessor.checkFinalConditions(RenameSeamContextVariableProcessor.java:71)
> at org.jboss.tools.seam.core.test.refactoring.SeamContextVariableRefactoringTest.renameContextVariable(SeamContextVariableRefactoringTest.java:47)
> at org.jboss.tools.seam.core.test.refactoring.SeamContextVariableRefactoringTest.testSeamContextVariable_Component_Rename(SeamContextVariableRefactoringTest.java:132)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
> at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138)
> at org.eclipse.test.UITestApplication.run(UITestApplication.java:60)
> at org.eclipse.test.UITestApplication.start(UITestApplication.java:210)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
> at org.eclipse.core.launcher.Main.main(Main.java:34)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list