Spring Tool Suite
  1. Spring Tool Suite
  2. STS-1343

Grails dependencies uninitialized on Grails project creations in 2.5.0.

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.5.0.RELEASE
    • Fix Version/s: None
    • Component/s: GRAILS
    • Labels:
      None

      Description

      What steps will reproduce the problem?
      1.
      2.
      3.

      – Error Details –
      Date: Thu Nov 11 17:16:19 CST 2010
      Message: Internal Error
      Severity: Error
      Product: SpringSource Tool Suite 2.5.0.201010241000-RELEASE (com.springsource.sts.ide)
      Plugin: com.springsource.sts.grails.core
      Session Data:
      eclipse.buildId=2.5.0.201010241000-RELEASE
      java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr6-20091001_43491 (JIT enabled, AOT enabled)
      J9VM - 20091001_043491
      JIT - r9_20090902_1330ifx1
      GC - 20090817_AA
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
      Framework arguments: -product com.springsource.sts.ide
      Command-line arguments: -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide

      Exception Stack Trace:
      org.xml.sax.SAXParseException: Premature end of file.
      at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
      at com.springsource.sts.grails.core.internal.classpath.GrailsDependencyParser.parse(GrailsDependencyParser.java:69)
      at com.springsource.sts.grails.core.internal.classpath.PerProjectDependencyDataCache.getData(PerProjectDependencyDataCache.java:58)
      at com.springsource.sts.grails.core.internal.classpath.GrailsClasspathContainer.refreshClasspathEntries(GrailsClasspathContainer.java:148)
      at com.springsource.sts.grails.core.internal.classpath.GrailsClasspathContainer.getClasspathEntries(GrailsClasspathContainer.java:94)
      at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2656)
      at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2788)
      at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1920)
      at org.eclipse.jdt.internal.core.JavaProject.isOnClasspath(JavaProject.java:2198)
      at org.eclipse.jdt.internal.ui.BuildpathIndicatorLabelDecorator.getOverlay(BuildpathIndicatorLabelDecorator.java:47)
      at org.eclipse.jdt.internal.ui.BuildpathIndicatorLabelDecorator.decorate(BuildpathIndicatorLabelDecorator.java:34)
      at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269)
      at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
      at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
      at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
      at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

        Activity

        Hide
        Christian Dupuis added a comment -

        Hi,

        could you please try running STS with a Sun JDK and see if that fixes the issue? STS is not tested on IBM jvms.

        Christian

        Show
        Christian Dupuis added a comment - Hi, could you please try running STS with a Sun JDK and see if that fixes the issue? STS is not tested on IBM jvms. Christian
        Hide
        madana tamisetty added a comment -

        I tried to use the Sun JDK and it seem to have worked. Thank you for looking into it.

        Show
        madana tamisetty added a comment - I tried to use the Sun JDK and it seem to have worked. Thank you for looking into it.
        Hide
        Kris De Volder (c) added a comment -

        I'm closing this. User has confirmed that it works with Sun JDK.

        Show
        Kris De Volder (c) added a comment - I'm closing this. User has confirmed that it works with Sun JDK.

          People

          • Assignee:
            Unassigned
            Reporter:
            madana tamisetty
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              First Response Date: