Datastax DevCenter freezes on startup - datastax

Just installed (copied over the app from the downloaded dmg) DevCenter 1.6 on my mac, running macOs Sierra 10.12.6 with jdk 8u152 installed. The application loads a UI (splash screen then a couple of checkboxes in a window for getting started) but the UI is frozen (with the splash screen still there). No response to mouse clicks or keyboard. Also can't click on the app name in the menu bar. The app however is not labeled "Not responding" by activity monitor.
So far I've tried -
Looking at the logs both in the app folder and in ~/.devcenter. Nothing fishy there
Running the app from a different user account - same issue there
Deleting all datastax and devcenter related files (searched by name) on my machine and fresh start - still the same issue
any ideas what I could do here?
I was running DevCenter on a previous mac with the same config / os version but a slightly older JDK, never had issues then.

On OSX, you can specify which version of Java DevCenter uses so that you do not need to downgrade your global Java version.
Right-click on Devcenter.app
Click "show package contents"
Open Contents/info.plist
At the bottom of the file, there's an Eclipse key with lines commented out explaining how to specify the version of Java. Uncomment the line and specify the version of Java that you want DevCenter to use.
Save & Re-launch DevCenter
The updated info.plist file should look something like this:
<key>Eclipse</key>
<array>
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java</string>
</array>

I reached out to someone at Datastax and learnt that complaints have surfaced about this behavior when using DevCenter with jdk 8u152.
For now, I've downgraded to jdk 8u151 and that fixes the issue.

Without downgrade the Java version
Scenario
I couldn't create any connection and press buttons and everything was frozen; Changing the swt plugin in the DevCenter plugin folder worked. This was my configuration:
DevCenter version DevCenter-1.6.0-macosx-x86_64
Mac OSX version 10.14.6
JDK Version jdk1.8.0_231.jdk
Steps to fix it
From here download the version 3.108.0. (This version works for me)
Rename the file downloaded as swt.jar (short name)
[Optionally] create a backup of the current swt plugin jar of the DevCenter
cp DevCenter/DevCenter.app/plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.103.2.v20150203-1351.jar ~/Desktop
Replace the plugin with the swt.jar downloaded
mv swt.jar DevCenter/DevCenter.app/plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.103.2.v20150203-1351.jar
Startup DevCenter
Finally it worked

Related

IntelliJ stucks at loading page

IntelliJ stuck at loading page. It cannot open. What should I do?
My default java version is JDK 10. I downloaded JDK 9 and changed to jdk9. Then when i open Intellij, it stuck at loading page. I am using MAC Pro. I have reinstalled the app but it still does not work. help
you should check the log file. It's located in:
~/Library/Logs/IdeaIC<VERSION>
note: you must replace <VERSION> with your version number.

Netbeans not opening New Project Dialog

After installation, Netbeans open fine, Open Exiting Project, Or Existing File works. However Netbeans doesn't show New Project or New File Dialog, whether selecting it from menu or from the toolbar. Netbeans version is 8.2, Ubuntu version is 16.04. It is a fresh install, and Oracle jdk-9 installed.
update-alternatives point to oracle-java.
Uninstalled and Reinstalled Netbeans, without any success.
Any suggestions.
Had the same problem with JDK 9, switched back to JDK 8
Change netbeans.conf file and adjust JDK.
Netbeans 8.2 seems to have some problem with JDK11 as well. Do not know whether it has been fixed, since even after dowloading JDK11 the problem persists.
Without deleting the newer ones you can set the path to the previous versions i.e. JDK8 and it works.
Open the following file
/Applications/NetBeans/NetBeans 8.2.app/Contents/Resources/NetBeans/etc/netbeans.conf
Look for #netbeans_jdkhome=
set the path to the older version of java:
netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home"
and restart the netbeans.
Funny thing but i changed the jvm in update-alternative to open-jdk jvm and it starts working.
I closed netbeans 8.2, commented out the reference to the JDK home in the netbeans.conf file, in the root of the netbeans 8.2 folder
# netbeans_jdkhome="C:\Program Files\Java\jdk-9.0.4"
When I restarted the navigation pane that were previously missing appeared as they should.
What worked for me was:
In Program Files, go to Java
For me, my computer has already downloaded the latest JDK. Check to see if there are JDKs in your folder
Delete the duplicate/latest JDK's
For me, this problem started after a Mac OS upgrade to 10.15.4.
None of the solutions worked.
I uninstalled NetBeans and reinstalled it, and it worked.

GitHub asks me to "add a new helper tool" every time I open it

Every time I open GitHub for Mac it asks me to "add a new helper tool" and prompts me for my password. Every time I enter my password (I am an admin on this computer) but I see no noticeable changes afterwards and the prompt comes back every time I reopen GitHub. (See attached photo for the prompt window.)
I am running OSX Yosemite Version 10.10 on a Late 2012 Mac Mini (2.5 GHz Intel Core i5).
Unsure if this is related but I am running GitHub version "Reactive Barbecue (186)". According to the GitHub for Mac release notes this is NOT the newest version, but when I select "Check for updates" it says I have the latest version. Would a fresh install of GitHub solve this? This is more of a nuisance and doesn't noticeably impede my work.
I use GitHub daily for XCode pushes with my coworkers. They all use MacBook Airs and OSX Yosemite but do not have the same issue as me.
I was also having this problem.
Cause? Maybe GitHub.app was confused by multiple git installations: XCode's Command Line Tools and Homebrew's copy (a newer version and includes bash completion).
Running the shell command git credential-osxkeychain returned a "usage" line, so a helper was installed despite that message.
Fix: Downloading and running GitHub Desktop successfully installed its helper. I think GitHub Desktop.app is the new name for GitHub.app, so apparently they fixed the bug by now.
BTW: They wrote "If you're using GitHub for Mac or Windows, the upgrade is automatic.", but their automatic upgrade didn't fix this problem nor switch to "GitHub Desktop.app".
The only solution I found so far was to delete the GitHub for Mac application. Then I re-downloaded the app (the most recent version 193 "Big Feels").
It then gave me a popup saying I needed to uninstall the old version since OSX now comes with Git commands by default (or something like that?). Clicking "Uninstall now" made the app crash so I had to select "Uninstall later". This is sort of only a fix for the symptom since GitHub could keep telling me to uninstall every time I open it, but at least it says I have the most recent version now.
Use AppCleaner and nuke it. Reinstall.

OneUI app layout, error with pulldown menus

I am using the applayout and OneUI 3.0.2 theme. I have pulldown menus in the banner (application and utility links) but the menu won't show up. Instead I get this JS error:
Uncaught lang.hitch: scope["_onKeyPress"] is null (scope="[Widget extlib.dijit.OneUIv302Menu, extlib_dijit_OneUIv302Menu_2]")
I have a Windows 9.0.1FP1 where these do work. On a 9.0.1FP1 Linux / 9.0.1FP2 Windows it doesn't work. The Linux machine had FP2 installed before I just downgraded it to FP1 (it was a test to see if this is the cause). But I noticed before that even after downgrading some files are still available - so a next test should be installing the machine completely from the scratch.
Double checked it this morning: another 9.0.1FP1 Win machine - everything working fine.
I also checked out that this only a OneUIv3.0.2 problem.
Do you know this issue?
A fix for this issue has been included in the latest XPages Extension Library (901v00_10.20141105-0922) on OpenNTF.
However, another issue was found in the dropdown mneu once it does appear successfully. Unfortunately a fix was not found for this secondary issue in time for the above ExtLib release. It has been logged as SPR# BGLN9PXG53.

Netbeans 7.1.2 and 6.7.1, SoapUI both stopped working on OS X Mavericks

Installed the OS X Mavericks last night and Netbeans and SoapUI both doesnt work anymore. Has anyone found a solution for this?
Updating Java JRE fixed Netbeans, other products that are still having issues:
1) SoapUI
2) Apache Directory Studio
3) PyCharm
I had the same problem. Try to install the newest Java JRE. It worked for me
Downloading NetBeans 7.4 worked for me
Updating Java JRE and downloading NetBeans 7.4 didn’t work for me.
Installation issue : Neatbean 7.4 was unable to install and previous version (7.2 on my computer) was unable to launch.
When i tried to launch Photoshop 5.1, i had a message saying Java SE 6 was missing. Mavericks asked to download it. After installing automatically, Photoshop and Netbeans install was ok.
Also, you can try this link if you can't download automatically :
http://support.apple.com/kb/DL1573