Helpp :( crash :(

Problem Event Name: APPCRASH

Application Name: javaw.exe

Application Version: 6.0.290.11

Application Timestamp: 4e897ca0

Fault Module Name: OpenAL32.dll_unloaded

Fault Module Version: 0.0.0.0

Fault Module Timestamp: 4e894548

Exception Code: c0000005

Exception Offset: 19ecd03f

OS Version: 6.1.7601.2.1.0.768.3

Locale ID: 1033

Additional Information 1: 0a9e

Additional Information 2: 0a9e372d3b4ad19135b953a78882e789

Additional Information 3: 0a9e

Additional Information 4: 0a9e372d3b4ad19135b953a78882e789





any help plz!



everytime i try to run the code, it runs, and as wen i close the window, i get this error, again wen i run, it runs, then again it crashes! :frowning:

its annoying, help please!

Can you post some code? We need information to be able to help

[java]

package GUI;



import com.jme3.app.SimpleApplication;

import com.jme3.niftygui.NiftyJmeDisplay;

import de.lessvoid.nifty.;

import de.lessvoid.nifty.elements.Element;

import de.lessvoid.nifty.screen.Screen;

import de.lessvoid.nifty.screen.ScreenController;

import java.io.
;

import com.jme3.material.Material;

import com.jme3.math.Vector3f;

import com.jme3.scene.Geometry;

import com.jme3.scene.shape.Box;

import java.net.URI;

import java.awt.Desktop;

public class BetaVilleGui extends SimpleApplication implements ScreenController {



private Nifty nifty;



public static void main(String[] args) {

BetaVilleGui app = new BetaVilleGui();

app.setPauseOnLostFocus(false);

app.start();

}



public void simpleInitApp() {

/*

  • Box b = new Box(Vector3f.ZERO, 1, 1, 1); Geometry geom = new
  • Geometry("Box", b); Material mat = new Material(assetManager,
  • "Common/MatDefs/Misc/Unshaded.j3md"); mat.setTexture("ColorMap",
  • assetManager.loadTexture("Interface/Logo/Monkey.jpg"));
  • geom.setMaterial(mat); rootNode.attachChild(geom);

    /

    NiftyJmeDisplay niftyDisplay = new NiftyJmeDisplay(assetManager,

    inputManager, audioRenderer, guiViewPort);

    nifty = niftyDisplay.getNifty();

    nifty.fromXml("interface/test3.xml", "start", this);



    guiViewPort.addProcessor(niftyDisplay);



    // disable the fly cam

    // flyCam.setEnabled(false);

    // flyCam.setDragToRotate(true);

    inputManager.setCursorVisible(true);

    }



    public void bind(Nifty nifty, Screen screen) {

    System.out.println("bind( " + screen.getScreenId() + ")");

    }



    public void onStartScreen() {

    System.out.println("onStartScreen");

    }



    public void onEndScreen() {

    System.out.println("onEndScreen");

    }



    public void surveyUrl() {

    try {

    Process p = Runtime.getRuntime().exec(

    "cmd /c start https://www.surveymonkey.com/s/KGZK8HM");

    } catch (IOException e1) {

    System.out.println(e1);

    }



    }



    public void infoUrl() {

    try {

    Process r = Runtime.getRuntime().exec(

    "cmd /c start http://wiki.betaville.net/doku.php");

    } catch (IOException e1) {

    System.out.println(e1);

    }



    }



    public void bugUrl() {

    try {

    Process r = Runtime

    .getRuntime()

    .exec(

    "cmd /c start http://bugzilla.betaville.net/enter_bug.cgi?product=Betaville");

    } catch (IOException e1) {

    System.out.println(e1);

    }



    }



    public void quit() {

    System.exit(0);

    }



    public void setText(String text) {

    }



    public void addRemoveLayer(String id) {

    Element element = nifty.getCurrentScreen().findElementByName(id);

    if (element.isVisible()) {

    element.setVisible(false);

    } else {

    element.setVisible(true);

    }

    /

  • if (nifty.getCurrentScreen().findElementByName("gui-3").isVisible()) {
  • nifty.getCurrentScreen().findElementByName("gui-3").setVisible(false); }
  • else {
  • nifty.getCurrentScreen().findElementByName("gui-3").setVisible(true); }

    */

    }



    }



    [/java]





    xml file ::

    [xml]

    <?xml version="1.0" encoding="UTF-8"?>

    <nifty>

    <useStyles filename="nifty-default-styles.xml" />

    <useControls filename="nifty-default-controls.xml" />



    <style id="my" base="button-font">

    <attributes font="menu.fnt" color="#f00f" />

    </style>

    <screen id="start" controller="GUI.BetaVilleGui"

    defaultFocusElement="window-1">

    <layer id="gui-1" childLayout="absolute">

    <!-- BACKGROUND IMAGE -->

    <image id="home-img" filename="interface/betaville-home.jpg"

    align="center" valign="bottom" />

    <!-- BACKGROUND IMAGE -->

    <!-- SCROLL PANEL -->

    <!-- <control id="scrollpanel-1" name="scrollPanel"

    horizontal="true" vertical="true" height="225px" width="225px"

    x="300" y="300" visible="false" hideOnClose="false">

    <panel id="myScrollStuff" width="370px"

    childLayout="vertical">

    <control id="testlabel1" name="label"

    text=" hello; this is just a test! " color="#f00f" x="1" y="3" />

    </panel>

    </control> -->

    <!–SCROLL PANEL -->

    <!-- TOP PANEL FOR BUTTONS -->

    <panel id="pane-top-buttons" childLayout="absolute"

    backgroundColor="#00000070" width="100%" height="25px">

    <control id="testbutton7" name="label"

    text="Report Bug!" height="30" width="100" x="675" y="-4" color=""

    backgroundColor="#333333" focusable="false">

    <interact onClick="bugUrl()" />

    <effect>

    <onHover name="pulsate" scaleFactor=".0000009"

    startColor="#99999955" endColor="#99999955" post="true" />

    </effect>

    </control>

    <control id="testbutton8" name="label"

    text="City Panel!" align="right" height="30" width="100" x="560"

    y="-4" backgroundColor="#55555555" focusable="false">

    <interact onClick="addRemoveLayer(window-2)" />

    <effect>

    <onHover name="pulsate" scaleFactor=".0000009"

    startColor="#99999955" endColor="#99999955" post="true" />

    </effect>

    </control>

    </panel>

    <!-- TOP PANEL FOR BUTTONS -->

    <!-- WINDOW FOR SLIDER -->

    <control id="window-3" name="window" title="" width="25px"

    height="154px" x="568px" y="162px" backgroundColor="#99ccff70"

    visible="false" hideOnClose="false">

    <panel id="testtest2" childLayout="absolute">

    <control id="sliderV" name="verticalSlider"

    height="130px" width="30px" x="-88%" y="-5.5%" />

    </panel>

    </control>

    <!-- WINDOW FOR SLIDER -->

    <!-- WINDOW FOR WELCOME SCREEN -->

    <control id="window-1" name="window"

    title="Welcome To BetaVille!" width="350px" height="400px" x="225px"

    y="100px" backgroundColor="#99ccff70" hideOnClose="false">

    <panel id="window-panel " childLayout="absolute">

    <image id="logo" filename="interface/beta-ville.jpg"

    align="center" valign="bottom" x="28%" y="5%">

    </image>



    <control id="testbutton1" name="button"

    label="Please Take Our Survey!" align="center" height="7%"

    width="102%" x="-1%" y="53%" backgroundColor="#55555555"

    focusable="false">

    <interact onClick="surveyUrl()" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    </effect>

    </control>

    <control id="testbutton2" name="button"

    label="Find and Edit Information" align="center" height="7%"

    width="102%" x="-1%" y="61%" backgroundColor="#55555555"

    focusable="false">

    <interact onClick="addRemoveLayer(window-2)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />



    </effect>

    </control>

    <control id="testbutton3" name="button"

    label="Moving Around" align="center" height="7%" width="102%"

    x="-1%" y="69.5%" backgroundColor="#55555555" focusable="false">

    <interact onClick="setText(Hover Me!)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    <onHover name="hint"

    hintText="Forward = w;Backward = s;" hintDelay="500" />

    </effect>



    </control>

    <control id="testbutton4" name="button"

    label="Post a Comment" align="center" height="7%" width="102%"

    x="-1%" y="77.5%" backgroundColor="#55555555" focusable="false">

    <interact onClick="setText(Still Working!)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    </effect>

    </control>

    <control id="testbutton5" name="button"

    label="More Info" align="right" height="7%" width="25%" x="-1%"

    y="94%" backgroundColor="#55555555" focusable="false">

    <interact onClick="infoUrl()" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    </effect>

    </control>

    <control id="testbutton6" name="button" label="Quit"

    align="right" height="7%" width="25%" x="76%" y="94%"

    backgroundColor="#55555555" focusable="false">

    <interact onClick="quit()" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    </effect>

    </control>

    </panel>

    </control>

    <!-- WINDOW FOR WELCOME SCREEN -->

    <!-- WINDOW FOR CITY PANEL -->

    <control id="window-2" name="window" title="City Panel"

    width="200px" height="400px" x="597px" y="50px"

    backgroundColor="#99ccff70" hideOnClose="false" visible="false">

    <panel id="window-panel " childLayout="absolute">

    <control id="testbutton9" name="button"

    label="Volume" align="center" height="7%" width="104%" x="-3px"

    y="82px" backgroundColor="#55555555" focusable="false">

    <interact onClick="addRemoveLayer(window-3)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    </effect>

    </control>

    <control id="testbutton10" name="button"

    label="Scroll Panel" align="center" height="7%" width="104%"

    x="-3px" y="111px" backgroundColor="#55555555"

    focusable="false">

    <interact

    onClick="addRemoveLayer(scrollpanel-1)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />



    </effect>

    </control>

    <control id="testbutton11" name="button"

    label="Take Screenshot" align="center" height="7%" width="104%"

    x="-3px" y="140px" backgroundColor="#55555555"

    focusable="false">

    <interact onClick="setText(Hover Me!)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    </effect>



    </control>

    <control id="testbutton12" name="button"

    label="Move Speed" align="center" height="7%" width="104%"

    x="-3px" y="169px" backgroundColor="#55555555"

    focusable="false">

    <interact onClick="setText(Still Working!)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    </effect>

    </control>

    <control id="testbutton13" name="button"

    label="Tutorials" align="center" height="7%" width="104%" x="-3px"

    y="198px" backgroundColor="#55555555" focusable="false">

    <interact onClick="addRemoveLayer(window-1)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    </effect>

    </control>

    <control id="testbutton14" name="button"

    label="My Location" align="center" height="7%" width="104%"

    x="-3px" y="227px" backgroundColor="#55555555"

    focusable="false">

    <interact onClick="setText(Still Working)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />



    </effect>

    </control>

    <control id="testbutton15" name="button"

    label="Wormhole" align="center" height="7%" width="104%" x="-3px"

    y="256px" backgroundColor="#55555555" focusable="false">

    <interact onClick="setText(Hover Me!)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    </effect>



    </control>

    <control id="testbutton16" name="button"

    label="Edit Building" align="center" height="7%" width="104%"

    x="-3px" y="285px" backgroundColor="#55555555"

    focusable="false">

    <interact onClick="setText(Still Working!)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    </effect>

    </control>

    <control id="testbutton17" name="button"

    label="Performance" align="center" height="7%" width="104%"

    x="-3px" y="314px" backgroundColor="#55555555"

    focusable="false">

    <interact onClick="setText(Hover Me!)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    </effect>



    </control>

    <control id="testbutton18" name="button"

    label="Toggle Shadows" align="center" height="7%" width="104%"

    x="-3px" y="343px" backgroundColor="#55555555"

    focusable="false">

    <interact onClick="setText(Still Working!)" />

    <effect>

    <onHover name="pulsate"

    scaleFactor=".0000009" startColor="#99999955"

    endColor="#99999955" post="true" />

    </effect>

    </control>

    </panel>

    </control>

    <!-- WINDOW FOR CITY PANEL -->



    </layer>

    </screen>

    </nifty>

    [/xml]

This is a known issue with lwjgl on 64bit windows, we are waiting for the next lwjgl release to fix this.

so normen, what am i suppose to do? :frowning:



i was using this on 64 bit only before, but never had that issue,

got ma windows reinstalled and now have this stupid issue!

its kind off buggin!

any luck until fixed?

Use a 32 bit JVM!

…lemme try this way: u outta luck bro, looks like u gonna have 2 chill 'til lwjgl niggaz put out da new releaze

2 Likes

ok, cool!

ill try with 32 bit, thx skye



ok normen, :wink:

i get it!



thx for releaving the tension of my head! i was under impression that i messed somethin up by tryin to fix my code around!

woow, thanks!