Get back an object

Hi...
I needed return two values from a method, then I make an object for that.
But, I can't get back it.
this is the class
public class SqlTcuen
  public class Tticu {
    String coditicu;
    String nombticu;
    public Tticu(String incoditicu, String innombticu) {
      coditicu = incoditicu;
      nombticu = innombticu;
    public String getCoditicu() {
      return coditicu;
    }and this is the method where I return the object...
public class SqlTcuen
  public Vector getCodiNombTticu() {
    Vector codinombticu = new Vector();
    try {
      PreparedStatement pstmt = Connect.conn.prepareStatement(
          "{call sp_select_tticu()};", ResultSet.
          TYPE_SCROLL_SENSITIVE,
          ResultSet.CONCUR_READ_ONLY
      ResultSet r = pstmt.executeQuery();
      while (r.next()) {
        codinombticu.add(new Tticu(r.getString("coditicu"),
                                   r.getString("nombticu")));
      r.close();
      pstmt.close();
    catch (SQLException e) {
      System.out.println("FAILED: Prepare select() failed: " +
                         e.getErrorCode());
    return codinombticu;
  }public class IntCuentaContable
extends JInternalFrame
and this is de code where I try to get it.
  private void filljCBoxTipoCuenta() {
    for (int i = 0; i < sqltcuen.getCodiNombTticu().size(); i++) {
      jCBoxTipoCuenta.addItem(sqltcuen.getCodiNombTticu().get(i));
      sqltcuen.prueba(i);
  }

Ok, that's easy. Perform a cast when you retrieve the items from the sqltcuen object to Tticu. Rename the getCoditicu() to toString() in the Tticu class, and you are done. Your code would look like this:
Changes to SqlTcuen class:
public class SqlTcuen {
    public String toString() {      return coditicu;    }
Changes to IntCuentaContable class:
jCBoxTipoCuenta.addItem((SqlTcuen) sqltcuen.getCodiNombTticu().get(i));Your code should work properly now.
One good-willed advice: in your filljCBoxTipoCuenta(), getCodiNombTticu() is called repeatedly in the for loop. This would caused your application to connect to the database on every call. You should only call getCodiNombTticu() once before the for loop and access the Vector object returned. After making the changes, your code might look like this:
private void filljCBoxTipoCuenta() {
    Vector results = sqltcuen.getCodiNombTticu();
    for (int i = 0; i < results.size(); i++) {
        jCBoxTipoCuenta.addItem((SqlTcuen) results.get(i));
        sqltcuen.prueba(i);
}

Similar Messages

  • Get back deleted objects

    Hi colleagues,
    If I delete an object, how can I restore it? I see the object in my transport request (not released). I think that it is possible but I couldn't find out how to do it.
       Thank you very much!
              Regards, Marina

    Hi,
    1.if it is TEMP ($TMP) program then no chance of getting that.
    2.if it is Associated with Request and Not yet Transported at least once also Leave it,
    3. if it is Transported ,after that you deleted then you can Bring it back
    4. if you have Backup in to some notepad(PC file) then upload it again.
    5. final thing re write it from scratch.
    <b>Reward points</b>
    Regards

  • How to get back deleted software component along with underlaying objects.

    Dear Experts,
    By mistake i deleted my software component. When i deleted it even doesn't ask for activate. When i check in change list there is no change list for that deleted software component. So request you please let me how to get back my software component with all the namespaces and objects.
    Please treat this as high priority and revert me back ASAP.
    Thanks in advance.
    HAri.

    I don't know if is possible to restore a deleted SoftComp and all dependent object in repository... You can try to renew the SoftComp import from SLD....

  • Get original exported object back?

    It just sunk in that when I pass out my Project as an IProject, its actually going out as a Proxy. So when I get back in another interface IProject I cant then do this;
    void remoteCall(IProject project){
        Project proj = (Project) project;
    }Is there any utility already in RMI that will get my my original object back? Or should I get it back myself? I thought toStub would do that, but it really did not do anything..
    Thanks!

    Unfortunately, RMI holds onto
    the object returned from the exportObject call (I
    think since I implemented unreferenced but its not
    been called), and it does not hold onto the object
    passed into that call. It has a strong reference to the stub and a weak
    reference to the remote object.
    Indeed. What I said above is sort of backwards.
    My Remote object implements Unreferenced. I holda
    weak reference to my remote object. The weak
    reference is cleared, but unreference is never
    called.This just means that DGC has never found the object
    to be releasable. This is completely separate from
    local GC.
    The local GC can't reclaim an object that the DGC has yet to release.
    DGC runs every ten minutes or so but this should
    start immediately a client receives a stub, i.e. not
    ten minutes later. This acquires a DGC lease, then it
    tries to renew the lease in the middle of the
    10-minute expiry time.Thats what I was expecting. But its kind of a misnomer. The DGC is always running. Its only checking for expiration every 10 minutes. In the meantime, any objects that the client explicitly says it does not need, the DGC may reclaim at any time.
    In the end I am using a WeakHashMap to hold my remote objects. Its my first time finding a use for that weird map...

  • How do I use Display Dialog to get back a date?

    Can anyone tell me how to use Display Dialog to get back a date?
    I am using the following code that does not work. It does not accept anything.  And I have searched high and low for an answer to my question and found nothing.
    repeat
           display dialog "When should I remind you (date)?" default answer ""
           try
                 if the text returned of the result is not "" then
                        set the requested_text to the date returned of the result as date
                        exit repeat
                end if
           on error
               beep
    end try
    endrepeat
    display dialog requested_text
    The code is based on what I found in AppleScript 1-2-3 (page 300). It shows examples for getting text and numbers but not one for dates.
    For what it is worth, my goal is to create a script that will convert an email from Evernote into an iCal Reminder. To do so, I want to ask the user (myself) for the reminder's date and time. I am assuming I need to ask for each separately. I also assume that once I get the date and time for the reminder, it should be relatively straightforward to 'make' a 'todo' with an alarm.
    Thanks in advance.
    -David

    Hi David,
    Try this:
    repeat
        set theCurrentDate to current date
        display dialog "When should I remind you (date)?" default answer (date string of theCurrentDate & space & time string of theCurrentDate)
        set theText to text returned of result
        try
            if theText is not "" then
                set theDate to date theText -- a date object
                exit repeat
            end if
        on error
            beep
        end try
    end repeat
    display dialog (date string of theDate & space & time string of theDate)
    You might also have a look at this page of the AppleScript Language Guide.
    Message was edited by: Pierre L.

  • How can I get back the quality of ios 5.1.1 back to my iphones 4 and my ipad 2?

    How can I get back the quality of ios 5.1.1 back to my two iphones4 and my ipad2?
    Since more than 6 monthes I can't use
    * video for more than 5 minutes,
    * tv-streams for more than 5 minutes,
    * apple store updates in case of more than one update,
    * itunes download in case of more than one download object,
    * remote control
    * air play with appletv3
    without errors.
    On ios 6.x (incl. 6.1.2) all important apple media integration are just useless.

    I'm sorry, but Apple does not provide a downgrade path for iOS. Because downgrading is unsupported by Apple we cannot discuss it on these forums, but you can use Google to find information on how to install an older version of iOS on any iDevice.

  • How do i get back my stateful session bean after it has been passivated

    hi ,
    How do i get back my stateful session bean after it has been passivated by container.
    i'm confused that is it possible or not .......give me answer
    i've one stateful sessionbean which i'm accessing throgh my normal java client . now what i'm doing is when i first time call a method it is running ......then i'm shutting down the server jboss .......it is calling my ejbPassivate() method ... at this particular time client program doesn't do anything.....
    now after i restart my server i'm again calling back that business method with that last object reference.......it gives me the exception given below.....
    java.rmi.NoSuchObjectException: no such object in table
    java.rmi.NoSuchObjectException: no such object in table
         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
         at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
         at sun.rmi.server.UnicastRef.invoke(Unknown Source)
         at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
         at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
         at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
         at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:106)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
         at $Proxy1.makeNewAcc(Unknown Source)
         at client.GanJavaClient.main(GanJavaClient.java:46)so pls tell me that is it possible to get back that session besn or not

    Stateful session beans are not persisted across restart of the EJB server instance(s) hosting them. You can't treat a Session bean as one would an entity bean.
    Chuck

  • Getting the Request Object in the EJB published as a Web Service

    Hi experts,
    I have a Portal Service that call a BAPI in a back-end system with the Connector Framework. I have a Portal Component that calls the Portal Service, passing the Locale (request.getLocale()) and the User (request.getUser()) object. It's work fine!
    I need to call the Portal Service by an EJB that is published as a Web Service. The connection between the EJB and Portal Service is ok, but I don't know how to get the Locale and the User object in the EJB to pass to the Portal Service.
    Is possible to get the request object from the HTTP SOAP Request?
    Thanks,
    Gustavo

    Hey Alice!
    The Feature Hashing module is actually a wrapper around
    Vowpal Wabbit's implementation of the murmurhash. Thus, it takes text in, and produces 2^N new features based on the text, where N is the bitsize specified in the module. These features (and not the original text!) should be used during model training.
    The Learner will then keep track of these features behind the scenes.
    When you publish your web service and these features are recomputed for new input text (same N), they are used as the features for scoring.
    Does that make sense?
    Regards,
    AK

  • Nobody get back to me on my other question, so I'm going to try again. I am making a PowerPoint for a meeting and I want to take a 3D PDF and have it spin or rotate on a continuous loop. How can I accomplish this?

    Nobody get back to me on my other question, so I'm going to try again. I am making a PowerPoint for a meeting and I want to take a 3D PDF and have it spin or rotate on a continuous loop. How can I accomplish this?

    Please ignore PowerPoint comment, I can make the 3D PDF no problem with my converter plug-in for AutoCAD. Once it is made though you can spin it by hand/mouse in Adobe. but I want a video like scene with the object spinning by itself for modeling purposes?

  • Getting Invalid Registry Object while uninstalling plugins programatically

    When a specific condition is hit (while the user is trying to open our perspective), we uninstall the plugins using the below code:
    Platform.getBundle(<Bundle name>).uninstall();
    When we run this code on Juno 4.2.2, we are hitting the below exception. This same code was working well in Indigo and other earlier releases. Is there a possible step we need to perform before the uninstall? Any help soon will be appreciated.
    org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object
    at org.eclipse.core.internal.registry.RegistryObjectManager.basicGetObject(RegistryObjectManager.java:273)
    at org.eclipse.core.internal.registry.RegistryObjectManager.getObject(RegistryObjectManager.java:263)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.getConfigurationElement(ConfigurationElementHandle.java:26)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.getParent(ConfigurationElementHandle.java:103)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.getDeclaringExtension(ConfigurationElementHandle.java:93)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.getNamespaceIdentifier(ConfigurationElementHandle.java:130)
    at org.eclipse.ui.internal.registry.PerspectiveDescriptor.getPluginId(PerspectiveDescriptor.java:153)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.createUnifiedId(WorkbenchActivityHelper.java:180)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.getIdentifier(WorkbenchActivityHelper.java:57)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.allowUseOf(WorkbenchActivityHelper.java:104)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.restrictUseOf(WorkbenchActivityHelper.java:122)
    at org.eclipse.ui.internal.registry.PerspectiveRegistry.findPerspectiveWithId(PerspectiveRegistry.java:162)
    at org.eclipse.ui.internal.registry.PerspectiveRegistry.findPerspectiveWithId(PerspectiveRegistry.java:156)
    at org.eclipse.ui.internal.WorkbenchPage.getPerspectiveDesc(WorkbenchPage.java:2385)
    at org.eclipse.ui.internal.WorkbenchPage.getPerspective(WorkbenchPage.java:2375)
    at org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:952)
    at org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
    at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:684)
    ...

    Thanks Thorsten for your hint. We tried closing the perspective and it works half way. We did the following to close the perspective before uninstalling the plugins
    IWorkbenchWindow w = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
    if (w != null) {
    IWorkbenchPage wp = w.getActivePage();
    if (wp != null) {
    IPerspectiveDescriptor[] p = wp.getOpenPerspectives();
    if (p != null && p.length > 1) {
    wp.closePerspective(p[p.length - 1], true, true);
    After this change, we get back to the perspective we were in before we tried to change perspective and plugins got uninstalled. However when i try to bring up the perspective window again to check if the uninstalled perspective is not visible, i hit the Invalid Registry error again. Below is the trace.
    org.eclipse.e4.core.di.InjectionException: org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
    at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
    at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:212)
    at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
    at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)
    at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:145)
    at org.eclipse.e4.ui.workbench.addons.perspectiveswitcher.PerspectiveSwitcher.selectPerspective(PerspectiveSwitcher.java:476)
    at org.eclipse.e4.ui.workbench.addons.perspectiveswitcher.PerspectiveSwitcher.access$6(PerspectiveSwitcher.java:472)
    at org.eclipse.e4.ui.workbench.addons.perspectiveswitcher.PerspectiveSwitcher$11.widgetSelected(PerspectiveSwitcher.java:368)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
    Caused by: org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object
    at org.eclipse.core.internal.registry.RegistryObjectManager.basicGetObject(RegistryObjectManager.java:273)
    at org.eclipse.core.internal.registry.RegistryObjectManager.getObject(RegistryObjectManager.java:263)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.getConfigurationElement(ConfigurationElementHandle.java:26)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.getParent(ConfigurationElementHandle.java:103)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.getDeclaringExtension(ConfigurationElementHandle.java:93)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.getNamespaceIdentifier(ConfigurationElementHandle.java:130)
    at org.eclipse.ui.internal.registry.PerspectiveDescriptor.getPluginId(PerspectiveDescriptor.java:153)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.createUnifiedId(WorkbenchActivityHelper.java:180)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.getIdentifier(WorkbenchActivityHelper.java:57)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.allowUseOf(WorkbenchActivityHelper.java:104)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.restrictUseOf(WorkbenchActivityHelper.java:122)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.restrictCollection(WorkbenchActivityHelper.java:600)
    at org.eclipse.ui.internal.registry.PerspectiveRegistry.getPerspectives(PerspectiveRegistry.java:211)
    at org.eclipse.ui.internal.dialogs.PerspContentProvider.getElements(PerspContentProvider.java:42)
    at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:1010)
    at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:703)
    at org.eclipse.jface.viewers.AbstractTableViewer.getRawChildren(AbstractTableViewer.java:1087)
    at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:917)
    at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:1067)
    at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:701)
    at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:649)
    at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:636)
    at org.eclipse.jface.viewers.AbstractTableViewer$2.run(AbstractTableViewer.java:592)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1443)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1404)
    at org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:590)
    at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:280)
    at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1690)
    at org.eclipse.ui.internal.dialogs.SelectPerspectiveDialog.createViewer(SelectPerspectiveDialog.java:198)
    at org.eclipse.ui.internal.dialogs.SelectPerspectiveDialog.createDialogArea(SelectPerspectiveDialog.java:134)
    at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:760)
    at org.eclipse.jface.window.Window.create(Window.java:431)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
    at org.eclipse.jface.window.Window.open(Window.java:790)
    at org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(ShowPerspectiveHandler.java:101)
    at org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowPerspectiveHandler.java:57)
    at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
    at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
    ... 35 more
    I get the following exception when i try to click the finish button to create a new java project.
    org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object
    at org.eclipse.core.internal.registry.RegistryObjectManager.basicGetObject(RegistryObjectManager.java:273)
    at org.eclipse.core.internal.registry.RegistryObjectManager.getObject(RegistryObjectManager.java:263)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.getConfigurationElement(ConfigurationElementHandle.java:26)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.getParent(ConfigurationElementHandle.java:103)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.getDeclaringExtension(ConfigurationElementHandle.java:93)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.getNamespaceIdentifier(ConfigurationElementHandle.java:130)
    at org.eclipse.ui.internal.registry.PerspectiveDescriptor.getPluginId(PerspectiveDescriptor.java:153)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.createUnifiedId(WorkbenchActivityHelper.java:180)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.getIdentifier(WorkbenchActivityHelper.java:57)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.allowUseOf(WorkbenchActivityHelper.java:104)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.restrictUseOf(WorkbenchActivityHelper.java:122)
    at org.eclipse.ui.activities.WorkbenchActivityHelper.restrictCollection(WorkbenchActivityHelper.java:600)
    at org.eclipse.ui.internal.registry.PerspectiveRegistry.getPerspectives(PerspectiveRegistry.java:211)
    at org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard.addPerspectiveAndDescendants(BasicNewProjectResourceWizard.java:545)
    at org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard.updatePerspective(BasicNewProjectResourceWizard.java:487)
    at org.eclipse.jdt.internal.ui.wizards.JavaProjectWizard.performFinish(JavaProjectWizard.java:99)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:135)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

  • Geting back deleted objects

    Hi Experts,
    is there any way to get back a deleted object after activating it in ID? any chance?
    I know this is not possible .... still if there any chance?
    Thanks
    Sugata

    Hi,
    It doesn't matter. Try this link.
    /people/robin.schroeder/blog/2006/11/21/receive-deleted-xi-objects
    Its a simple 3 steps approach.
    Step 1: You have to create a new Object with the same name in the same namespace of the Object you want to receive.
    Step 2: Activate the New Object.
    Step 3: Open the History of the Object and now you see the old Objects before deleting.
    Regards,
    Sarvesh

  • How to get back a discarded changelist in mobile application studio

    Hi!
    Like i've written in the subject ... Is it possible (how?) to get back a discarded changelist?
    Or... If not... to get back the content of the changelist?
    I'm using sap crm 4.0 (mobile sales).
    Thanks for any hint or help!
    Cheers,
    Ingo

    Hi,
    the table changelist doesn't contain the changes directly but they are included in several tables which have a reference to the CL table. So it would be very tricky to get all these objects.
    As I already mentioned directly the best way would be to restore a backup of the ARS_DB (if existing...) additionally to the current one, create another ODBC source and open MAS with this DB. Then check all the included objects, copy the changed code to notepad, reopen with the current ARS_DB and redo the changes in a new CL.
    Regards,
    Wolfhard

  • Call a webservice and get back a value within an ESB...

    Hi!
    I'd like to call a webservice and get back a value from it within an ESB. But I don't know how.
    I think, I must create a routing service, then a SOAP service, but how can I get back the value from the webservice, which I called in the SOAP service?
    Or it is not possible to realize this within an ESB?
    Thank You very much!
    Viktor

    When you take a look at the Soa Orderbooking example you can see how it works. You create a webservice that accepts certain parameters and these are bundled into an object. This object, in case of the Soa Orderbooking example a 'PurchaseOrder', is described using an Xml Schema. The XML Schema is used to create the ESB with. Using this xsd the ESB knows which object it can expect and this object can be used inside your ESB or inside a bpel process.

  • Get back component from JPanel

    by java
    I know JPanel can get back components by JPanel.getComponents() like
    private JPanel panelCenter = new JPanel ();
    panelCenter.getComponents();
    I want to know is JPanel able to get component just by the specified component's name?
    e.g. panelCenter.getComponent("buttom");
    or like vb.net Me.Controls("buttom").Visible = True
    Thanks
    Francis SZE

    None of JPanel, JComponent, Container or Component have a method to get a component by name.
    You can either:
    1. Keep references to the objects you place in your JPanel (highly recommended :)
    or
    2. Iterate over the result of getComponents() and test for getName().equals(requestedName)

  • Get back the released CTS

    How can I get back a released transport? Client now wants to back into their previous version. How can I do that? It is a 'Business Object'. Tcd 'SWo1'.
    Regards,
    Subhasish

    Hi Subhashish,
    U can restore previous version by following steps.
    1. go to utilities.
    2. versions and version management.
    3. screen will display the history of releases and current active request.
    4. Now, click on the ver or req. u want to restoreand then press restore.
    5. generate new requst now your pro is restore to pre version.
    Regards
    Rajvinder

Maybe you are looking for

  • G4 Mac Server Booting Problems (?)

    Computer: PowerMac G4 AGP PowerPC G4 400 MHz, 768 MB Ram, OS 9.04, Server software AppleShare IP 6.3.1. The server froze when I ran Retrospect mirror backup copying the server drive to an external Firewire drive. Now almost every time that I reboot,

  • Passing Array to Custom Component

    I have a custom button component that has the following setter function: //get title dimensions [Bindable] public function get titleDims():Array {    return _cubeTitleArray; In main.mxml, the button MXML code is as follows: <comp:updateButton id="upd

  • Converting elements 10 to elements 12. Backup 10 successful. Restore to 12 saying back up no good

    Did Backup from 10 to external hard drive.  Backup successful.  When I try to restore to 12 I get a message that I don't have a valid backup. Can you advise help?

  • My email comes as attachments now instead of just html

    I was using firefox 9.0 than all of a sudden my email comes as attachments and not html. I use windows live email. I wiped out firefox, got firefox 10.0 and still having the same problem.

  • ODI Date Variable

    Hello everyone, I am trying to use a variable in my package (ODI 12c). The variable type should be 'Date'. It takes the date a few months ago from the sysdate. I created my variable, my mapping and my package. However, it always give the mapping stag