NullPointerException from across the bridge

Hi,
I have a pretty complicated setup. I am using the api exposed by webobjects(Application server from Apple) iin my javabean which communicates with the server to get some data.
after packaging all the required classes in the bean i tried to use it first as a bean itself and invoked the Interface through another class using the following code.
public static void main(String[] args) {
TCBeanInstantiator beanInstantiator = new TCBeanInstantiator();
beanInstantiator.initialise();
System.out.println( beanInstantiator.commodities() );
This works fine.
Now when i try and use it across the bridge with the following code
Dim tcBeanInstance As Object
Set blah = CreateObject("TCBeanInstantiator.Bean.1")
MsgBox "initializing"
tcBeanInstance.initialise
MsgBox "initialized"
MsgBox tcBeanInstance.commodities
The code stops responding for about 30-40 seconds which makes me assume that the connection to the server was successful as there is a lot of processing done once the data is received form the server. But after all this the application throws a java.lang.NullPointerException
I am at a loss as to what i might be doing wrong here. I have implemented the serializable interface in the TCBeanInstatiator class.
Thanks in Advance
Mitul

if it is any help... the messagebox for initializing comes up and then the app dies.
the initialise method is as follows
public void initialise() {
NSMutableDictionary conDict = new NSMutableDictionary();
TCBeanInstantiator.logToFile("dictionary created");
conDict.setObjectForKey( "*******", "applicationURL" );
conDict.setObjectForKey( "com.tradecapture.client.HTTPSChannel", "channelClassName");
conDict.setObjectForKey( "com.tradecapture.client.TCJavaClientApplication", "applicationClassName");
try {
_bean = (TCJavaClientApplication)EOApplication.startApplication(conDict, null, true);
catch(ClassCastException e) {
e.printStackTrace();
this method should not bomb as far as i can see, and moreover it works when it is called from the java code.

Similar Messages

  • View/Change User Accounts From Across The Network - Do not have Server

    Is there a program or utility that can be run in Mac OS X Tiger or Leopard to manage user accounts on other Macs that are located across the network? Is there anything that will do this that is free, or not too much money?
    Our setup: multiple Macs on a network that is primarily a Windows AD Domain. For various reasons, we do not have the Macs setup as members of AD. We also do not have a Mac OS X Server. I am wondering if there is something that is built-in, free, or on the cheaper-end, to manage user accounts and their permissions from across the network on the Macs?
    Thank you for your help!
    Dan

    If the systems are not bound to a parent domain, then local account policy will need to be set individually. There is a way to get Workgroup Manager working on OS X client, but I do not know of a way for it to see remote NetInfo/DS Local data stores. It will only see the local store. NetInfo in the 10.2 days could pull this off. But Apple removed those features in favor of LDAP and eventually DS Local.
    You will probably need to use a combination of tools. Start with defining base settings in the User Template to ensure that all new home folders are created equal. Then use ARD or ssh to define user policy with pwpolicy and other tools like niutil (Tiger) or dscl. Test with mcxquery. If you get Server Admin Tools, you can use Workgroup Manager to craft the needed xml for mcx values, then inject into the user account.
    But this is only going to get you local policy. If users are connecting to file shares and mail, they are using their network credentials so those policies need to be managed at the domain level.
    I would encourage binding the machines to the domain. While this can, and has (sadly), been done, being part of the domain is so much easier. If you need a system for storing the LDAP schema, get a Mini and do it on the cheap. Otherwise, consider AD schema modification and then practice your xml skills.
    Hope this helps

  • Calendar not making it across the Bridge

    My Playbook is picking up messages and contacts from my BB phone using the bridge but it is not picking up the calendar. The message I receive is "There are no active calendar services on your device" with a link to "More Information". The link takes me to a blank page with "Not Found" in the top left hand corner.
    When I first set up the bridge, the calendar worked fine. It stopped working for no apparent reason. I have tried removing and resetting the bridge but it did not fix the issue. 

    I would imagine there will be a new BlackBerry Bridge app out soon to support the new OS update.
    That will probably fix your problem.
    If you're desperate. Try uninstalling BlackBerry Bridge from your phone, and deleting the Bluetooth connection from the PlayBook.
    Restart both devices, reinstall BlackBerry Bridge and then reconnect.
    Good luck!
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!

  • Decrypt a wireless WEP key from across the country

    Hi All,
    I recently started a new job where there is no documentation whatsoever anywhere. I have about 200 access points spread across the planet, and the majority of them have WEP keys.  I have access to the APs and can see the encrypted versions of the WEP keys in the show run.
    I need to decrypt these keys for documentation/standardization purposes.  Are there any ways I can do it?  I tried making a key-chain in a spare router I have here and dropping in the encrypted WEP keys, but the router complained that the format was invalid, so I couldn't do that trick.
    R1(config)#key chain decrypt
    R1(config-keychain)#key 1
    R1(config-keychain-key)#key-string 7 <Encrypted WEP key placed here>
    R1(config-keychain-key)#do show key chain decrypt
    All the methods online assume you are within range of the SSID physically, which is not the case for me.
    Any help is much appreciated.
    Thanks.

    Hi George,
    No unfortunately I believe the keys are different everywhere.  You mentioned you've used tools in the past.  Do any of these tools work when the "cracker" is not physically near the wireless range/SSID?  I.E. I'm on the East Coast, WAP is in California.

  • Need help getting some music 'across the bridge'

    So I've been clicking and dragging music
    from my external hard drive into my iTunes
    and so far alot of the records have made
    the leap...
    however, there are a handful that WILL NOT
    make the move. I'll select them and then drag
    'em over but they don't add to my iTunes.
    What's the deal?
    yes, I've checked to see if they were 'protected'
    they are not.
    yes, I've checked to make sure they work fine.
    They do.
    I'm lost here.

    Try mp3val.
    Alternatively the tracks may have been successfully added to the library but are listed somewhere unexpected.
    tt2

  • IPod hard drive audible from across the room

    I just received my first iPod, a 30GB Gen5, this evening and installed the proper software, connected up, and waited for a while. The flashing "Circle Slash" DO NOT DISCONNECT appeared and stayed like that for about an hour. I thought it was charging and/or syncing my iTunes library. When I returned after an hour, I waited a bit longer, and noticed that the battery icon indicated a full charge, but the DO NOT DISCONNECT message was still there with the flashing icon. Finally I unplugged the iPod, and heard grinding, clicks, and every now and then an abrupt "thunk". If I held the iPod in the palm of my hand, the "thunk" felt about like it sounded.
    After a bit of this grinding routine, the menus came up and I could navigate around OK, but none of my iTunes library was there, and in fact the iPod was never detected by iTunes. Upon further disconnects/reconnects, every now and then my G5 DP 1.8's Finder would indicate I had connected a volume not readable by OSX. Grind...grind...grind...THUNK!
    I tried to restore the iPod using the iPod updater, and the updater is currently in a frozen state until I force quit it.
    I think that on the basis of the noises it's making, can I safely assume that this iPod has an unhealthy hard drive and should be returned? I've asked a Mac friend of mine (my boss actually) if any of his numerous iPods ever make noises like that, and he indicated no.
    Any suggestions are appreciated...thanks.

    This is not normal. It is better to have it checked. Take it to the Apple Store.
    Best.

  • Ok- I might need to be a bit more specific-- My MacBook Pro is suddenly making a whirling noise-- sometimes it's quiet but other times you can really hear it from across the room.  This just started happening-- it almost sounds like a tweeting noise --

    I submitted a question last night but wasn't specific enough-- My MacBook Pro is suddenly making a whirling noise when it's on.  Sometimes it's  not too loud-- but other times it almost sounds like a tweeting--  there is nothing in the DVD/CD drive--   Is this something I should have looked at?

    This is not normal. It is better to have it checked. Take it to the Apple Store.
    Best.

  • How does Tuxedo 10.0 load balance across the BRIDGE?

    Is the load balancing round robin or does work done factored in?

    Yes and no.  In all honesty, see if this white paper helps answer your question:  http://www.oracle.com/technetwork/middleware/tuxedo/overview/ld-balc-in-oracle-tux-atmi-apps-1721269.pdf
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • How would you configure ports and IPs for FMS 4.5 to allow RTMFP streaming across the Internet?

    Basically I've got an AS3 app set up that allows video chats between n number of parties, using RTMFP.  The problem is that when I tried to connect a computer from across the Internet, as opposed to our intranet, suddenly it couldn't connect at all to RTMFP for that app (though it was able to succeed in using an RTMP fallback that was in there).
    So after hunting around, I got the network administrator to supposedly open up 1935-1960 UDP for outbound traffic on the external IP for the FMS's server (same server as the AS3 app), and he apparently opened them up for inbound traffic as well.  I also went into Adaptor.xml and changed this element:
    <HostPort>:19350-19360</HostPort>
    to say this:
    <HostPort public="XX.XX.XXX.XXX:19350-19360">:19350-19360</HostPort>
    where XX.XX.XXX.XXX is the external IP for that computer.  At this point in time though, even though computers across the Internet are able to connect through RTMFP, the video/audio streams aren't getting through at all across the Internet.  What's more is that even on our intranet, there are one-way versions of that problem now.
    Network administration is not my strong suit, in all honesty.  Where would I need to start looking in order to solve this problem?  Thanks!

    Found the answer to the problem.  It was something fairly specific to our internal network.  For anyone else who runs into something like this, use cc.rtmfp.net on each client computer and refer to stuff described at http://help.adobe.com/en_US/flashmediaserver/configadmin/WSdb9a8c2ed4c02d261d76cb3412a40a4 90be-8000.html#WSec225f632fa008755a148c52131fca3d386-7ffe, especially under "Understanding the RTMFP Connectivity test".

  • How do i delete songs from my iphone when they don't show up in itunes? Swiping across the song on the iphone does not give me a delete button.

    How do i delete songs from my iphone when they don't show up in itunes? Swiping across the song on the iphone does not give me a delete button.

    Hello audreywisc,
    Songs can be removed from your iPhone by tapping 'Songs,' then swiping the song, then tapping Delete.
    Remove a song from iPhone. Tap Songs, swipe the song, then tap Delete. The song is deleted from iPhone, but not from your iTunes library on your Mac or PC, or from iCloud.
    iPhone User Guide - Playlists
    http://help.apple.com/iphone/8/
    Cheers,
    Allen

  • I have Photoshop CS5, and use windows XP.  I cannot open Bridge from photoshop, whichI have done for years. When I am in Photoshop,when it opens, I always click on the bridge icon at the bottom of the screen, and it puts me into bridge. This is not happen

    I have Photoshop CS5, and use windows XP. I cannot open bridge from photoshop, which I have done for years.  When I am in Photoshop, when it opens, I always click on the bridge icon at the bottom of the screen and it puts me into bridge. This is not happening, the small wheel at the bottom of the screen just keeps spinning. Its like its stuck or caught in a loop. I can't get into bridge. I tried shutting down and starting up again but  the problem remains. Looking for help.  Dan

    Thanks for your response, I was able to open bridge from File-Browse in Bridge.  This worked, but was not able to go back to the way I always opened Bridge.  At least I could get to Bridge and go into Camera Raw. I never tried to open Bridge from the Start menu.  The odd thing about this is, it has happened before, and to get it "unstuck" and working again, I would shut down and restart again in a few minutes, and things would go back to normal.  This time it did not go back to normal after several attempts.  I shut down for about 3-4 hours, restarted, and it seems to be back to normal again. I am not sure if it's a problem that is getting worse each time it happens.       And yes I am using Mini Bridge in photoshop CS5.  Thank you for your help.  Dan

  • Previously i was able to select tools in the bridge and then select image processor to make jpegs from my tiffs, the image processor tab is no longer on the tools drop down menu

    previously while in bridge, i was able to select tools in the drop down menu and then select image processor to get to the page where i can make tiffs and jpegs. That option is no longer available in the drop down tool selection. How do I make jpegs from my tiffs now in the bridge.
    thanks
    [Moved from the general Cloud forum to the specific Program forum... Mod]

    In current Firefox releases the search bar on the about:home page and the about:newtab page have an autocomplete=off attribute that prevents Firefox from saving form data and now show search suggestions just like you get on the regular Google search page.

  • Hi all, i am missing the output to web and pdf in Bridge , any option to get it in the bridge from adobe creative cloud

    Hi all, i am missing the output to web and pdf in Bridge , any option to get it in the bridge from adobe creative cloud
    @bridge

    Have a look at Install Adobe Output Module

  • TS2972 I cannot seem to get all of my music shared across the network from my MacBook Pro to my iPad. This was not an issue a few days ago. Can anyone help?

    I cannot seem to get all of my music shared across the network from my MacBook Pro to my iPad. This was not an issue a few days ago. I can see all my songs if sorted that way, but if i sort by artist, only a few of them are present. Can anyone help or have any insight?

    Well I didn't think of it before, but I logged out of my apple ID othe iPad's home sharing. The I logged back in and it worked. It's a little weird, but I will take it. Thanks!

  • I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this?

    I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this? I have found GearGrip's LCD harness so that I can do carry-on onto the plane...  Or maybe use a Pelican Case to do it as a "checked bag"? Or any other suggestions??! Please help!
    Thanks so much!!

    I don't recommend you send the iMac in a checked bag. Might get damaged.
    Check the airlines website for carry on guidelines.
    Or, if you have the original box that the iMac came in, if you have someone who can pick up the iMac for you, send it ahead Fed Ex and insure the package.
    Just make sure the display is covered to protect it. A blanket perhaps.
    Aloha ...

Maybe you are looking for

  • CUP - No control of existing user for a new account request

    Hello everybody, I have an issue with CUP tool. When you want to create a new user with a new account request and the user ID that you specified is already used in the backend system (user already exists), there is no control in CUP and the provision

  • How I can report a bug in Lumia phones to Microsof...

    How I can report a bug that is only in Lumia phones to Microsoft developer & technical team? YouTube link http://youtu.be/eIYm7mLd7Jw A big bug in lumia phones on GSM-WLL  Networks. This problem is found only in Nokia(Microsoft) smartphones and only

  • Elements 11 Organizer Window off the top of the screen (OS Mavericks)

    Not sure how this happened, but the top of my Elements 11 Organizer screen is off of the top of my desktop screen (OS Mavericks).  I cannot resize or get to the minimize button to fix.  I am stuck only seeing the bottom of the Organizer Screen.  Does

  • It's renders, then re-renders over and over again...

    Okay, I cut a project and added some effects and it renders. It finishes rendering and I close FCX. The next day I open FCX and open the same project from the day before, and it starts rendering again. Why does it have to re-render everything again?

  • Disk Partition for EHP4/Windows server 2008/SQL server 2008

    Hi All What is the drive partition recommendation for EHP4 ERP6 on Windows  server 2008 and SQL server 2008? I have checked the notes/ SAP Documents  but have not find any information related with SAP recommendation on this. Please help. I need the r