1 2 Previous Next 23 Replies Latest reply on Aug 7, 2006 5:11 PM by bentruitt Go to original post
      • 15. Re: error with GPD 3.0.8 Eclipse plugin
        koen.aers

        Well, this is no Eclipse user's forum. But the jBPM classpath container is the thing in your workspace prefixed by 'jBPM Library'. If you need more info or background, use the Eclipse help system (Help->Help Contents and search for classpath container).

        Regards,
        Koen

        • 16. Re: error with GPD 3.0.8 Eclipse plugin
          zjg_robin

           

          "mennen" wrote:
          "koen.aers@jboss.com" wrote:
          The best solution for this problem is to first manually add all the libs from your jBPM classpath container to your project (3.0.5) and then get rid of the classpath container. If you then startup with 3.0.8 all will be fine.

          Regards,
          Koen


          Can you please be more specific about what I should do? I'm not really an expert so i don't know what you mean by "jBPM classpath container" and what project you mean by "project (3.0.5)"? I do have a jbpm.3 project, is that what you meant?
          I tried to uninstall the 3.0.5 and 3.0.8 and then reinstall 3.0.8 once again, but still didn't work..

          Thank you,

          Mennen


          How to uninstall the installed 3.0.8?

          • 17. Re: error with GPD 3.0.8 Eclipse plugin
            mennen

            Thank you for your help,

            I switched to a new workspace and it solved the problem ..

            • 18. Re: error with GPD 3.0.8 Eclipse plugin
              zjg_robin

               

              "mennen" wrote:
              I reinstalled eclipse 3.1.2 and i'm still facing the same problem!!

              An internal error occurred during: "Initializing Java tooling".
              java.lang.NullPointerException
              at org.jbpm.ui.util.JbpmClasspathContainer.getJarNames(Unknown Source)
              at org.jbpm.ui.util.JbpmClasspathContainer.createJbpmLibraryEntries(Unknown Source)
              at org.jbpm.ui.util.JbpmClasspathContainer.getClasspathEntries(Unknown Source)
              at org.eclipse.jdt.internal.core.JavaModelManager.containerPutIfInitializingWithSameEntries(JavaModelManager.java:297)
              at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3856)
              at org.jbpm.ui.util.JbpmClasspathContainerInitializer.initialize(Unknown Source)
              at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591)
              at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040)
              at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326)
              at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046)
              at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954)
              at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:108)
              at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.initialize(JavaWorkspaceScope.java:84)
              at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:62)
              at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:58)
              at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.<init>(JavaWorkspaceScope.java:29)
              at org.eclipse.jdt.internal.core.JavaModelManager.getWorkspaceScope(JavaModelManager.java:1421)
              at org.eclipse.jdt.internal.core.search.BasicSearchEngine.createWorkspaceScope(BasicSearchEngine.java:157)
              at org.eclipse.jdt.core.search.SearchEngine.createWorkspaceScope(SearchEngine.java:392)
              at org.eclipse.jdt.core.JavaCore$1.run(JavaCore.java:2624)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
              


              Please tell me what i'm missing


              we are facing the same problem, but I download a new Eclipse of 3.1.1 and install the 3.0.8 plugin, it works well.

              • 19. Re: error with GPD 3.0.8 Eclipse plugin
                boerse

                Start a new workspace and everything will go fine, it worked with me...

                • 20. Re: error with GPD 3.0.8 Eclipse plugin
                  jglan

                  I tried to find out more about the classpath container thing. The eclipse help was not very helpful for me.
                  Is there some file that 'is' the classpath containter to see which jars are referenced ?
                  If yes, where can find the file ? (to see an example)
                  Are there other ways to see content of the classpath container ?

                  Thanks for any comments!

                  • 21. Re: error with GPD 3.0.8 Eclipse plugin
                    kosulin

                    I do not know what is classpath container, but in my case the exception was caused by absense of JBoss jBPM Installation Location referenced as jBPM Library in my project.

                    When I originally created my project, I defined jBMP library named jBPM 3.1 in Preferences/JBoss jBPM, and marked is as default. My project listed this library in the project's Preferences/Java Build Path/Libraries.
                    When I upgraded to jBPM 3.1.1, I replaced the jBPM 3.1 library in Preferences/JBoss jBPM with new library with new name jBPM 3.1.1 (I deleted the original jBPM 3.1 entry). As a result, my project referenced a missing library.

                    To resolve the issue, I re-created an old library jBPM 3.1 in Preferences/JBoss jBPM, restarted Eclipse, opened the project's Preferences/Java Build Path/Libratries, and replaced jBPM 3.1 library with jBPM 3.1.1 library. After that I deleted the jBPM 3.1 library from Preferences/JBoss jBPM.

                    • 22. Re: error with GPD 3.0.8 Eclipse plugin
                      kosulin

                      Follow Up: don't forget to modify also the default entry in
                      Window/Preferences/Java/Build Path/User Libraries, if you had the old jBPM library defined there.

                      • 23. Re: error with GPD 3.0.8 Eclipse plugin

                         

                        "jglan" wrote:
                        I tried to find out more about the classpath container thing. The eclipse help was not very helpful for me.
                        Is there some file that 'is' the classpath containter to see which jars are referenced ?
                        If yes, where can find the file ? (to see an example)
                        Are there other ways to see content of the classpath container ?

                        Thanks for any comments!


                        Lets say you have your workspace in the directory ~/workspace. Lets say furthermore that you have a project called test-jbpm (like i did) living at ~/workspace/test-jbpm.

                        You can see the classpath container (and this is what was causing my problem) by looking at
                        ~/workspace/test-jbpm/.classpath

                        I was referencing a non-existant jbpm instance there. Killing that project got me past eclipse complaining on startup.

                        1 2 Previous Next