Flash Builder 4.7 crashes only when Wifi is off (OS X 10.9.2) - eclipse

I'm subscribing to Adobe CC just for FB and Flash Pro. This bug seems undocumented but is hugely annoying. It has not always been this way - it developed over time, and for awhile if I toggled wifi and restarted it would work again. It is definitely not a workspace corruption; I've reinstalled FB, I've tried different workspaces. What happens is that when wifi is on, or as long as the computer is allocated an external IP, Flash Builder 4.7 works. If wifi is off, or if it fails to find a network, FB crashes before it tries to load the workspace.
Interestingly, if I create a wifi network, assigning my own box a 192.168.. address, FB launches. But if I turn off wifi while FB is open, it throws an error when I try to save files, and throws another error when I quit, saying it can't save the workspace. It's beyond me why, but FB is obviously failing read/write in the absence of a non-local IP being allocated to the box.
This happens even with a clean install and no projects or dependencies.
Has anyone encountered this one? FWIW, I'm also running Eclipse Helios and Kepler, as well as Flash Builder 4 on the same box for maintaining older code - plus Flash Pro and the rest of the CC without any problems. What is up with FB 4.7 ?! I wish Adobe had just put out a damn Eclipse plugin instead of this pile of **** I'm paying $50 a month for. To be an IDE that fails whenever I can't get online.
I can't upgrade OS X on this box, but I doubt it would make a difference, since this is a Java error of some kind and FB hasn't been updated since 2013 or so anyway. It used to work. Unless I got infected with a worm that's trying to upload things I write, I don't see a reason it stopped unless some perms or base code got corrupted. Any insight would be welcome.

This turns out to be a problem with localhost domain resolution on OS X. A workaround can be found here:
InetAddress.getLocalHost() resolution on OSX Lion when offline

Related

Xcode Issue: Library not loaded: #rpath/libswiftAppKit.dylib

I've finished working on a Cocoa (not iOS) application with Swift 3. I've tested it on a desktop computer. It works fine. I've tested it on another desktop computer. It works fine. I have even managed to send it over to iTunes Connect. But I have not submitted it because the same application fails to run on a MacBook Pro (2013). Anyway, I've tested it on a MacBook Pro with a retina display. That's when the entire problem started happening. Actually, this desktop application ran on the same MacBook Pro a few days ago. I think it was not sandboxed yet. Now, every time I send a binary copy that runs on different iMac models to MacBook Pro through AirDrop and try to run the application, I get an error that says EXC_CRASH (Code Signature Invalid). So I've deleted some files inside Developer /Xcode / DerviedData. Now, I cannot even debug the application. When I debug it, it hangs up with a fatal error message, which I have never seen before.
Now, if I double-click on an application that Xcode has generated, I get a crash report that says Library not loaded: #rpath/libswiftAppKit.dylib. I thought that I might have deleted some system files by accident. But if I debug existing macOS and iOS apps, I have no problem running them. Fortunately, the entire problem occurs on this particular Xcode project.
One topic that I've found here suggest that we set the Always Embed Swift Standard Libraries option to Yes. I've done that with no vail. I have also read a suggestion that says something about setting the When using this certification option on a developer certificate to Use System Defaults, which doesn't help. Another suggestion that I've tried is clearning cache (Command + Shift + Option + K).
If you have any suggestions, please let me know. Thanks.
More information
I have also seen a bizarre alert message repeatedly on MacBook Pro that says "%#" cannot be found. This error message poped up when I double-clicked on the application icon. It may refer to
String(format: NSLocalizedString("whatever", comment: ""), variable name)
I have solved the problem! I had the same problem with you. But from the answer in https://www.reddit.com/r/swift/comments/4nac9s/using_swift_frameworks_with_command_line/, I have known that the key is the rpath.
So I try to add this path to the project in the following two settings:
${DT_TOOLCHAIN_DIR}/usr/lib/swift/macosx/
Runpath Search Paths
Library Search Paths
I don't know why need to add both the two settings, but it works!

gwt developer console running outofmemory right away

been using the gwt plugin in eclipse for about a year, has worked pretty fine.
However, i recently upgraded to OSX lion, and i also upgraded intellij to latest version.
Now, i have a standard gwt project. I have historically been able to start it with the devconsole, change stuff and reload page in firefox. (using firefox5 currently)
But now, i can only start it, but as soon as i reload page, devconsole crashed. Yesterday it just hung, this morning i upgraded to GWT2.4 and now i just get permgen space outofmemory on first reload. I have the memory settings set to 1024m!
If someone could give me pointers it would me much appreciated...
I experienced that same issue after upgrading to Lion. I believe it has something to do with the memory management of OSX, not Eclipse or GWT. It was a source of huge inconvenience to me, and the benefits of the Lion upgrade weren't enough to justify dealing with an impaired capacity for development, so I rolled back to Snow Leopard. That resolved the problem.
I've since tried (unsuccessfully) going back to Lion and using different browser combinations, including Safari and Chrome, but Firefox still seems to be the best choice if you're using Lion- Chrome is exceptionally slow with GWT (oddly), and Webkit in general seems to not support some of the features GWT offers, so Safari's out.
I say go back to Snow Leopard, unless there's something preventing you from doing so. Good luck, and please keep us updated if you figure out a workaround.
Answering my own question since i've found well, not an answer but a workaround.
In intellij, i changed the agent (only using one in development to speed things up) from gecko1_8 to safari, and used chrome.
As i mentioned, the console crashed in firefox on every reload, in Chrome i'm at 30 page reloads/recompiles and not a single console crash!
It also recompiles faster than in FF.
Have no idea why it works so crappy in FF though...
You can fix it - just add -XX:MaxPermSize=384m for jvm.

Eclipse not detecting HTC desire as device

I've been developing an Android app on Ubuntu 10.10 with Eclipse (using HTC Desire) for the past few months without any major problems. Today however, I was testing some stuff and for some reason Logcat wasn't outputting certain messages (timing logs to measure performance). So I foolishly thought there might be something wrong with the adb connection. I went into the phone settings and unticked USB debugging and then re-ticked it. Now Eclipse will refuse to detect the device.
I have the proper udev rules set up, and I've tried restarting both the phone and computer to no avail. Changing USB ports doesn't help. Like I said, this was working fine for the last few months and now all of a sudden because I reapplied a setting, it went kaput.
Fixed it. Had to do a factory reset on the phone. No biggie but annoying nonetheless.

iPhone Project Not Running (more than once)

I have an iPhone app that I'm trying to run on my phone via Xcode.
It installs and runs without an issue
I make a change in the source code (negligible, like an NSLog())
It installs without an issue
Running causes the error:
Error Starting Executable 'myApp'
Don't know how to run. Try "help target".
I uninstall the app, and reboot the phone
It installs and runs without an issue (until I make another change; then I have to repeat this dance)
Needless to say, having to uninstall the app, reboot the phone, and reinitialize the environment (i.e. set prefs) takes an unreasonable amount of time, and is probably indicative of a serious problem. The issue is, the only vague error message I receive gets me nowhere on Google. Where on earth could this issue be coming from?
With some help from #iphonedev, I figured it out. Turns out it's a glitch in iOS 5 beta. The way to fix it is to remove the device from Development Devices, then re-add it.
Yeah just restarting the iPhone with the lock and home buttons fixes this. Had it happen a few times to me

Registering Mobilink with Mobile Device Center on Vista has errors

I have a bat file that I am using to try and register Mobilink with the Mobile Device Center on Vista. (I am using version 11 of Mobilink)
Script:
mlasinst -k ./ -v ./
I have copied mlasinst as well as mlasdev.dll and mlasdesk.dll to the same folder and am running the above command to get the sychronization process to run.(I have tested the above script on Windows XP and it works). When I try to copy the same files to a Windows Vista machine, I run the script and restart the computer. I then follow the directions from Sybase's website namely I
"From the Windows Mobile Device Center window, click Mobile Device Settings and then click Change Content Settings.
Select MobiLink Clients and click Save to activate the provider.
To see a list of registered applications, click Change Content Settings, click MobiLink Clients, and then click Sync Settings. "
Everything works on Vista except for when I click on "Sync Settings" when I click on it I get an error saying that there are no settings to administer.
My question is how do you get Mobilink to work with Vista and its Mobile Device Center? I have read all of the documentation I can find but to no avail.
Juen 23rd Comment
For those following at home, as a result of this post, our QA Department was able to reproduce this problem with the Windows Mobile Device Center on Vista when using a Windows Mobile 6 device, and we're looking into it. Everything seems to work fine with a Windows Mobile 5 device, which we used for our initial testing.
June 19th Comment
I really wanted to leave a comment, since this isn't really an answer, but my repuation wasn't high enough to do so. Oh well, I'll post a poor answer and watch my reputation go down. It's the price I'm willing to pay. :)
Our QA group tests mlasinst with Windows Mobile Device Center, but you're obviously doing something different, or more likely your machine setup is slightly different. To get to the bottom of this, we'd likely need to look into what registry settings are changed as a result of mlasinst running, but before I spend too much time figuring out what's going on here (including figuring out what the proper questions to ask are), I should point out that I would recommend synchronizing using TCPIP or HTTP instead of using ActiveSync, if only to simplify the instalation process and to cut out an additional layer or communication between the ML Client and Server. I also see from a post that you made at news://forums.sybase.com/sybase.public.sqlanywhere.mobilink that you've been playing with synchronization using the .NET version of the dbmlsync API and synchronizing using TCPIP. I did respond to your posting on the newsgroup to explain what I believe is happening in your application.
Are you still interested in figuring out the issues with ActiveSync and WMDC, or are you happy with the solution you've implemented using the dbmlsync API and using TCPIP?