7 Replies Latest reply on Jan 18, 2016 12:44 AM by bpriya.s RSS
    bpriya.s Explorer

    Thingworx Eclipse Plugin Errors

    Hi,

    I am trying to work on Thigworx 6.6 Eclipse Plugin .Installation went through successfully. During creation of new project I get an error saying

    "An exception was encountered while preparing  the project".On clicking OK the project gets created but the folder structure has 2 empty folders (src and config files). metadata.xml, build-extension.xml are all missing.

    Below is the screen shot of the error.

     

    Error.PNG

     

    Please help!!

     

    Thanks,

    Priya

      • Re: Thingworx Eclipse Plugin Errors
        giri Communicator

        What do you see in the error log?

          • Re: Thingworx Eclipse Plugin Errors
            bpriya.s Explorer

            The Error  log  doesn't show anything much. Just the same info. Below is the error log screen shot

             

            ErrorLog.PNG

              • Re: Thingworx Eclipse Plugin Errors
                thearonh Apprentice

                If you double click on that line in the error log, there should be a more detailed view of the error that pops up as a wizard.  It will hopefully show us a stack trace.  Can you try that and post a screenshot? 

                 

                Also, a couple of general debugging questions - What is the location on disk of your Eclipse install and Workspace? And can you send a screenshot of the information you filled out in the New Extension Project wizard? This can be helpful to narrow down the causal scenarios.

                  • Re: Thingworx Eclipse Plugin Errors
                    bpriya.s Explorer

                    Thanks for the response Thearon. Below are the details you asked for.

                     

                    Eclipse workspace-C:\Users\11031\MarsLatestworkspace

                    Eclipse Install location-D:\D drive\Software\Eclipse\eclipse-jee-mars-1-win32-x86_64\eclipse

                     

                    The screen shot of error details:

                    ErrorDetails.PNG

                    Screen shot of New Extension Project wizard

                     

                    CreateProject.PNG

                    Thanks.

                      • Re: Thingworx Eclipse Plugin Errors
                        thearonh Apprentice

                        That is exactly what I was looking for.  In the 6.6 version of the plugin, there was a bug which couldn't handle spaces in the location of the Eclipse install. It looks like the 'D drive' folder is what is causing the error.  This bug is fixed in the next release (7.0) of the plugin, which is planned to be released early next week.


                        As a workaround, you can move your Eclipse Install to a location that doesn't contain spaces in the path.  This is actually very simple and can be done by copying and pasting the eclipse directory into another folder.


                        Let me know if you need any more direction with this - and sorry for the inconvenience!

                • Re: Thingworx Eclipse Plugin Errors
                  giri Communicator

                  Okay, I'm not exactly sure about the exception. But try running eclipse from a different location, because if you've spaces in the directory names (like 'My Workspace') it might throw the exception.