Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netbeans crashes every time after clicking "preview" #85

Open
dunkirk16 opened this issue Jun 11, 2015 · 14 comments
Open

Netbeans crashes every time after clicking "preview" #85

dunkirk16 opened this issue Jun 11, 2015 · 14 comments
Labels

Comments

@dunkirk16
Copy link

Even with an empty md file.
Product Version: NetBeans IDE 8.0.2 (Build 201411181905)

@madflow
Copy link
Owner

madflow commented Jun 12, 2015

I cannot reproduce this. My System is pretty similar to the info above. Lets see of anyone else also has this experience :S

@dunkirk16
Copy link
Author

This is a newly installed system (ubuntu 15.04 64-bit).
I installed java 8 via ppa repository this time (not sure if this is the problem).
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer
$ sudo apt-get install oracle-java8-set-default

@eugenevd
Copy link

I have the same problem. Ubuntu 15.04 64bit with java 8 from webupd8 (1.8.0_45)

@madflow
Copy link
Owner

madflow commented Jun 14, 2015

I also have Ubuntu 15.04 64bit with java 8 from webupd.

java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

I purged the java installation and re-installed it, deleted my local .netbeans directory and tried again - no avail. I still cannot reproduce this. I will keep looking.

@madflow
Copy link
Owner

madflow commented Jun 14, 2015

Since I assume you downloaded the plugin from the Update Center, could you try installing the previous version https://github.com/madflow/flow-netbeans-markdown/releases/download/2.1/flow-netbeans-markdown.nbm and check if the preview also crashes?

Edit Also: Please try to disable JavaFX Preview (Options->Miscellaneous->Markdown->Miscellaneous) and try again. Thanks.

@madflow
Copy link
Owner

madflow commented Jun 14, 2015

I was able to reproduce this with a fresh virtual machine with Ubuntu 15.04. The error is related to to the "JavaFX Preview". An intermediate fix for all having this problem is disabling JavaFX Preview (Options->Miscellaneous->Markdown->Miscellaneous).

@madflow
Copy link
Owner

madflow commented Jun 14, 2015

This error seems not be related to this plugin (how it is programmed). The only difference between my test VM noted above and my main OS is that I use Gnome3 on my host computer and not Unity. When I installed XFCE on the test VM with Ubuntu 15.04 and used the XFCE login the error went away. I got the idea from this post: http://stackoverflow.com/questions/29519242/ubuntu-javafx-a-fatal-error-has-been-detected-by-the-java-runtime-environment

=> I will leave this open - maybe there is a way to change this. For the time being I will document this as a known issue. Unity Users cannot enjoy the Javafx Preview though :|

@eugenevd
Copy link

Disabling JavaFX preview at least prevents Netbeans from crashing abruptly. Thanks

@dunkirk16
Copy link
Author

Yes, disabling JavaFX preview works. Thanks.

@Mondane
Copy link

Mondane commented Oct 5, 2017

Still occurs on Ubuntu 16.04

@Chris2011
Copy link

Maybe a problem with the JDK version, it seems very old. Try to use a newer one.

@madflow
Copy link
Owner

madflow commented Oct 5, 2017

@Mondane Please post your Netbeans and JDK version. Also ... Are you using Unity? Any other Desktop Environment? I have Ubuntu 16.04 at work and I can use the JavaFx preview.

@Mondane
Copy link

Mondane commented Oct 9, 2017

@madflow that would be Unity with:

Product Version: NetBeans IDE 8.2 (Build 201609300101)
Updates: Updates available to version NetBeans 8.2 Patch 2
Java: 1.8.0_101; Java HotSpot(TM) 64-Bit Server VM 25.101-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_101-b13
System: Linux version 4.4.0-96-generic running on amd64; UTF-8; nl_NL (nb)

After disabling 'JavaFX', the preview works on my system.

@Chris2011
Copy link

Try to update to a newer JDK 8 version. we are at 180_144 I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants