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 133085 - [Preview] StackOverflowError and IDE hanging after StudioMoto opening in the Preview
Summary: [Preview] StackOverflowError and IDE hanging after StudioMoto opening in the ...
Status: VERIFIED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Oleg Barbashov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 10:53 UTC by Alexandr Scherbatiy
Modified: 2011-10-19 12:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (472.88 KB, text/plain)
2008-04-17 10:53 UTC, Alexandr Scherbatiy
Details
IDE Thread Dump (16.42 KB, text/plain)
2008-04-17 10:54 UTC, Alexandr Scherbatiy
Details
Tesla IDE log file (96.02 KB, text/plain)
2008-04-17 11:10 UTC, Alexandr Scherbatiy
Details
Tesla IDE Thread Dump (14.76 KB, text/plain)
2008-04-17 11:10 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2008-04-17 10:53:31 UTC
Steps to reproduce:
- Create a JavaFX Script application
- Copy sources from openjfx-compiler\demos\StudioMoto project
  to the new created project
- Open studiomoto.StudioMoto fx file

- Comment 'frame' and 'canvas' varibales
  and remove these variables from Frame{} declaration
 
- Build the project
- Enable a Preview
- Wait a minute
 IDE hangs
 There is a StackOverflowError error in the IDE log file

java.lang.StackOverflowError
	at javax.swing.SwingUtilities.getAncestorOfClass(SwingUtilities.java:219)
	at com.sun.scenario.scenegraph.SGComponentRepaintManager.addDirtyRegion(SGComponentRepaintManager.java:59)
	at com.sun.scenario.scenegraph.SGComponentRepaintManager.addDirtyRegion(SGComponentRepaintManager.java:66)
	at com.sun.scenario.scenegraph.SGComponentRepaintManager.addDirtyRegion(SGComponentRepaintManager.java:66)
Comment 1 Alexandr Scherbatiy 2008-04-17 10:53:55 UTC
Created attachment 60327 [details]
IDE log file
Comment 2 Alexandr Scherbatiy 2008-04-17 10:54:17 UTC
Created attachment 60328 [details]
IDE Thread Dump
Comment 3 Alexandr Scherbatiy 2008-04-17 11:09:12 UTC
The same is for Tesla demo

java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.netbeans.modules.javafx.preview.CodeManager.run(CodeManager.java:196)
	at org.netbeans.modules.javafx.preview.CodeManager.run(CodeManager.java:185)
	at org.netbeans.modules.javafx.preview.CodeManager.execute(CodeManager.java:109)
	at org.netbeans.modules.javafx.preview.PreviewThread$R.run(PreviewThread.java:137)
	at org.openide.util.Task.run(Task.java:249)
	at org.netbeans.modules.javafx.preview.PreviewThread$EE$ET.run(PreviewThread.java:123)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Caused by: java.lang.StackOverflowError
	at com.sun.scenario.scenegraph.SGComponentRepaintManager.addDirtyRegion(SGComponentRepaintManager.java:59)
	at com.sun.scenario.scenegraph.SGComponentRepaintManager.addDirtyRegion(SGComponentRepaintManager.java:66)
	at com.sun.scenario.scenegraph.SGComponentRepaintManager.addDirtyRegion(SGComponentRepaintManager.java:66)
Comment 4 Alexandr Scherbatiy 2008-04-17 11:10:04 UTC
Created attachment 60330 [details]
Tesla IDE log file
Comment 5 Alexandr Scherbatiy 2008-04-17 11:10:26 UTC
Created attachment 60331 [details]
Tesla IDE Thread Dump
Comment 6 Alexei Mokeev 2008-04-17 11:30:15 UTC
Could try to reproduce that outside of an IDE ?

From stacktrace it looks like scenegraph issue.

-Alexei.
Comment 7 Oleg Barbashov 2008-04-21 12:06:31 UTC
It's runtime issue.
Comment 8 Alexandr Scherbatiy 2008-04-24 12:02:19 UTC
verified
Comment 9 David Strupl 2011-10-19 12:02:42 UTC
Cleaning bugzilla categories ....