This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 247089 - IDE Hangs with custom JavaFX Control
Summary: IDE Hangs with custom JavaFX Control
Status: NEW
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2014-09-13 07:31 UTC by KonradZuse
Modified: 2014-09-22 09:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

.npss file attached from NetBeans (202.69 KB, application/x-npss)
2014-09-13 07:33 UTC, KonradZuse

Note You need to log in before you can comment on or make changes to this bug.
Description KonradZuse 2014-09-13 07:31:44 UTC
Hello all,

I was creating custom controls and ran into a point where it would hang for several minutes.  I was having some errors getting from a normal fxml document to making sure it's a root for a custom control, and now it just hangs.

I will attach a dump through the IDE, this is the first time I've done a report, so I hope this dump works out.

Should I post my code or anything else, or is the dump good enough?
Comment 1 KonradZuse 2014-09-13 07:33:30 UTC
Created attachment 149188 [details]
.npss file attached from NetBeans

.npss file
Comment 2 KonradZuse 2014-09-13 21:31:21 UTC
Since this was done late, I forgot to add exactly where it hangs.

ant -f C:\\Users\\Konrad\\Documents\\NetBeansProjects\\Uploader -Djavac.includes=uploader/ -Drun.class=uploader.Uploader run-single
Deleting: C:\Users\Konrad\Documents\NetBeansProjects\Uploader\build\
Updating property file: C:\Users\Konrad\Documents\NetBeansProjects\Uploader\build\
Compiling 1 source file to C:\Users\Konrad\Documents\NetBeansProjects\Uploader\build\classes


 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.

package uploader;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;

 * @author Konrad
public class Uploader extends Application
      //  LoginControl login = new LoginControl();

            Scene scene;

    public void start(Stage stage) throws Exception
stage.setScene(new Scene(new LoginControl());
stage.setTitle("Custom Control");

     * @param args the command line arguments
    public static void main(String[] args)

EDIT:  So I decided to try and move my classes all into my other package and try to dissect it.

I was not getting anywhere because I forgot that apparently netbeans likes to run the last built dist and I have to keep rebuilding in order to check changes.  I'll have to look into why it's not looking at my build folder anymore....

Anyways for some reason after getting it back to a regular test it worked, and now for some reason it's working all together, no more hang...

Hopefully it stays this way, but I figured I would make a mention.

TBH I am also developing a web app, and sometimes it hangs when trying to browse localhost, which actually happened when I tried to test to see if that also would hang (since I forgot to rebuild my project as mentioned above).  Other projects did work, but the web app did hang.

Oh wells, hopefully the profile I attached helps with something.

Thanks all.