facebook

J2EE Container startup issue [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #207759 Reply

    Try the following steps:

    1. start eclipse without a myeclipse license
    2. open a struts-config.xml file
    3. the subscription problem dialog appears
    3. leave the editor open
    4. close eclipse
    5. open eclipse again (it’s important to have a struts-config editor open)
    6. after startup the package explorer fails with a message like ‘An error has occured when opening this view’ and also the following stacktrace:

    java.lang.NullPointerException
    at com.genuitec.eclipse.j2eedt.core.J2EEContainerInitializer.?(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EEContainerInitializer.initialize(Unknown Source)
    at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1187)
    at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:826)
    at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1183)
    at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1877)
    at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1788)
    at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3401)
    at org.eclipse.jdt.internal.launching.JREContainerInitializer.initialize(JREContainerInitializer.java:51)
    at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1187)
    at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:826)
    at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1183)
    at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1877)
    at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1788)
    at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:78)
    at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.initialize(JavaWorkspaceScope.java:80)
    at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:52)
    at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.<init>(JavaWorkspaceScope.java:31)
    at org.eclipse.jdt.core.search.SearchEngine.createWorkspaceScope(SearchEngine.java:424)
    at org.eclipse.jdt.internal.corext.util.AllTypesCache.search(AllTypesCache.java:538)
    at org.eclipse.jdt.internal.corext.util.AllTypesCache$TypeCacher.doSearchTypes(AllTypesCache.java:196)
    at org.eclipse.jdt.internal.corext.util.AllTypesCache$TypeCacher.run(AllTypesCache.java:165)

    Configuration:
    Windows 2000 sp4
    J2re 1.4.2_04
    Eclipse 3.0 M9
    MyEclipse 3.8 beta1

    #207778

    Scott Anderson
    Participant

    Thank you for reporting this and the detailed steps to reproduce it. I duplicated this problem and logged it as a bug against 3.8 Beta-1 and will address it in beta 2.

    For everyone, if this occurs you may work around the problem by closing all editors and then reopening Eclipse.

    #209809

    Riyad Kalla
    Member

    Fixed in 3.8Beta2.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: J2EE Container startup issue [Closed]

You must be logged in to post in the forum log in