You are here :   Home » Forum » English discussion » Program Freezes
 
Forum - English discussion - Program Freezes

Count of members 163 members
Connected : (nobody)
Snif !!!
 

Forum - Forum
English discussion - English discussion

active  Topic # 150

23/12/2018 03:32
by chacha

chacha



 oStorybook freezes on occasion.I'm using Linux.After it crashed a few times, opened via terminal. It gave me this error after a time:
~$ ostorybook
Java VM version:
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
starting oStorybook ...
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
Load Preferences from /home/daniel/.storybook5/oStorybook.ini
Assistant from bundled file
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/usr/share/ostorybook/lib/dom4j-1.6.1.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding()
WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
*** DockingWindowUtil.loadLoayout(frame0,LastUsedLayout) Exception :/home/daniel/.storybook5/LastUsedLayout.layout
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
    at java.desktop/java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75)
    at java.desktop/java.awt.image.Raster.createPackedRaster(Raster.java:467)
    at java.desktop/java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032)
    at java.desktop/java.awt.GraphicsConfiguration.createCompatibleImage(GraphicsConfiguration.java:150)
    at java.desktop/java.awt.GraphicsConfiguration.createCompatibleImage(GraphicsConfiguration.java:178)
    at java.desktop/sun.awt.image.SunVolatileImage.getBackupImage(SunVolatileImage.java:251)
    at java.desktop/sun.awt.image.VolatileSurfaceManager.getBackupSurface(VolatileSurfaceManager.java:279)
    at java.desktop/sun.awt.image.VolatileSurfaceManager.initialize(VolatileSurfaceManager.java:134)
    at java.desktop/sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:93)
    at java.desktop/sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:103)
    at java.desktop/sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:114)
    at java.desktop/sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:108)
    at java.desktop/sun.awt.X11.XComponentPeer.createVolatileImage(XComponentPeer.java:722)
    at java.desktop/java.awt.Component.createVolatileImage(Component.java:3648)
    at java.desktop/java.awt.Component$BltBufferStrategy.createBackBuffers(Component.java:4398)
    at java.desktop/java.awt.Component$BltBufferStrategy.<init>(Component.java:4341)
    at java.desktop/java.awt.Component$BltSubRegionBufferStrategy.<init>(Component.java:4596)
    at java.desktop/java.awt.Component.createBufferStrategy(Component.java:3903)
    at java.desktop/java.awt.Window.createBufferStrategy(Window.java:3392)
    at java.desktop/javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:803)
    at java.desktop/javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:757)
    at java.desktop/javax.swing.BufferStrategyPaintManager$BufferInfo.getBufferStrategy(BufferStrategyPaintManager.java:699)
    at java.desktop/javax.swing.BufferStrategyPaintManager.prepare(BufferStrategyPaintManager.java:476)
    at java.desktop/javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:232)
    at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1313)
    at java.desktop/javax.swing.JComponent.paint(JComponent.java:1060)
    at java.desktop/java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
    at java.desktop/sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78)
    at java.desktop/sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115)
    at java.desktop/java.awt.Container.paint(Container.java:2000)
    at java.desktop/java.awt.Window.paint(Window.java:3940)
    at
Post an answer Top  

Answer n° 1
--------
23/12/2018 03:33
by chacha

chacha



 Sorry, posts are limited. Here is most of the rest:
java.desktop/java.awt.Component.createBufferStrategy(Component.java:3903)    at java.desktop/java.awt.Window.createBufferStrategy(Window.java:3392)    at java.desktop/javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:803)    at java.desktop/javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:757)    at java.desktop/javax.swing.BufferStrategyPaintManager$BufferInfo.getBufferStrategy(BufferStrategyPaintManager.java:699)    at java.desktop/javax.swing.BufferStrategyPaintManager.prepare(BufferStrategyPaintManager.java:476)    at java.desktop/javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:232)    at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1313)    at java.desktop/javax.swing.JComponent.paint(JComponent.java:1060)    at java.desktop/java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)    at java.desktop/sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78)    at java.desktop/sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115)    at java.desktop/java.awt.Container.paint(Container.java:2000)    at java.desktop/java.awt.Window.paint(Window.java:3940)    at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:868)Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Repeats the last line about 20-40 times.
Post an answer Top  
Answer n° 2
--------
23/12/2018 03:34
by chacha

chacha



Formatting didn't translate well. Eh.
Post an answer Top  
Answer n° 3
--------
23/12/2018 10:23
by favdb

favdb



Hello Daniel,
 You are using version 10 of the OpenJDK, unfortunately until now version 8 is required. So you must install and use version 8. For Ubuntu here is what you have to do: 
Code :
sudo apt install openjdk-8-jdk
sudo update-alternatives --config java
 

The next version 6 of oStorybook will work with version 10 of the JDK.
Post an answer Top  
Answer n° 4
--------
23/12/2018 18:57
by chacha

chacha



 I will do that. Thank you. n
Post an answer Top  
active topic active   closed topic closed   Important! Important!   New New message
Correct Correct message   Close Close topic   Make sticky Make sticky  
Forum Topic  Forum 



You are here :   Home » Forum » English discussion » Program Freezes
 
 
 
Webmaster - Infos
Preferences

Connect again :
Your user name :
Your password