Announcement Announcement Module
Collapse
No announcement yet.
Incremental Generation of MANIFEST Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Incremental Generation of MANIFEST

    didn't work in Version: 2.3.1.CI-R4376-B75, Build Id: 201001020806.

    java.util.EmptyStackException
    at java.util.Stack.peek(Stack.java:85)
    at com.springsource.server.ide.bundlor.internal.core. IncrementalReadablePartialManifest.currentEntry(In crementalReadablePartialManifest.java:180)
    at com.springsource.server.ide.bundlor.internal.core. IncrementalReadablePartialManifest.createTypeDepen dencies(IncrementalReadablePartialManifest.java:16 1)
    at com.springsource.server.ide.bundlor.internal.core. IncrementalReadablePartialManifest.recordReference dPackage(IncrementalReadablePartialManifest.java:5 2)
    at com.springsource.bundlor.support.contributors.Mani festTemplateDirectiveMigrator.modify(ManifestTempl ateDirectiveMigrator.java:87)
    at com.springsource.bundlor.support.StandardManifestG enerator.generate(StandardManifestGenerator.java:6 9)
    at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.generateManifest(BundlorProj ectBuilder.java:589)
    at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.build(BundlorProjectBuilder. java:220)
    at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.build(BundlorProjectBuilder. java:157)
    at org.eclipse.core.internal.events.BuildManager$2.ru n(BuildManager.java:627)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:42)
    at org.eclipse.core.internal.events.BuildManager.basi cBuild(BuildManager.java:170)
    at org.eclipse.core.internal.events.BuildManager.basi cBuild(BuildManager.java:280)
    at org.eclipse.core.internal.events.BuildManager.buil d(BuildManager.java:361)
    at org.eclipse.core.internal.resources.Project$1.run( Project.java:523)
    at org.eclipse.core.internal.resources.Workspace.run( Workspace.java:1800)
    at org.eclipse.core.internal.resources.Workspace.run( Workspace.java:1782)
    at org.eclipse.core.internal.resources.Project.intern alBuild(Project.java:502)
    at org.eclipse.core.internal.resources.Project.build( Project.java:102)
    at com.springsource.server.ide.bundlor.ui.BundlorUiPl ugin$RunBundlorJob.run(BundlorUiPlugin.java:100)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:55)

  • #2
    Hi candy.chiu.ad,

    can you provide some more details about how to reproduce this issue? I'm unable to recreate this on my setup.

    Thanks,

    Christian

    Comment


    • #3
      Steps taken:

      1. Start sts with a new workspace.
      2. Download greenpages.2.0.0.RELEASE
      3. Import <greenpages-home>/start/greenpages.web
      4. Resolved two build path errors
      5. Right click/Spring Tools/Enable incremental generation of MANIFEST

      results:
      1. An error reported in Error log:

      ---- error START ------------
      eclipse.buildId=M20090917-0800
      java.version=1.6.0_16
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
      Framework arguments: -product com.springsource.sts.ide
      Command-line arguments: -data C:\DiskE\remove2 -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide

      -----------------------------------------

      Warning
      Sun Jan 03 15:26:54 PST 2010
      Errors running builder 'SpringSource Bundlor Builder' on project 'greenpages.web'.

      ---------------------------------

      Error
      Sun Jan 03 15:26:54 PST 2010
      Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".

      java.util.EmptyStackException
      at java.util.Stack.peek(Stack.java:85)
      at com.springsource.server.ide.bundlor.internal.core. IncrementalReadablePartialManifest.currentEntry(In crementalReadablePartialManifest.java:180)
      at com.springsource.server.ide.bundlor.internal.core. IncrementalReadablePartialManifest.createTypeDepen dencies(IncrementalReadablePartialManifest.java:16 1)
      at com.springsource.server.ide.bundlor.internal.core. IncrementalReadablePartialManifest.recordReference dPackage(IncrementalReadablePartialManifest.java:5 2)
      at com.springsource.bundlor.support.contributors.Mani festTemplateDirectiveMigrator.modify(ManifestTempl ateDirectiveMigrator.java:87)
      at com.springsource.bundlor.support.StandardManifestG enerator.generate(StandardManifestGenerator.java:6 9)
      at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.generateManifest(BundlorProj ectBuilder.java:589)
      at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.build(BundlorProjectBuilder. java:220)
      at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.build(BundlorProjectBuilder. java:157)
      at org.eclipse.core.internal.events.BuildManager$2.ru n(BuildManager.java:627)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:42)
      at org.eclipse.core.internal.events.BuildManager.basi cBuild(BuildManager.java:170)
      at org.eclipse.core.internal.events.BuildManager.basi cBuild(BuildManager.java:201)
      at org.eclipse.core.internal.events.BuildManager$1.ru n(BuildManager.java:253)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:42)
      at org.eclipse.core.internal.events.BuildManager.basi cBuild(BuildManager.java:256)
      at org.eclipse.core.internal.events.BuildManager.basi cBuildLoop(BuildManager.java:309)
      at org.eclipse.core.internal.events.BuildManager.buil d(BuildManager.java:341)
      at org.eclipse.core.internal.events.AutoBuildJob.doBu ild(AutoBuildJob.java:140)
      at org.eclipse.core.internal.events.AutoBuildJob.run( AutoBuildJob.java:238)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:55)

      ---- error END ------------

      2. Under Spring Tools, the UI changed from Enable incremental... to Disable incremental...

      OS: Windows XP

      Comment


      • #4
        Hmm,

        can you please update your STS copy to the latest nightly snapshot (especially the dm Server Tools feature)?

        I'm unable to re-create this issue on my environment with STS + latest updates.

        Christian

        Comment


        • #5
          Hi Christian,

          I found that the Import-Package section is the culprit. When I removed that section in template.mf, bundlor worked. I then tried removing individual packages, it didn't lead to any new discovery. When bundlor failed, it is still the same error. Please refer to the prior post for the setup which remained the same.

          Thanks,
          candy
          Last edited by candy.chiu.ad; Jan 5th, 2010, 12:34 AM.

          Comment


          • #6
            Hi candy,

            I just tested it on my Windows VM and can't reproduce this error on STS 2.3.0 plus latest nightly snapshots.

            Can you provide any more details that could help me re-create this issue? What is your install location?

            Christian

            Comment


            • #7
              Christian,

              Bundlor worked under 2.3.0+latest. My old sts was 2.2.0+latest. Thanks!

              Candy
              Last edited by candy.chiu.ad; Jan 5th, 2010, 01:09 PM.

              Comment


              • #8
                Candy,

                I was finally able to re-create this issue and fixed it now.

                Thanks for your patience.

                Christian

                Comment

                Working...
                X