Hi Mohan,

still not enough details, so I need to guess that OpenMyWizard is probably a subclass of AbstractContainerWizard. This class has a method



public void init(IWorkbench workbench, IStructuredSelection selection) {
        if (!selection.isEmpty()) {
            IStructuredSelection ssel = selection;
            Object obj = ssel.getFirstElement();
            if (obj instanceof IResource) {
                if (obj instanceof IContainer) {
                    container = (IContainer) obj;
                }
                else {
                    if( obj instanceof IFile ){
                        file = (IFile) obj;
                    }
                    container = ((IResource) obj).getParent();
                }
            }
        }
    }

which assumes that the current Navigator window has some file or folder or project selected. If nothing is selected there, then this cannot proceed because container will be null:

    public void addPages() {
        if(container == null) {
addPage(createErrorPage("No parent folder or project selected. Please open this wizard from the Navigator view (e.g. right-click on a project)."));
        }
        else {
            addPages(container);
        }
    }

You can also tell the wizard to use a specific parent folder or project by calling AbstractContainerWizard.setTargetContainer() although I wonder what value you would use if nothing is selected.

I hope this gives you enough information to understand what's going on?

Cheers,
Holger


On 8/5/2014 23:44, Mohan G wrote:
Hi Holger

Please see below code statements.

OpenMyWizard wizard = new OpenMyWizard(file);
WizardDialog dialog = new WizardDialog(null, wizard);
dialog.setBlockOnOpen(true);
boolean verified = (dialog.open()==Window.OK);
In the above statement, dialog.open() is not opening my wizard as it is giving the error wizard as shown iin attached screenshot ( please see earlier email ).
Please note:
dialog.open()- return code is 1
No stack trace available

Please suggest

Thanks
Mohan G


On Monday, August 4, 2014 6:50:46 AM UTC+5:30, Holger Knublauch wrote:

    Do you have a stack trace for the error? I am afraid I need details.

    Thanks
    Holger


    On 8/1/2014 23:26, Mohan G wrote:

        Hi Holger

        Please find the attached screenshot.
        The open(filePath) method in ResourceEditorLauncher is
        throwing error which I mentioned in earlier mail.

        Thanks
        Mohan G

        On Friday, August 1, 2014 6:07:10 AM UTC+5:30, Holger
        Knublauch wrote:

            Hi Mohan,

            this is very strange. The error message below stems from
            the class AbstractContainerWizard, but when you open an AG
            file I would not expect this to have anything to do with a
            wizard. What sort of wizard gets opened?

            Thanks
            Holger


            On 8/1/2014 1:08, Mohan G wrote:

                Hi Robert

                I made changes to my plugin code and exported as new
                plugin for TBCME-4.5.0.
                I am able to create '.ag4' file from N-Triples file.
                When I tried to load '.ag4' file by double clicking in
                to TBCME, I am getting error window with the below
                message. Please see

                *"No parent folder or project selected. Please open
                this wizard from the Navigator view (e.g. right-click
                on a project)."*
                *
                *
                *
                *
                Please note:
                1. I am opening the file(.ag4) from navigator view only.
                2. I have a separate project folder to have all my
                files in one place
                *
                *
                Please help me if I am missing anything here


                Thanks
                Mohan G



                On Thursday, July 31, 2014 12:10:47 PM UTC+5:30, Mohan
                G wrote:

                    Hi Robert

                    Thanks for your reply.  With the procedure you
                    mentioned, I am able to setup development
                    environment.

                    Thanks
                    Mohan G



                    On Tuesday, July 29, 2014 7:53:29 PM UTC+5:30, Rob
                    M. Sr. Software Engineer wrote:

                        This is actually an issue we just discovered
                        independently yesterday in the beta release.
                        Luckily there is a work-around that doesnt
                        require re-download of the product. You simply
                        follow these steps and you should be able to
                        download software remotely. Basically all you
                        need to do is remove the existing "Kepler"
                        remote software repo and add it back in.

                        1.) Help-> Install New Software
                        2.) Click "Available Software Sites"
                        3.) Select "Kepler-eclipse" from the list and
                        click Remove
                        4.) Click add then enter Kepler-Eclipse2 and
                        enter Location as
                        "http://download.eclipse.org/releases/kepler
                        <http://download.eclipse.org/releases/kepler>"
                        5.) Click ok then ok again
                        6.) Now select the new "Kepler-Eclipse2" entry
                        from the drop down and attempt to download the
                        Eclipse Plug-in development tools again.

                        You might have to repeat the process once more
                        to get it the new software location site to
                        remain in the drop-down. There was an issue
                        with the build that came out that corrupted
                        the original "Kepler - eclipse" entry.


                        On Tuesday, July 29, 2014 5:10:11 AM UTC-4,
                        Mohan G wrote:

                            Hi Robert

                            Thanks for your reply. As per your reply I
                            need to setup the development environment
                            for TBCME-4.5.0 Beta. So I tried to setup
                            the development environment for TBC-4.5.0
                            beta using the steps as you mentioned in
                            earlier(for TBCME-4.4.0) mail, but I got
                            below error.

                            -----------------------------------------------
                            'Installing Software' has encountered a
                            problem.
                            An error occurred while collecting items
                            to to be
                            installed

                            An error occurred while collecting items
                            to be installed
                            session context
                            was:(profile=DefaultProfile,
                            
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect,
                            operand=, action=).
                            No repository found containing:
                            osgi.bundle,com.sun.el,2.2.0.v201303151357
                            No repository found containing:
                            
osgi.bundle,org.apache.felix.gogo.command,0.10.0.v201209301215
                            No repository found containing:
                            
osgi.bundle,org.apache.felix.gogo.runtime,0.10.0.v201209301036
                            No repository found containing:
                            
osgi.bundle,org.apache.felix.gogo.shell,0.10.0.v201212101605
                            No repository found containing:
                            
osgi.bundle,org.eclipse.ant.launching,1.0.300.v20140203-1328
                            No repository found containing:
                            
osgi.bundle,org.eclipse.ant.ui,3.5.400.v20140203-1328
                            No repository found containing:
                            
osgi.bundle,org.eclipse.compare.win32,1.0.200.v20130514-1224
                            No repository found containing:
                            
osgi.bundle,org.eclipse.core.externaltools,1.0.200.v20130402-1741
                            No repository found containing:
                            
osgi.bundle,org.eclipse.core.filesystem.win32.x86,1.4.0.v20121112-0948
                            No repository found containing:
                            
osgi.bundle,org.eclipse.core.net.win32.x86,1.0.100.v20100505-1614
                            No repository found containing:
                            
osgi.bundle,org.eclipse.core.resources.win32.x86,3.5.100.v20100505-1741
                            No repository found containing:
                            
osgi.bundle,org.eclipse.core.runtime.compatibility,3.2.200.v20130326-1255
                            No repository found containing:
                            
org.eclipse.update.feature,org.eclipse.e4.rcp,1.2.2.v20140206-1358
                            No repository found containing:
                            
org.eclipse.update.feature,org.eclipse.emf.common,2.9.2.v20131212-0545
                            No repository found containing:
                            
org.eclipse.update.feature,org.eclipse.emf.ecore,2.9.2.v20131212-0545
                            No repository found containing:
                            
osgi.bundle,org.eclipse.equinox.console,1.0.100.v20130429-0953
                            No repository found containing:
                            
org.eclipse.update.feature,org.eclipse.help,2.0.2.v20140221-1700
                            No repository found containing:
                            osgi.bundle,org.eclipse.jdt,3.9.1.v20140221-1700
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.annotation,1.1.0.v20130513-1648
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.apt.core,3.3.500.v20120516-0617
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.apt.pluggable.core,1.0.400.v20120516-0617
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.apt.ui,3.3.300.v20120516-0617
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.compiler.apt,1.0.600.v20130530-1010
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.compiler.tool,1.0.200.v20130530-1010
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.core,3.9.2.v20140114-1555
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.core.manipulation,1.5.0.v20130605-1748
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.debug,3.8.0.v20130514-0841
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.debug.ui,3.6.200.v20130514-0841
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.doc.user,3.9.1.v20140205-0929
                            No repository found containing:
                            
org.eclipse.update.feature,org.eclipse.jdt,3.9.2.v20140221-1700
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.junit,3.7.200.v20130514-0733
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.junit.core,3.7.200.v20130514-1154
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.junit.runtime,3.4.400.v20130514-0733
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.junit4.runtime,1.1.300.v20130514-0733
                            No repository found containing:
                            
osgi.bundle,org.eclipse.jdt.launching,3.7.1.v20131218-1102
                            No repository found containing:
                            osgi.bundle,org.eclipse.jdt.ui,3.9.2.v20131106-1600
                            No repository found containing:
                            binary,org.eclipse.jdt_root,3.9.2.v20140221-1700
                            No repository found containing:
                            
org.eclipse.update.feature,org.eclipse.platform,4.3.2.v20140221-1852
                            No repository found containing:
                            
binary,org.eclipse.platform_root,4.3.2.v20140221-1852
                            No repository found containing:
                            osgi.bundle,org.eclipse.rcp,4.3.0.v20140221-1700
                            No repository found containing:
                            
org.eclipse.update.feature,org.eclipse.rcp,4.3.2.v20140221-1700
                            No repository found containing:
                            binary,org.eclipse.rcp_root,4.3.2.v20140221-1700
                            No repository found containing:
                            
osgi.bundle,org.eclipse.ui.externaltools,3.2.200.v20130508-2007
                            No repository found containing:
                            
osgi.bundle,org.eclipse.ui.intro.universal,3.2.600.v20130326-1254
                            No repository found containing:
                            
osgi.bundle,org.eclipse.update.configurator,3.3.200.v20140203-1328
                            No repository found containing:
                            osgi.bundle,org.w3c.dom.smil,1.0.0.v200806040011
                            --------------------------------------------------

                            Here is my environment:
                            Windows XP 32 bit, JDK 7 (1.7.0_65)


                            Please suggest.

                            Thanks
                            Mohan G



                            On Monday, July 28, 2014 8:41:42 PM
                            UTC+5:30, Rob M. Sr. Software Engineer wrote:

                                Mohan,
                                     As part of an internal refactor
                                the org.topbraid.sparql plugin was
                                merged into org.topbraid.core so now
                                all that you will need to include with
                                the project is org.topbraid.core.
                                Simply remove this dependency from
                                your dependencies tab and you should
                                be good.

                                On Monday, July 28, 2014 10:48:59 AM
                                UTC-4, Mohan G wrote:

                                    Hi Robert,

                                    Can you please help me with the
                                    following.

                                    Here I tried to add my existing
                                    plugin to TBCME-4.5.0 beta, but I
                                    am unsuccessful with this as I am
                                    getting the below error.

                                    
-------------------------------------------------------
                                    Cannot complete the install
                                    because one or more required items
                                    could not be found.
                                      Software being installed:
                                    com.franz.agraph.feature
                                    4.4.0.201404181642
                                    (com.franz.agraph.feature.feature.group
                                    4.4.0.201404181642)
                                      Missing requirement:
                                    AllegroGraph Query Plug-in
                                    4.4.0.201404181642
                                    (com.franz.agraph.query
                                    4.4.0.201404181642) requires
                                    'bundle org.topbraid.sparql 0.0.0'
                                    but it could not be found
                                      Cannot satisfy dependency:
                                        From: com.franz.agraph.feature
                                    4.4.0.201404181642
                                    (com.franz.agraph.feature.feature.group
                                    4.4.0.201404181642)
                                        To: com.franz.agraph.query
                                    [4.4.0.201404181642]
                                    
---------------------------------------------------------

                                    How can I resolve this issue. Is
                                    there anything I am missing .
                                    Please suggest.

                                    Thanks
                                    Mohan G







                                    On Monday, April 14, 2014 11:21:51
                                    AM UTC+5:30, Mohan G wrote:

                                        Hi Robert

                                        Thanks for your reply.  With
                                        the procedure, I am able to
                                        setup development environment.

                                        Thanks
                                        Mohan G

                                        On Thursday, April 10, 2014
                                        8:30:09 PM UTC+5:30, Rob M.
                                        Sr. Software Engineer wrote:

                                            Mohan G.
                                                  I've spent some time
                                            trying to install this
                                            exact software and have
                                            come up with the steps
                                            necessary to install the
                                            software. It appears that
                                            the problem you're having
                                            is that the Object Teams
                                            plugins have several
                                            per-requisites that are
                                            not shipped with our
                                            software. I'll walk you
                                            through getting these
                                            below. First, please
                                            confirm that you are
                                            running TBCME 4.4.0 Help
                                            ->  About TopBraid
                                            Composer ME (Verify that
                                            it says Version 4.4.0).

                                            Installation Steps:
                                            1.) Reset everything! I
                                            always like to start with
                                            a clean slate whenever
                                            dealing with plugin
                                            installation issues. This
                                            is precautionary and might
                                            not be necessary but is
                                            recommended. Re-install
                                            TBCME 4.4.0 into a new
                                            directory. When you launch
                                            TBCME from the new
                                            location please indicate a
                                            new workspace location
                                            that you've never used
                                            before. Please note that
                                            after you've finished
                                            these steps you re-import
                                            your workspace afterwards.
                                            2.) Click Help -> Install
                                            new Software. PLEASE
                                            REMOVE the url that we
                                            told you to use earlier
                                            the
                                            
"http://download.eclipse.org/releases/kepler/201402280900
                                            
<http://www.google.com/url?q=http%3A%2F%2Fdownload.eclipse.org%2Freleases%2Fkepler%2F201402280900&sa=D&sntz=1&usg=AFQjCNFhtrBpvmTO75uCp1keV4Z73FpoUQ>"
                                            URL doesnt work in this
                                            case. Please change the
                                            url to :
                                            
http://download.eclipse.org/releases/kepler
                                            
<http://download.eclipse.org/releases/kepler>
                                            Also, Click "Available
                                            Software Sites" Select the
                                            reference to Helios and
                                            click "Remove" Click OK
                                            3.) Select Kepler (With
                                            the now correct url of
                                            
http://download.eclipse.org/releases/kepler
                                            
<http://download.eclipse.org/releases/kepler>)
                                            from the drop down. Now
                                            search for "Eclipse Java
                                            Development Tools"
                                            (without quotes) and
                                            install this software.
                                            This will install the
                                            pre-req for Object Teams.
                                            Note that installing this
                                            software will require you
                                            to accept a licensing
                                            agreement and will throw
                                            an "unsigned software"
                                            popup. Accept both. Once
                                            complete click OK to
                                            restart TBCME.
                                            4.) Now to install Object
                                            Teams software. Help ->
                                            Install New Software ->
                                            Select Kepler from the
                                            drop down.
                                            Select both Object Teams
                                            packages (Object Teams
                                            equinox integration +
                                            Object Teams Development
                                            Tooling) and install them.

                                            They should install and
                                            work now. You'll have to
                                            restart TBCME once more to
                                            get them installed.

                                            Hope this helps,
                                            -Robert M


                                            On Wednesday, April 9,
                                            2014 2:05:48 AM UTC-4,
                                            Mohan G wrote:

                                                Hi Mark,

                                                Thanks for your reply.

                                                I tried to add kepler
                                                to tbc as you
                                                mentioned, but I am
                                                getting below error.

                                                Cannot complete the
                                                install because one or
                                                more required items
                                                could not be found.
                                                Software being
                                                installed: Object
                                                Teams Development
                                                Tooling
                                                2.2.2.201402180730
                                                
([R]org.eclipse.objectteams.otdt.feature.group
                                                2.2.2.201402180730)
                                                Missing requirement:
                                                Object Teams Patch for
                                                JDT/Core
                                                2.2.2.201402180730
                                                
(org.eclipse.objectteams.otdt.core.patch.feature.group
                                                2.2.2.201402180730)
                                                requires
                                                'org.eclipse.jdt.feature.group
                                                0.0.0' but it could
                                                not be found
                                                Cannot satisfy dependency:
                                                <font

    ...

--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL 
Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to