Get a variable from an open tool

Hello

I m developed a tool open in Java to get an ID of a HttpRequest.
I want to keep this answer (a string) in a variable for use in another step.

Is this possible?

So, I tried to create a .jar I used in a procedure like this thanks to http://askankit.blogspot.com/2010/09/call-java-jar-methods-from-odi.html:
Import os
import sys

jars =]
'F:\NetBeansProjects\UrlEndPoint\dist\UrlEndPoint.jar '.
]

for pot in pot:
sys. Path.Append (jar)

from com.mycompany.endpoint import *.

FW = urlendpoint)
FW. Login (URL, USER, PASSWORD)

But the operator returns this error:
org.apache.bsf.BSFException: exception of Jython:
Traceback (innermost last):
"< String >" file, line 13, inside?
java.lang.NullPointerException

at java.lang.Class.isAssignableFrom (Native Method)

at org.python.core.PyJavaClass.init__class__ (PyJavaClass.java)

Someone knows how to solve this kind of problem?

Best regards
Julien

Published by: user12115064 on October 1, 2010 05:28

In the procedure of ODI.
As a first step, use
Command on target - as the tank of Java Bean technology
<>
You must write your java code this symbol
@>

In the next step, provide the necessary technology

call the variable as <@ variable="" @="">as shown in the first response.

You can also find another thread that should give you a better idea.

Tags: Business Intelligence

Similar Questions

  • How can I get the message from thunderbird to stop coming when I opened my email?

    How can I get the message from thunderbird to stop coming when I opened my email?

    Press the alt key to make the call of menu bar
    Select Tools-Options-general
    Disabled the Start Page

  • Why the system has a runtime error whenever I get a notification from Facebook and try to open it on my windows Live Mail Inbox

    Why my computer has a runtime error and I have to close the computer whenever I get an email from Facebook on my WindowsLive email inbox

    Whenever I try to open it it gives me the message "runtime error" and then I can't do anything except that close and restart.

    I hope you can help

    Hello

    The question you have posted will be well suited in Windows Live Solution Center. I suggest you to send your application in the Windows Live Solution Center for better support

    http://windowslivehelp.com/product.aspx?ProductID=15

  • access to the content of the files downloaded from the internet: when I download PDFs from the internet to my documents, they get there but does not open

    When I download PDFs from the internet to my documents, they get there but does not open.

    Download Adobe Reader; Uncheck the box first the Google toolbar:

    http://get.Adobe.com/reader/

    How to set file Associations:

    http://articles.TechRepublic.com.com/5100-10878_11-6172036.html

    How do I... Change file extension associations in Windows Vista?

    See you soon.

    Mick Murphy - Microsoft partner

  • in outlook express, I get an email from itunes,

    I'll get an email from itunes, selling are produced and just at the time when I opened the e-mail I get a msg of error on line - object expected, etc... I have spent hours removing parts of itunes and re - install just to get continue to get the same error msg.  frustrating.

    A moderator has moved this thread to the mail > Program Performance Forum.
    Another moved to XP Networking forum and put online.   I tried to cancel the registration and got the MSG - mshtml.dll was loaded, but the DllUnregisterServerentry point was not found.the file can not be registered.     Thanks for the tip of 'change '. I am 71 and do not know much about computers. no formal training, only what I pick up useful people like you, no thanks.

    Hi, David-10,

    Try the following:

    Tools > Internet Options - Advanced tab

    Check Disable script debugging (Internet Explorer)

    Check Disable script debugging (other)

    Uncheck the display every script error notifications

    Click on apply, OK

  • My google toolbar does not respond and when I open tools &gt; Add-ons, a window pops up saying script is unresponsive, which is followed by firefox crashing

    When I try a search using my google toolbar it stops responding and when I open tools > Addons, a window pops up saying script is unresponsive, which is followed by firefox crashing. How can I fix it?

    It is possible that you have a problem with some Add on Firefox which is an obstacle to the normal behavior of your Firefox. Have you tried to disable all add-ons (just to see) to see if Firefox goes back to normal?

    Whenever you have a problem with Firefox, whatever it is, you must make sure that it is not caused by one (or more) of your installed modules, whether an extension, a theme or a plugin. To do this easily and cleanly, start Firefox in safe mode (remember to select disable all add-ons when you start safe mode). If the problem goes away, you know that it's an add-on. Disable them all in normal mode and allow them one by one until you find the source of the problem. See this article for more information on troubleshooting extensions and themes and this one for plugins.

    If you need help with one of your modules, you will need to contact the author.

    If the problem does not disappear when all add-ons are disabled, please tell me, so we can work from there. Please be afraid not to follow my instructions to the line, as everything can be easily undone.

  • When I try to install Firefox, I get an error "could not open the output file. I used Firefox before and it doesn't work anymore, so I uninstalled. Cannot re - install now.

    When I try to install Firefox, I get an error "could not open the output file. I used Firefox before and it doesn't work anymore, so I uninstalled. Cannot re - install now.

    This has happened

    Each time Firefox opened

    I tried to download firefox.

    User Agent

    Mozilla/4.0 (compatible; INTERNET EXPLORER 6.0; Windows NT 5.1; SV1; AntivirXP08; GTB6.3; .NET CLR 2.0.50727; MS - RTC LM 8)

    When you click on the download link on GetFirefox.com, you should be asked if you want to run or save the file. If this situation occurs when you try to run the download, try instead to record and put the file on your desktop or in a similar place, where you are certain that you can find.

    When the download is complete, try double-clicking on the downloaded file in the normal Windows Explorer (browse your way to the file from the desktop). This should start the installation.

    If, in the Explorer window, you notice that the file seems to be missing the Firefox icon orange/blue, right click the file and select Properties. The image should look like the attached picture (except that mine is in Danish, but that is irrelevant) if saved correctly - if it don't look like this, would you please describe the content or attach a screenshot of the box. Especially what it says under "File Type" - it must be 'program '. If this isn't the case, will have to focus on what could be the problem here.

    A bit off-topic, your Internet Explorer seems to be quite a bit outdated (IE 6, where the current version is IE 8), so I highly recommend that you try to run Windows Update to get your system up to date. Is it as a society (such as a thin client Terminal Server computer) system, this is not possible, and most likely, your system administrator will have to help you.

  • How to use the 'Get Shared Variable list' VI on a target RT?

    Hello

    I would like to browse all variables shared in a library hosted on my CompactRIO programmatically. I dropped the 'Get Shared Variable list' VI in my VI in real time, but when I tried deploying, LabVIEW says

    Deployment PRC_GetVarList.viPRC_GetVarList.vi loaded with errors on the target and was closed.
    LabVIEW: Unable to load the shared library dscProc.dll:ni_lvdsc_process_GetTagListEnd:C. ensure that the library is present on the target of RT. MAX allows you to install software from OR or FTP to transfer custom RT target libraries.
    LabVIEW: Unable to load the shared library dscProc.dll:ni_lvdsc_process_GetTagListBegin:C. ensure that the library is present on the target of RT. MAX allows you to install software from OR or FTP to transfer custom RT target libraries.

    I watched the wizard of the MAX software, but cannot find the DSC-based modules. Where should I look?

    Thank you!

    Hello

    The palette of DSC is not supported on the screws in real-time and will lead to errors when they are deployed.  Unfortunately, to have a successful build you will need to modify your application and remove the screws from the palette of DSC on your target of RT.

  • I'm trying to get audio only from a video. I went to record audio only: (as shown) and there is no ' audio only ' click. do I have to upgrade the machine to live music, and if so, how?

    I'm trying to get audio only from a video. I went to record audio only: (as shown) and there is no ' audio only ' click. do I have to upgrade the machine to live music, and if so, how?

    If you are looking to get audio only from a YouTube video, all you need to do is read your video and while it's going to copy the link. Then on another tab, open listentoyoutube.com. Just follow the easy directions and paste the link.

    Hope that helps. I found out a month ago and I have 4 CD made from these audio files. There is a lot of fun to find obscure stuff and making CD of songs.

    Jon

  • After having my system repaired, I can't have my mobile data card (wireless broadband modem) to operate. I can't get any service from the server.

    TBS wide BAND WIRELESS MODEM data

    I had to have my computer repaired, now I can't get my mobile card data (wireless broadband modem) to operate. I can't get any service from the server. I called them and they said that when the laptop has been repaired. The Ports were not tied and cannot open anything. All other elements of work of these ports (wirelsee mouse/printer and I explained this to the technician, it is only thought was to call in a repair service.) I think their answer is like the auto machnic said to go and change the air in your tires. Can you give me any advice?

    Hello

    I suggest you to stay in touch with your Internet service provider.

  • Item number: 314481 how to manually remove programs from the add tool / remove program does not work! What's next?

    Tried to uninstall a program using the Add / Remove program.  The tool has requested a copy of 'Install the CD' I did not.  Then I tried to uninstall the program by following the instructions in the Article ID: 314481 how to manually remove programs from the add tool / remove program.  It didn't not t work!  The name of the program calmed listed in the tool of installed programs list even if the "Delete" button is no longer visible.   The registry key and its subkeys appear to have been deleted but still the program name in the list of installed programs tool.  WHAT IS PLANNED?

    Some people have good results with the free copy of Revo Uninstaller that you can get from here:

    http://www.revouninstaller.com/index.html

  • Get still images from video

    I saved videos from my mobile to my computor. How can I create still frames from video to print photos?

    Hi Angus C.Duprey,

    Welcome to the Microsoft answers site!

    You can use the cutting tool for this task. To do this, follow the steps mentioned below:

    Play the video, pause the video (to capture the image you want), then open "tool captures.

    Open the capture tool by clicking Start, all programs, accessories, and then click Snipping Tool. Click, drag and save.

    See the link for more information:

    http://Windows.Microsoft.com/en-us/Windows-Vista/use-Snipping-Tool-to-capture-screen-shots

    You can also play the video when you want to capture the image, press the print screen key (on the keyboard) and then to open a program, such as photo touch-up paintand paste and save it.

    Hope this information is helpful

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to print from the capture tool?

    How to print from the capture tool?

    Hello

    The Snipping Tool does not support print screen capture.

    You must save the snip as image file and open it in a program that supports printing.

    Concerning

  • Cannot get my LifeCam software to open

    Separated from this thread.

    I am running Windows 8.1 and I can't get my LifeCam software to open. I can't activate it, I can't use it for Skype.

    I downloaded the firmware and software, and even my system shows as a device in "Devices".

    It is not an app for that I can find.

    Can someone help me?  The main objective is to use it for Skype.

    Thank you

    Jeff

    Hi Jeff,

    Please write us with the following details.

    (1) where have you installed the firmware and software?

    (2) what happens when you try to open it? You get the error message?

    (3) what is the LifeCam model number that you are using? For example, LifeCam Cinema,

    LifeCam LifeCam HD-5000, HD-3000.

    Follow the steps in the link below and check if it helps.

    Troubleshooting: Webcams

    http://www.Microsoft.com/hardware/en-us/help/support/troubleshooting/webcam/LifeCam-Setup

    Let us know the status of the issue.

  • BlackBerry smartphones get my photos from my storm for my mac

    How can I get my pictures from my storm on my Mac? I Director of office for mac, but I can only find synchronization of music in the few media and nothing for the photos.

    assuming they are stored on your card, the media card should show up as a device on your mac desktop.  Just open the device and drag and drop...

Maybe you are looking for

  • Is there a usb2 cable available magsafe2 to load a MacBook Pro?

    Is there a usb2 cable available magsafe2 to load a MacBook Pro w/Retina Display?

  • Satellite T230D - new driver for webcam

    I have problems with my built-in webcam. It does not seem to be developed. Advanced application Toshiba Web Camera displays the options of normal auto focus or Macro, but all the options are greyed out meaning I can't select them. I think I may have

  • Satellite X 200-HD - DVD reading problems

    Hello I recently acquired a Satellite X 200.I decided to upgrade to the latest drivers and applications available on the website of Dutch support.Since I now have my first HD-DVD player, I also bought the latest Harry Potter on HD - DVD. Reading with

  • Satellite T130-11u - problem Bluetooth Win 7 64 bit

    Hi, also got a new T130-11u with windows 7 64 x I have a problem with bluetooth.After that I installed 7.10 bluetooth stack. (new manager) I can't conect any device on my laptop.The esteem devices Manager starts the instalation and it displays an err

  • Satellite L550 - SMART failure HARD disk reports early - what to do?

    Toshiba Satellite L550-113 At startup, I get a fault HARD drive reporting mini-message soon, and I am asked to by pressing F1 before will continue to Windows (Vista 32 bit). The message of the Toshiba HDD application alert is as follows: Disk0Your HA