html 中の代コード コピーを jsp に転送した後に発生する問題
java.lang.NullPointerException
org.eclipse.wst.sse.core.internal.text.BasicStructuredDocumentRegion.getFullText(BasicStructuredDocumentRegion.java: 151)
at org.eclipse.wst.css.core.internal.document.CSSDeclarationItemParser.getCollapsedText(CSSDeclarationItemParser.java:1092)
at org.eclipse.wst.css.core.internal.document.CSSDeclarationItemParser。 makeString(CSSDeclarationItemParser.java:873)
@org.eclipse.wst.css.core.internal.document.CSSDeclarationItemParser.createStringValue(CSSDeclarationItemParser.java:539)
@org.eclipse.wst.css.core。 Internal.document.CSSDeclarationItemParser.createPrimitiveValue(CSSDeclarationItemParser.java:392)
@org.eclipse.wst.css.core.internal.document.CSSDeclarationItemParser.setupValues(CSSDeclarationItemParser.java:1021)
@org.eclipse。 wst.css.core.internal.document.CSSDeclarationItemParser.setupValues(CSSDeclarationItemParser.java:969)
org.eclipse.wst.css.core.internal.document.CSSStyleDeclItemImpl.setCssValueTextCore(CSSStyleDeclItemImpl.java:260)
org.eclipse.wst.css.core.internal.document.CSSStyleDeclItemImpl.setCssValueText(CSSStyleDeclItemImpl.java:234)
org.eclipse.wst.css.core.internal.document.CSSStyleDeclarationImpl.setProperty(CSSStyleDeclarationImpl. java:267)
(org.eclipse.wst.html.core.internal.htmlcss.CSSQueryContext.applyFull(CSSQueryContext.java:73)
(org.eclipse.wst.html.core.internal.htmlcss)) CSSQueryTraverser.getDeclaration(CSSQueryTraverser.java:56)
@org.eclipse.jst.pagedesigner.css2.CSSUtil.getCSSDeclaration(CSSUtil.java:174)
@org.eclipse.jst.pagedesigner.css2.style AbstractStyle.calculateDeclaration(AbstractStyle.java:143)
at org.eclipse.jst.pagedesigner.css2.style.AbstractStyle.getDeclaration(AbstractStyle.java:159)
at org.eclipse.jst.pagedesigner.css2。 style.AbstractStyle.calculateProperty(AbstractStyle.java:201)
at org.eclipse.jst.pagedesigner.css2.style.AbstractStyle.getStyleProperty(AbstractStyle.java:124)
at org.eclipse.jst.pagedesigner. css2.style.AbstractStyle.getDisplay(AbstractStyle.java:536)
at org.eclipse.jst.pagedesigner.css2.layout.CSSFigure.regetLayout(CSSFigure.java:148)
at org.eclipse.jst。 pagedesigner.css2.layout.CSSFigure.invalidateCSS(CSSFigure.java:95)
at org.eclipse.jst.pagedesigner.css2.layout.CSSFigure.setCSSStyle(CSSFigure.java:79)
at org.eclipse。 jst.pagedesigner.figurehandler.DefaultFigureHandler.updateFigure(DefaultFigureHandler.java:32)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
at org.eclipse.gef.editparts。 AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
アット org.eclipse.jst.pagedesigner.parts.NodeEditPart.addNotify(NodeEditPart.java:104)
アット org.eclipse.jst.pagedesigner.parts.ElementEditPart。 addNotify(ElementEditPart.java:155)
で org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
で org.eclipse.jst.pagedesigner.parts.ElementEditPart.refresh(ElementEditPart. java:339)
at org.eclipse.jst.pagedesigner.parts.ElementEditPart.refresh(ElementEditPart.java:264)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
で org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223) で
で org.eclipse.jst.pagedesigner.parts.NodeEditPart.addNotify(NodeEditPart.java:104) で
でorg.eclipse.jst.pagedesigner.parts.ElementEditPart.addNotify(ElementEditPart.java:155)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous( ListenerQueue.java:148)
で org.eclipse.quinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
で org.eclipse.quinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl. java:78)
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
at org.eclipse.e4.ui.services.internal.events.EventBroker.send( EventBroker.java:80)
で org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
で org.eclipse.emf.common.notify.impl.BasicNotifierImpl にあります。 eNotify(BasicNotifierImpl.java:374)
アット org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
アット org.eclipse.e4.ui。 Internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:576)
org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:543)
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:610)
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:322)
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1034) )
で org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3112)
で org.eclipse.ui.internal.WorkbenchPage.access$21(WorkbenchPage.java:3034)
でorg.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:3016)
で org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
でorg.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
で org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:376)
でorg.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538)
at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:47)
at org .eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui。 Internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen (StructuredViewer.java:864)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java: 1256)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
再命名文件の名前の下。 >
在文件右键:open with
谢谢大神
怎么预览jsp内容
太感谢大神了,open with 解决了、