products forums blog support careers about
  History | Log In     View a printable version of the current page.  
PRO USERS, to ensure 'PRIORITY SUPPORT' make sure that your ASAP account is "tagged" when you file the request. Click here for instructions on how to tag your account.
Issue Details (XML | Word | Printable)

Key: STU-1899
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Average Average
Assignee: Bill Lazar
Reporter: Greg Oleksiak
Votes: 2
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Aptana Studio

crash when opening css file

Created: 10/Jun/08 12:03 PM   Updated: 17/Apr/09 04:50 PM
Component/s: Editor: CSS
Affects Version/s: Aptana Studio 1.1.6
Fix Version/s: Aptana Studio 1.2

Impact on Workflow: Major
Studio Install Type: Standalone
Operating System: Fedora
Participants: Bill Lazar, Bryan Kearney, Florian Hines, Giovanni Leggio, Greg Oleksiak, Manoj Chavan and Paul Colton


 Description  « Hide
When opening a .css file, the app crashes. Does so in RadRails and Aptana workspaces. Error:

JVM terminated. Exit code=127
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java
-Xmx384M
-Xms128M
-Djava.awt.headless=true
-jar /home/goleksiak/Software/aptana/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /home/goleksiak/Software/aptana/AptanaStudio
-name Aptana
-showsplash 600
-exitdata 288010 Studio
-vm /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java
-vmargs
-Xmx384M
-Xms128M
-Djava.awt.headless=true
-jar /home/goleksiak/Software/aptana/startup.jar

Thanks,
Greg Oleksiak



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Greg Oleksiak - 10/Jun/08 02:52 PM
I tried switching to Sun's JVM, but the same problem occurs.

Manoj Chavan - 12/Jun/08 02:32 PM - edited
If you can get us the JVM logs. Instructions on how to get these logs are here http://www.aptana.com/docs/index.php/Reporting_an_error_or_crash_in_Aptana

Bryan Kearney - 22/Jul/08 04:46 PM
I get the same issue. Here is the output:

[bkearney@localhost aptana]$ ./AptanaStudio -XX:ErrorFile=/var/log/java/java_error%p.log
2008-07-22 15:42:20.246::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2008-07-22 15:42:20.318::INFO: jetty-6.1.4
2008-07-22 15:42:20.371::INFO: Started SocketConnector@127.0.0.1:8000
/usr/java/jdk1.6.0_10/bin/java: symbol lookup error: /home/bkearney/aptana/configuration/org.eclipse.osgi/bundles/48/1/.cp/libswt-mozilla-gtk-3236.so: undefined symbol: _ZN4nsID5ParseEPKc
[bkearney@localhost aptana]$ java --version
Unrecognized option: --version
Could not create the Java virtual machine.
[bkearney@localhost aptana]$ java -version
java version "1.6.0_10-beta"
Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b25)
Java HotSpot(TM) Server VM (build 11.0-b12, mixed mode)
[bkearney@localhost aptana]$


Bryan Kearney - 22/Jul/08 04:47 PM
Sorry.. aptana version is
!define VERSION 1.0.0
!define BUILD 009905

Bryan Kearney - 23/Jul/08 10:11 AM
Is this a dupe of STU-2024?

Giovanni Leggio - 23/Jul/08 10:18 AM
I have the same error, it craches only when opening css file. All others operations work fine

Florian Hines - 28/Jul/08 03:46 PM
I and most of my co-workers are also experiencing this issue. Aptana crashes whenever I attempt to do anything with a CSS file (create, open, rename, etc). The same thing actually also happens if I click the little envelope icon for the message center.

Error:
JVM terminated. Exit code=127
/usr/bin/java
-Xmx384M
-Xms128M
-Djava.awt.headless=true
-jar /home/syn/software/aptana/./startup.jar
-os linux
-ws gtk
-arch x86
-launcher /home/syn/software/aptana/./AptanaStudio
-name Aptana
-showsplash 600
-exitdata 27000c Studio
-vm /usr/bin/java
-vmargs
-Xmx384M
-Xms128M
-Djava.awt.headless=true
-jar /home/syn/software/aptana/./startup.jar

[syn@localhost aptana]$ ./AptanaStudio -vm /usr/java/jdk1.6.0_03/jre/bin/java
2008-07-28 14:41:27.178::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2008-07-28 14:41:27.237::INFO: jetty-6.1.4
2008-07-28 14:41:27.358::INFO: Started SocketConnector@127.0.0.1:8001
/usr/java/jdk1.6.0_03/jre/bin/java: symbol lookup error: /home/syn/software/aptana/configuration/org.eclipse.osgi/bundles/99/1/.cp/libswt-mozilla-gtk-3236.so: undefined symbol: _ZN4nsID5ParseEPKc


Paul Colton - 28/Jul/08 03:58 PM
This seems to be caused by an incompatible version of Firefox installed on your system. The easiest way to get the right version installed with the proper dependencies is to install Eclipse for your system and then plug Aptana Studio into it as an Eclipse plugin.

You should get Eclipse via 'apt-get' or 'yum' so dependencies are all retrieved as well.

We're working towards getting a Studio RPM built so it will download these dependent files for you.


Florian Hines - 29/Jul/08 01:02 PM
I'm just using the stock Firefox that comes with Fedora Core 9:

[syn@localhost ~]$ rpm -qa | grep firefox
firefox-3.0.1-1.fc9.i386

I'm guessing the problem is that its firefox 3 or xulrunner both of which people have blamed, the last time I remember it working for sure was in FC8 with FF2.0.x. Either way, I used the fix a bunch of people in the Eclipse forum have used

Just grabbed an older copy and pointed MOZILLA_FIVE_HOME to it.

http://www.eclipse.org/newsportal/article.php?id=31413&group=eclipse.platform.rcp

Didn't install the Eclipse plugin because I got some weird conflict error's from eclipse and the pydev plugin when I attempted to install the plugin, and this was a quicker fix for now.

Thanks!
Florian


Bill Lazar - 14/Aug/08 08:27 PM
We will add instructions on the Linux install page with install command for Aptana-appropriate version of Firefox