Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3636

[Ctrlflow bug] NullPointerException below FlexibleProject.getDefaultDocroot (thrown in VirtualFolder.getFirstTaggedResource)

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2
    • Fix Version/s: Someday
    • Component/s: Projects
    • Labels:

      Description

      [email protected]
      Àngel Agustí
      Bundle: com.liferay.ide.project.core 3.1.2.201709011126-ga3
      Message: Could not determine default docroot
      Exception:
      java.lang.NullPointerException: null
      at org.eclipse.wst.common.componentcore.internal.resources.VirtualFolder.getFirstTaggedResource(VirtualFolder.java:185)
      at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getDefaultDeploymentDescriptorFolder(J2EEModuleVirtualComponent.java:544)
      at com.liferay.ide.project.core.FlexibleProject.getDefaultDocroot(FlexibleProject.java:59)
      at com.liferay.ide.project.core.FlexibleProject.getDefaultDocrootFolder(FlexibleProject.java:132)
      at com.liferay.ide.maven.core.FacetedMavenProject.getDefaultDocrootFolder(FacetedMavenProject.java:103)
      at com.liferay.ide.project.core.util.ProjectUtil.getPortletXmlFile(ProjectUtil.java:1111)
      at com.liferay.ide.portlet.ui.navigator.PortletResourcesContentProvider.hasChildren(PortletResourcesContentProvider.java:78)
      at com.liferay.ide.portlet.ui.navigator.PortletResourcesRootNode.hasChildren(PortletResourcesRootNode.java:51)
      at com.liferay.ide.portlet.ui.navigator.PortletResourcesContentProvider.hasChildren(PortletResourcesContentProvider.java:89)
      at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:112)
      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.callNormalHasChildren(NavigatorContentServiceContentProvider.java:444)
      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.access$4(NavigatorContentServiceContentProvider.java:439)
      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider$3.run(NavigatorContentServiceContentProvider.java:407)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:392)
      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:436)
      at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2128)
      at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:538)
      at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2166)
      at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2849)
      at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:786)
      at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1878)
      at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1845)
      at org.eclipse.ui.navigator.CommonViewer.internalRefresh(CommonViewer.java:529)
      at org.eclipse.jface.viewers.StructuredViewer.lambda$1(StructuredViewer.java:1542)
      at org.eclipse.jface.viewers.StructuredViewer$$Lambda$44/1481577195.run(null:-1)
      at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1458)
      at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:354)
      at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1419)
      at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1542)
      at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:535)
      at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:346)
      at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider$3.run(PackageExplorerContentProvider.java:939)
      at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.runUpdates(PackageExplorerContentProvider.java:193)
      at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.runPendingUpdates(PackageExplorerContentProvider.java:185)
      at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider$1.runInUIThread(PackageExplorerContentProvider.java:163)
      at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3827)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)
      at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
      at java.lang.reflect.Method.invoke(null:-1)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

      Bundle: com.liferay.ide.project.core 3.1.2.201709011126-ga3
      Message: Could not determine default docroot
      Exception:
      java.lang.NullPointerException: null
          at org.eclipse.wst.common.componentcore.internal.resources.VirtualFolder.getFirstTaggedResource(VirtualFolder.java:185)
          at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getDefaultDeploymentDescriptorFolder(J2EEModuleVirtualComponent.java:544)
          at com.liferay.ide.project.core.FlexibleProject.getDefaultDocroot(FlexibleProject.java:59)
          at com.liferay.ide.project.core.FlexibleProject.getDefaultDocrootFolder(FlexibleProject.java:132)
          at com.liferay.ide.server.tomcat.core.LiferayPublishOperation.getWebXmlFile(LiferayPublishOperation.java:323)
          at com.liferay.ide.server.tomcat.core.LiferayPublishOperation.clearWebXmlDescriptors(LiferayPublishOperation.java:274)
          at com.liferay.ide.server.tomcat.core.LiferayPublishOperation.publishDir(LiferayPublishOperation.java:198)
          at com.liferay.ide.server.tomcat.core.LiferayPublishOperation.execute(LiferayPublishOperation.java:116)
          at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.performTasks(ServerBehaviourDelegate.java:1335)
          at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:954)
          at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
          at com.liferay.ide.server.tomcat.core.LiferayTomcatServerBehavior.redeployModule(LiferayTomcatServerBehavior.java:295)
          at com.liferay.ide.server.ui.action.RedeployAction$1.run(RedeployAction.java:80)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

      Bundle: com.liferay.ide.project.core 3.1.2.201709011126-ga3
      Message: Could not determine default docroot
      Exception:
      java.lang.NullPointerException: null
      at org.eclipse.wst.common.componentcore.internal.resources.VirtualFolder.getFirstTaggedResource(VirtualFolder.java:185)
      at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getDefaultDeploymentDescriptorFolder(J2EEModuleVirtualComponent.java:544)
      at com.liferay.ide.project.core.FlexibleProject.getDefaultDocroot(FlexibleProject.java:59)
      at com.liferay.ide.project.core.FlexibleProject.getDefaultDocrootFolder(FlexibleProject.java:132)
      at com.liferay.ide.project.core.util.ProjectUtil.getPortletXmlFile(ProjectUtil.java:1111)
      at com.liferay.ide.portlet.ui.navigator.PortletResourcesContentProvider.hasChildren(PortletResourcesContentProvider.java:78)
      at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:112)
      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.callNormalHasChildren(NavigatorContentServiceContentProvider.java:444)
      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.access$4(NavigatorContentServiceContentProvider.java:439)
      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider$3.run(NavigatorContentServiceContentProvider.java:407)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:392)
      at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:436)
      at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2128)
      at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:538)
      at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2166)
      at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2849)
      at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:786)
      at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2741)
      at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1913)
      at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:669)
      at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1888)
      at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1845)
      at org.eclipse.ui.navigator.CommonViewer.internalRefresh(CommonViewer.java:529)
      at org.eclipse.jface.viewers.StructuredViewer.lambda$1(StructuredViewer.java:1542)
      at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1458)
      at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:354)
      at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1419)
      at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1542)
      at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:535)
      at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:349)
      at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:492)
      at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1478)
      at org.eclipse.ui.internal.navigator.resources.actions.ResourceMgmtActionProvider$2$1$1.run(ResourceMgmtActionProvider.java:209)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3827)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)
      at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
      at java.lang.reflect.Method.invoke(null:-1)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

      Bundle: com.liferay.ide.project.core 3.1.2.201709011126-ga3
      Message: Could not determine default docroot
      Exception:
      java.lang.NullPointerException: null
      at org.eclipse.wst.common.componentcore.internal.resources.VirtualFolder.getFirstTaggedResource(VirtualFolder.java:185)
      at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getDefaultDeploymentDescriptorFolder(J2EEModuleVirtualComponent.java:544)
      at com.liferay.ide.project.core.FlexibleProject.getDefaultDocroot(FlexibleProject.java:59)
      at com.liferay.ide.project.core.FlexibleProject.getDefaultDocrootFolder(FlexibleProject.java:132)
      at com.liferay.ide.project.core.FlexibleProject.getDescriptorFile(FlexibleProject.java:152)
      at com.liferay.ide.maven.core.FacetedMavenProject.getDescriptorFile(FacetedMavenProject.java:115)
      at com.liferay.ide.core.LiferayLanguagePropertiesListener.processFile(LiferayLanguagePropertiesListener.java:71)
      at com.liferay.ide.core.LiferayLanguagePropertiesListener.visit(LiferayLanguagePropertiesListener.java:130)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:64)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
      at com.liferay.ide.core.LiferayLanguagePropertiesListener.resourceChanged(LiferayLanguagePropertiesListener.java:112)
      at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:299)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:289)
      at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:152)
      at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:374)
      at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1469)
      at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:46)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

      Bundle: com.liferay.ide.project.core 3.1.2.201709011126-ga3
      Message: Could not determine default docroot
      Exception:
      java.lang.NullPointerException: null
      at org.eclipse.wst.common.componentcore.internal.resources.VirtualFolder.getFirstTaggedResource(VirtualFolder.java:185)
      at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getDefaultDeploymentDescriptorFolder(J2EEModuleVirtualComponent.java:544)
      at com.liferay.ide.project.core.FlexibleProject.getDefaultDocroot(FlexibleProject.java:59)
      at com.liferay.ide.project.core.FlexibleProject.getDefaultDocrootFolder(FlexibleProject.java:132)
      at com.liferay.ide.project.core.FlexibleProject.getDescriptorFile(FlexibleProject.java:152)
      at com.liferay.ide.maven.core.FacetedMavenProject.getDescriptorFile(FacetedMavenProject.java:115)
      at com.liferay.ide.core.util.PropertiesUtil.isLanguagePropertiesFile(PropertiesUtil.java:938)
      at com.liferay.ide.core.LiferayLanguagePropertiesListener.processFile(LiferayLanguagePropertiesListener.java:57)
      at com.liferay.ide.core.LiferayLanguagePropertiesListener.visit(LiferayLanguagePropertiesListener.java:130)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:64)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
      at com.liferay.ide.core.LiferayLanguagePropertiesListener.resourceChanged(LiferayLanguagePropertiesListener.java:112)
      at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:299)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:289)
      at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:152)
      at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:374)
      at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1469)
      at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:157)
      at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

      Bundle: com.liferay.ide.project.core 3.1.1.201708030520-ga2
      Message: Could not determine default docroot
      Exception:
      java.lang.NullPointerException: null
      at org.eclipse.wst.common.componentcore.internal.resources.VirtualFolder.getFirstTaggedResource(VirtualFolder.java:185)
      at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getDefaultDeploymentDescriptorFolder(J2EEModuleVirtualComponent.java:544)
      at com.liferay.ide.project.core.FlexibleProject.getDefaultDocroot(FlexibleProject.java:59)
      at com.liferay.ide.project.core.FlexibleProject.getDefaultDocrootFolder(FlexibleProject.java:132)
      at com.liferay.ide.project.core.FlexibleProject.getDescriptorFile(FlexibleProject.java:152)
      at com.liferay.ide.core.util.PropertiesUtil.isLanguagePropertiesFile(PropertiesUtil.java:934)
      at com.liferay.ide.core.describer.LiferayLanguagePropertiesFileDescriber.isPropertiesFile(LiferayLanguagePropertiesFileDescriber.java:36)
      at com.liferay.ide.core.describer.LiferayPropertiesFileDescriber.describe(LiferayPropertiesFileDescriber.java:71)
      at org.eclipse.core.internal.content.ContentTypeCatalog.describe(ContentTypeCatalog.java:229)
      at org.eclipse.core.internal.content.ContentTypeCatalog.collectMatchingByContents(ContentTypeCatalog.java:201)
      at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:414)
      at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:461)
      at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:357)
      at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:371)
      at org.eclipse.core.internal.content.ContentTypeMatcher.getDescriptionFor(ContentTypeMatcher.java:76)
      at org.eclipse.core.internal.resources.ContentDescriptionManager.readDescription(ContentDescriptionManager.java:453)
      at org.eclipse.core.internal.resources.ContentDescriptionManager.getDescriptionFor(ContentDescriptionManager.java:363)
      at org.eclipse.core.internal.resources.File.internalGetCharset(File.java:241)
      at org.eclipse.core.internal.resources.File.getCharset(File.java:198)
      at org.eclipse.core.internal.resources.File.getCharset(File.java:186)
      at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo.createBaseResourceVariant(SVNStatusSyncInfo.java:263)
      at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo.(SVNStatusSyncInfo.java:46)
      at org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.getSyncInfo(SVNWorkspaceSubscriber.java:195)
      at org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscriber.java:371)
      at org.tigris.subversion.subclipse.core.mapping.SubclipseSubscriberChangeSetManager.getDiff(SubclipseSubscriberChangeSetManager.java:315)
      at org.tigris.subversion.subclipse.core.mapping.SubclipseSubscriberChangeSetManager$EventHandler.handleChange(SubclipseSubscriberChangeSetManager.java:196)
      at org.tigris.subversion.subclipse.core.mapping.SubclipseSubscriberChangeSetManager$EventHandler.doDispatchEvents(SubclipseSubscriberChangeSetManager.java:93)
      at org.eclipse.team.internal.core.BackgroundEventHandler.dispatchEvents(BackgroundEventHandler.java:394)
      at org.eclipse.team.internal.core.BackgroundEventHandler.processEvents(BackgroundEventHandler.java:374)
      at org.eclipse.team.internal.core.BackgroundEventHandler$1.run(BackgroundEventHandler.java:203)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

      Bundle: com.liferay.ide.project.core 3.1.1.201708030520-ga2
      Message: Could not determine default docroot
      Exception:
      java.lang.NullPointerException: null
      at org.eclipse.wst.common.componentcore.internal.resources.VirtualFolder.getFirstTaggedResource(VirtualFolder.java:185)
      at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getDefaultDeploymentDescriptorFolder(J2EEModuleVirtualComponent.java:544)
      at com.liferay.ide.project.core.FlexibleProject.getDefaultDocroot(FlexibleProject.java:59)
      at com.liferay.ide.project.core.FlexibleProject.getDefaultDocrootFolder(FlexibleProject.java:132)
      at com.liferay.ide.project.core.FlexibleProject.getDescriptorFile(FlexibleProject.java:152)
      at com.liferay.ide.maven.core.FacetedMavenProject.getDescriptorFile(FacetedMavenProject.java:115)
      at com.liferay.ide.core.util.PropertiesUtil.hasNonDefaultEncodingLanguagePropertiesFile(PropertiesUtil.java:874)
      at com.liferay.ide.project.ui.HasNonDefaultEncodingLanguagePropertiesFileTester.test(HasNonDefaultEncodingLanguagePropertiesFileTester.java:44)
      at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
      at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:100)
      at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      at org.eclipse.core.internal.expressions.AdaptExpression.evaluate(AdaptExpression.java:112)
      at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:55)
      at org.eclipse.ui.internal.ObjectActionContributor$ObjectContribution.isApplicableTo(ObjectActionContributor.java:368)
      at org.eclipse.ui.internal.ObjectActionContributor.isApplicableTo(ObjectActionContributor.java:238)
      at org.eclipse.ui.internal.ObjectContributorManager.isApplicableTo(ObjectContributorManager.java:302)
      at org.eclipse.ui.internal.ObjectActionContributorManager.contributeObjectActions(ObjectActionContributorManager.java:89)
      at org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(PopupMenuExtender.java:317)
      at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExtender.java:394)
      at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:339)
      at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:470)
      at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:465)
      at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:497)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:256)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084)
      at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:5160)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:4828)
      at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:359)
      at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1656)
      at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2199)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:5110)
      at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(OS.java:-2)
      at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:262)
      at org.eclipse.swt.widgets.Display.runPopups(Display.java:4277)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3818)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)
      at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
      at java.lang.reflect.Method.invoke(null:-1)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

        Attachments

          Activity

            People

            Assignee:
            lr_ide LR IDE
            Reporter:
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              3 years, 39 weeks, 6 days ago

                Packages

                Version Package
                Someday