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

[Ctrlflow bug] ClassCastException in PluginsSDKProjectRuntimeValidator.validate

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.2, 3.2 M1
    • 3.5
    • Projects > PluginsSDK

    Description

      Bundle: org.eclipse.wst.common.project.facet.core 1.4.300.v201111030423
      Message: Errors running builder 'Faceted Project Validation Builder' on project 'Doctor-portlet'.
      Exception:
      java.lang.ClassCastException: org.eclipse.wst.common.project.facet.core.runtime.internal.UnknownRuntime cannot be cast to org.eclipse.wst.common.project.facet.core.runtime.internal.BridgedRuntime
          at com.liferay.ide.project.core.PluginsSDKProjectRuntimeValidator.validate(PluginsSDKProjectRuntimeValidator.java:82)
          at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectValidationBuilder.build(FacetedProjectValidationBuilder.java:132)
          at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
          at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
          at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
          at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
          at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:142)
          at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:232)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

      Bundle: org.eclipse.core.resources 3.12.0.v20170417-1558
      Message: Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
      Exception:
      java.lang.NullPointerException: null
      at com.vaadin.designer2.eclipse.JavaCompanionFileListener.isResourceInOldHierarchy(JavaCompanionFileListener.java:125)
      at com.vaadin.designer2.eclipse.JavaCompanionFileListener.updateComponentHierarchy(JavaCompanionFileListener.java:75)
      at com.vaadin.designer2.eclipse.JavaCompanionFileListener.lambda$0(JavaCompanionFileListener.java:62)
      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: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: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.vaadin.designer2.eclipse.JavaCompanionFileListener.resourceChanged(JavaCompanionFileListener.java:54)
      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.Resource.refreshLocal(Resource.java:1565)
      at com.liferay.ide.maven.ui.action.MavenGoalAction$1.run(MavenGoalAction.java:111)
      at com.liferay.ide.service.core.job.BuildServiceJob.run(BuildServiceJob.java:87)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

      Bundle: org.eclipse.core.resources 3.12.0.v20170417-1558
      Message: Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
      Exception:
      java.lang.NullPointerException: null
      at EXTERNAL.EXTERNAL(null:-1)
      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.Resource.refreshLocal(Resource.java:1565)
      at com.liferay.ide.maven.ui.action.MavenGoalAction$1.run(MavenGoalAction.java:111)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

      Attachments

        Issue Links

          Activity

            People

              terry.jia Terry Jia (Inactive)
              yanan.yuan Yanan Yuan(Ashley Yuan)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 46 weeks, 6 days ago

                Packages

                  Version Package
                  3.5