[jbosstools-issues] [JBoss JIRA] (JBIDE-18834) Exception thrown when external HTML opened in VPE
Vlado Pakan (JIRA)
issues at jboss.org
Wed Nov 26 09:38:39 EST 2014
[ https://issues.jboss.org/browse/JBIDE-18834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023291#comment-13023291 ]
Vlado Pakan commented on JBIDE-18834:
-------------------------------------
In case JBoss HTML editor is used for external HTML file this is NOT in log. HTML Preview is opened and displays correctly opened HTML page:
{noformat}
!ENTRY org.jboss.tools.vpe.preview.core 4 0 2014-11-26 15:33:28.061
!MESSAGE Could not open the Visual Page Editor:
External file cannot be shown in Visual Preview.
!STACK 0
org.jboss.tools.vpe.preview.core.exceptions.CannotOpenExternalFileException: External file cannot be shown in Visual Preview.
{noformat}
> Exception thrown when external HTML opened in VPE
> -------------------------------------------------
>
> Key: JBIDE-18834
> URL: https://issues.jboss.org/browse/JBIDE-18834
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing, visual-page-editor-core
> Affects Versions: 4.2.1.CR1
> Environment: JBDS 8.0.1.CR1-v20141124-0632-B333 Linux 64bit
> Reporter: Vlado Pakan
>
> 1. Install AngulaJS for Eclipse from JBoss Central
> 2. Open external HTML file in VPE
> ERROR:
> {noformat}
> IFile parameter can not be null
> org.eclipse.wst.sse.core.internal.util.Assert$AssertionFailedException: IFile parameter can not be null
> at org.eclipse.wst.sse.core.internal.util.Assert.isNotNull(Assert.java:124)
> at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.getExistingModelForRead(ModelManagerImpl.java:1272)
> at org.eclipse.angularjs.internal.ui.validation.AbstractValidator.validate(AbstractValidator.java:126)
> at org.eclipse.angularjs.internal.ui.validation.AbstractValidator.validate(AbstractValidator.java:118)
> at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:381)
> at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:259)
> at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
> at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
> at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
> at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
> at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jbosstools-issues
mailing list