Errors with CustomDialog.java

I've downloaded CustomDialog.java and it compiled without any errors. When I attempt to run the program, I receive the following error:
----jGRASP exec: java CustomDialog
java.lang.NoSuchMethodError: main
Exception in thread "main"
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete.
What could I be doing wrong? I had no problems whatsoever compiling / running the DialogDemo.java file.

Would it compile correctly if there was a main() method problem?
source file can be found here: http://java.sun.com/docs/books/tutorial/uiswing/components/example-swing/CustomDialog.java
and here:
import javax.swing.JOptionPane;
import javax.swing.JDialog;
import javax.swing.JTextField;
import java.beans.*; //property change stuff
import java.awt.*;
import java.awt.event.*;
/* 1.4 example used by DialogDemo.java. */
class CustomDialog extends JDialog
implements ActionListener,
PropertyChangeListener {
private String typedText = null;
private JTextField textField;
private DialogDemo dd;
private String magicWord;
private JOptionPane optionPane;
private String btnString1 = "Enter";
private String btnString2 = "Cancel";
* Returns null if the typed string was invalid;
* otherwise, returns the string as the user entered it.
public String getValidatedText() {
return typedText;
/** Creates the reusable dialog. */
public CustomDialog(Frame aFrame, String aWord, DialogDemo parent) {
super(aFrame, true);
dd = parent;
magicWord = aWord.toUpperCase();
setTitle("Quiz");
textField = new JTextField(10);
//Create an array of the text and components to be displayed.
String msgString1 = "What was Dr. SEUSS's real last name?";
String msgString2 = "(The answer is \"" + magicWord
+ "\".)";
Object[] array = {msgString1, msgString2, textField};
//Create an array specifying the number of dialog buttons
//and their text.
Object[] options = {btnString1, btnString2};
//Create the JOptionPane.
optionPane = new JOptionPane(array,
JOptionPane.QUESTION_MESSAGE,
JOptionPane.YES_NO_OPTION,
null,
options,
options[0]);
//Make this dialog display it.
setContentPane(optionPane);
//Handle window closing correctly.
setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent we) {
* Instead of directly closing the window,
* we're going to change the JOptionPane's
* value property.
optionPane.setValue(new Integer(
JOptionPane.CLOSED_OPTION));
//Ensure the text field always gets the first focus.
addComponentListener(new ComponentAdapter() {
public void componentShown(ComponentEvent ce) {
textField.requestFocusInWindow();
//Register an event handler that puts the text into the option pane.
textField.addActionListener(this);
//Register an event handler that reacts to option pane state changes.
optionPane.addPropertyChangeListener(this);
/** This method handles events for the text field. */
public void actionPerformed(ActionEvent e) {
optionPane.setValue(btnString1);
/** This method reacts to state changes in the option pane. */
public void propertyChange(PropertyChangeEvent e) {
String prop = e.getPropertyName();
if (isVisible()
&& (e.getSource() == optionPane)
&& (JOptionPane.VALUE_PROPERTY.equals(prop) ||
JOptionPane.INPUT_VALUE_PROPERTY.equals(prop))) {
Object value = optionPane.getValue();
if (value == JOptionPane.UNINITIALIZED_VALUE) {
//ignore reset
return;
//Reset the JOptionPane's value.
//If you don't do this, then if the user
//presses the same button next time, no
//property change event will be fired.
optionPane.setValue(
JOptionPane.UNINITIALIZED_VALUE);
if (btnString1.equals(value)) {
typedText = textField.getText();
String ucText = typedText.toUpperCase();
if (magicWord.equals(ucText)) {
//we're done; clear and dismiss the dialog
clearAndHide();
} else {
//text was invalid
textField.selectAll();
JOptionPane.showMessageDialog(
CustomDialog.this,
"Sorry, \"" + typedText + "\" "
+ "isn't a valid response.\n"
+ "Please enter "
+ magicWord + ".",
"Try again",
JOptionPane.ERROR_MESSAGE);
typedText = null;
textField.requestFocusInWindow();
} else { //user closed dialog or clicked cancel
dd.setLabel("It's OK. "
+ "We won't force you to type "
+ magicWord + ".");
typedText = null;
clearAndHide();
/** This method clears the dialog and hides it. */
public void clearAndHide() {
textField.setText(null);
setVisible(false);
}

Similar Messages

  • Error with JPR(Java Proxy Runtime) in Adapter Monitor of RWB

    Dear Experts,
                 I am implementing scenario with Client Java Proxy(Outbound) and Server ABAP Proxy(Inbound). We have done all the designing in IR and configurations in ID. We have deployed the EAR successfully. But when we go to RWB(Runtime Work Bench) to monitor the inital status of JPR in RWB->Adapter Monitor. It shows the following error.
    Status     Name                                Text
    Error        SLD Access                     SLD host:port = yhsapi01.yashsap.com:50000
    Error getting JPR configuration from SLD. Exception: Connect to SAP gateway failed
    Connect_PM TYPE=A ASHOST=yhsapi01 SYSNR=00 GWHOST=yhsapi01 GWSERV=sapgw00 PCS=1
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR max no of 100 conversations exceeded
    TIME Wed Jun 03 19:42:45 200
    RELEASE 700
    COMPONENT CPIC (TCP/IP) with Unicode
    VERSION 3
    RC 466
    MODULE r3cpic.c
    LINE 10713
    COUNTER 5521
    No access to get JPR configuration

    Hi!
    Obviously there are more than 100 connections opened in your system.
    ERROR max no of 100 conversations exceeded
    Please check your gateway settings (in ABAP you can check the parameters using transaction SMGW).
    Regards,
    Volker

  • Error with receiver java proxy

    for a XI type communication channel for receiver Java proxy I see following error in SXMB_MONI.
    <i>Unable to read user password from communication channel of type Error when accessing the secure store (access ID = 3650CAFA1FBAA04E8F260C6C4C1923FA) Error while reading from the secure store: ERROR_UNKNOWN: Cannot find entry in secure store (SECSTORE,023).</i>
    I have specified the correct credentials for the non sap system in authentication data i.e. XIAPPLUSER and its password.
    Any pointers?

    Hi Amol
    Did you solved this problem? I am also getting the same error when calling receiver java proxy with Adapter type XI.
    If you have solved the problem pl let me know.
    Regards
    Prahllad

  • User authentication error with Proxy Java Calling web Service in XI

    Hello,
    I have deploy a Web Service in SAP XI 3.0. within a SOAP sender adapter.
    I have also created the Proxy Java Class to access the webservice in the Developer Studio and a Plain Java Class (only with a method main) which uses the proxy classes to consume the web service.
    But when I launch the program a get the next error message:
    java.rmi.RemoteException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
         at com.everis.serviciosweb.xi.MI_OUT_STATUSBindingStub.MI_OUT_STATUS(MI_OUT_STATUSBindingStub.java:73)
         at com.everis.llamadas.invocacionWSStatus.main(invocacionWSStatus.java:76)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage
    Where MI_OUT_STATUSBindingStub is my Stub Class.
    I have tried to set USERNAME_PROPERTY and PASSWORD_PROPERTY at runtime from my Stub class to the values that I use to access SAP XI (Integration Repository & Integration Directory) but it still doesn't´t work.
    Have anyone a solution?
    Thanks.

    Hi,
        finally I have fixed it.
    The root of the problem was on the way that I proceed with the generation of wsdl in Integration Directory.
    The second step in the wizard for generation of wsdl ask for a url to call the web service and gives you an option to complete the url automatic. I have use this option and it have proposed my an url of type http://<host>:<port>/sap/xi/engine?entry=.......
    But the SOAP adapter call is in the form http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<business service>:<channel>
    So using this type of url in the generation of wsld solves all the problems.
    Regards,
    Antonio.

  • Tuxedo 9.1 install errors with InnovationTargetException Java Error

    Hi Everyone,
    I have weblogic 9.2, tuxedo 9.1 and tools 8.49 installed on my Vista machine with no problems. Now another guy at the office is trying to install and when he trys to install tuxedo it pretty much closes immediately with the innovationtargetexception java error.
    We have tried comparing his machine to mine and so far everything pretty much looks the same. I have java 1.6.03 and he has 1.6.05 but I don't think that is the problem.
    Does anyone have any idea why he would be getting this java error this early in the install?
    Thanks

    For Vista Home:
    1. Check the compatbility on exe file
    2. set the registry values
    3. Install the tuxedo91_32_win_2k3_x86.exe
    4. Success
    --- More infor--------------
    Open tuxedo91_32_win_2k3_x86 properties & check the compatibility mode.. I changed into Win Serevr 2003 mode.. I avoided above LAX error.
    Try creating the registry entry
    HKEY_LOCAL_MACHINE/SOFTWARE/BEA Systems/TUXEDO/9.1/Environment
    TUXDIR <c:\bea\Tuxedo9.1>
    TUXDIR REG_SZ <tuxedo home directory>
    NLSPATH REG_SZ <tuxedo home directory\locale\C>

  • Error with Booking_dataFS.java

    All,
    I am tryin to run the sample B2B Hotel application from JDeveloper.
    I am in the HRS module, trying to Submit the cart.
    THe HRSServlet calls the Booking_dataFS class
    Here I am getting the following error:
    java.lang.NoSuchMethodError:
    oracle.xml.parser.v2.XMLDocument:
    method
    setDoctype(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    not found
    I have checked that the setDoctype method exists in XMLDocument class.
    Can somebody tell me what could be the problem.
    Thanks
    Chip
    null

    Make sure that you have the correct versions of the XSQL libraries, and that your environment is configured to use them. For example, if you have JDeveloper and then download the XML Parser from OTN, JDeveloper will not automatically use the OTN version -- it will keep using the version that came with JDeveloper until you change the Project properties.
    Regards,
    -rh

  • Error with Virtual Java

    Hi,
    Error is: Could not load the Java Virtual Machine. Eventid 4096
    I have install Workflow 7, but after i use turnkey i got this error. I dont undertsand. I have also Jboss for adobe livecycle service failed to start.
    I'm using Jboss and mysql in turnkey.
    For the SDK witch version i need to use, Sun or Adobe? Because in the manuel they dont say anything about this.
    Thanks

    Hi
    Glad that you're up and running.
    I haven't tried changing on the fly. I think it's fairly unlikely that it would just work, because you need to create all the database tables (at a miniumum), so you would need to re-run at least part of the config tool. You'd also need to install the correct jdbc drivers, modify the DataSource file, etc, etc.
    My suggestion would be to bite the bullet and re-install - I think you might find it easier in the long run.
    Howard
    Howard Treisman
    Avoka Technologies
    Specializing in Custom QPAC development and LiveCycle Solutions
    http://www.avoka.com/avoka/qpac_library.shtml

  • Error with RTFEditorKit (java.lang.ArrayIndexOutOfBoundsException: 255)

    Hello,
    I'm trying to extract the text from RTF files. I use the following code :
    kit = new RTFEditorKit();
    doc = kit.createDefaultDocument();
    String plaintText;
    try {
        InputStream reader = new ByteArrayInputStream(rtfString.getBytes("ISO-8859-15"));
        kit.read(reader, doc, 1);
        plainText = doc.getText(0, doc.getLength());
    } catch (Exception e) {
        e.printStackTrace();
    }For a lot of RTF it works perfectly but for some I have the following stacktrace :
    java.lang.ArrayIndexOutOfBoundsException: 255
    at javax.swing.text.rtf.RTFReader$AttributeTrackingDestination.currentTextAttributes(RTFReader.java:1365)
    at javax.swing.text.rtf.RTFReader$TextHandlingDestination.handleText(RTFReader.java:1535)
    at javax.swing.text.rtf.RTFReader.handleText(RTFReader.java:175)
    at javax.swing.text.rtf.RTFParser.write(RTFParser.java:152)
    at javax.swing.text.rtf.AbstractFilter.readFromReader(AbstractFilter.java:105)
    at javax.swing.text.rtf.RTFEditorKit.read(RTFEditorKit.java:111)
    at be.chutivoli.toolbox.Rtf.convert(Rtf.java:61)
    at be.chutivoli.toolbox.Rtf.getSimpleHtml(Rtf.java:42)
    at org.apache.jsp.dossier_002dpatient.protocole_jsp._jspService(protocole_jsp.java:76)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:619)Do you have any idea to resolve this error ?
    Thanks

    As I thought, the rtf is malformed. Open it in a plain text editor like Notepad. Note that the color table has 15 entries (line breaks added for visibility).{\colortbl
    \red0\green0\blue0;
    \red0\green0\blue255;
    \red0\green255\blue255;
    \red0\green255\blue0;
    \red255\green0\blue255;
    \red255\green0\blue0;
    \red255\green255\blue0;
    \red255\green255\blue255;
    \red0\green0\blue127;
    \red0\green127\blue127;
    \red0\green127\blue0;
    \red127\green0\blue127;
    \red127\green0\blue0;
    \red127\green127\blue0;
    \red127\green127\blue127;
    \red192\green192\blue192
    }The file also contains this:{\f1\fs24\cf255\up0\dn0 constipation.}and about 17 more ocurrences of cf255.
    It's also crazy that the color table has 15 entries, but the only two referred to are cf0 and cf255, the latter of which, of course, doesn't exist. Doesn't reflect well on the program that created the file ... was it perhaps some freeware / shareware?
    Change all the cf255 to cf0 (or any index up to 14) and the file should be handled without an exception.
    db

  • Error with HelloWorldApp.Java

    cannot read: HelloWorldApp.java from the tutorial. I use a string to get to the javac file and i still get the message. The file is a notepad file.

    Not sure what your problem is. Maybe this will help.
    1)Copy and paste the HelloWorldApp example code into notepad.
    2)Save the file as HelloWorldApp.java (not HelloWorldApp.txt or HelloWorldApp.java.txt)
    3) make sure you have the JDK from sun.com installed.
    4) Open a command prompt window to the directory where you saved the file.
    5) Compile the file by typing javac HelloWorldApp.java (you may have to add javac.exe to your path or type in the fullpath, e.g. c:\jdk1.4\bin\javac.exe HelloWorldApp.java)
    6) run the example by typing java HelloWorldApp at the same prompt. (again you may have to add java.exe to your path or type in the full path)

  • PeopleSoft XML Publisher report error with java.io.FileNotFoundException

    Hi,
    I have created two reports using XML Publisher in Peoplesoft Financials. The two reports are not related and they were submitted for processing separately. The first report completes without any issues. The second report results in error with the following message:
    09.11.17 ..(CIS_POTRPT.XML_FILE.Step03) (PeopleCode)
    [012309_091118154][oracle.apps.xdo.template.FOProcessor][EXCEPTION] IOException is occurred in FOProcessor.setData(String) with 'files/cis_potrpt.xml'.
    [012309_091118500][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.io.FileNotFoundException: files/cis_potrpt.xml (A file or directory in the path name does not exist.)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
         at java.io.FileInputStream.<init>(FileInputStream.java:89)
         at oracle.apps.xdo.template.FOProcessor.getInputStream(FOProcessor.java:1316)
         at oracle.apps.xdo.template.FOProcessor.getXMLInput(FOProcessor.java:1100)
         at oracle.apps.xdo.template.FOProcessor.setData(FOProcessor.java:372)
         at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:53)
    2009-01-23-09.11.18.000418 AePcdExecutePeopleCode [174] Exception logged: RC=100.
    Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51552 Statement:1153
    Called from:CIS_POTRPT.XML_FILE.GBL.default.1900-01-01.Step03.OnExecute Statement:8
    2009-01-23-09.11.18.000617 DoStepActions [1797] Exception logged: RC=100.
    Process 598607 ABENDED at Step CIS_POTRPT.XML_FILE.Step03 (PeopleCode) -- RC = 24 (108,524)
    In the process monitor detail > view log/trace page, the xml file is accessible so the file was generated to a valid directory.
    The weird thing is I was able to run this report without any issues few weeks ago although another user also ran into same error. The PeopleCode step that has been identified is essentially same in the two reports. I checked the app server and the directory does exist as well as the xml files for the two reports. The problem does not occur in test environment, just in production. Any help would be appreciated.

    We encounter the same problem. Did you get the answer for this issue? Thanks in advance.

  • 'XDOBURSTREP' fails with a JAVA null error

    Hi everyone!
    I am trying to submit bursting from an after report trigger in a RDF. The request starts and then fails with this error :
    --Exception
    null
    java.lang.NullPointerException
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.getControlFile(JCP4XDOBurstingEngine.java:401)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:237)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Has anyone else run into this issue? Could it be my bursting control file? This is the first time I am trying bursting, so I'm not sure where to look. Any help would be great!
    -CC

    Yes, the temp directory is set to /usr/tmp
    I see in the log file :
    Retrieving XML request information
    Node Name: [our instance name]
    Preparing parameters
    null output = [path to bursting concurrent request id file]
    inputfilename =[path to request id file calling bursting with XML data]
    Data XML File:[path to request id file calling bursting with XML data]
    Do you have that in your log files?
    I believe that I have done all of the steps correctly. I have the call to the bursting conc program in the after report trigger. I have a Data Definition where I attached the bursting file and I have a template definition with a template attached. Did I miss anything?

  • Error with Java Virtual Machine Laucher

    Hi, I'm getting the follwowing error with I try to lauch universal installer.
    Fatal exception occured. Program will exit.
    Does anyone have any idea what's going on? I have java ee 5 sdk installed on my machine.

    Hello Guys!
    I have a problem here and i cant find the solution!
    somebody can help me?
    In the installation, after run the runInstaller show
    this message:
    Initializing Java Virtual Machine from
    /tmp/OraInstall2008-04-27_0733-08PM/jre/1.4.2/bin/java
    . Please wait...
    [oracle@localhost ~]$ Oracle Universal Installer,
    Version 10.2.0.1.0 Production
    Copyright (C) 1999, 2005, Oracle. All rights
    reserved.
    Exception java.lang.UnsatisfieldLinkError:
    /tmp/OraInstall2008-04-27_0733-08PM/jre/1.4.2/lib/i386
    /libawt.so: libXp.so.6: cannot open shared object
    file: No such file or directory occurred..
    java.lang.UnsatisfieldLinkError:
    /tmp/OraInstall2008-04-27_0733-08PM/jre/1.4.2/lib/i386
    /libawt.so: libXp.so.6: cannot open shared object
    file: No such file or directory<snip>
    So I went to MetaLink and did a search on the "libXp.so.6: cannot open shared object" found in your error message. The very first hit returned was note 308755.1, titled "OUI Reports The Error: Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall*/jre/1.4.2/lib/i386/libawt.so: libXp.So.6: Cannot Open Shared Object File"
    The terms of MetaLink usage prevent me from quoting from the note, but you would be advised to go read it for yourself. Suffice it to say you are missing some rpms. The specific ones missing are not listed in the above referenced not, but it will point you in the right direction.

  • Error With SCORM Content W Latest Version of Sun Java (1.6.0_10)

    We're getting an error with users running the more recent version of Sun Java 1.6.0_10, but not with previous versions. This happens for all our SCORM content.
    The Java logs are showing a lot of data, but the main symptoms seem to be:
    network: CrossDomainXML: connection to host <our LMS server address> denied
    LMS Error: 304 - Security exception
    and
    Error stack trace:
    oracle.apps.ota.lms.LMSException: java.security.AccessControlException: access denied (java.net.SocketPermission <our LMS server address> connect,resolve)
    and
    Returned: "false"
    *** LMSGetLastError() [Thu Oct 09 10:56:35 EDT 2008]
    Returned: "304"
    *** LMSGetErrorString("304") [Thu Oct 09 10:56:35 EDT 2008]
    Returned: "Security exception"
    Our crossdomain.xml fille is configured correctly, and also previous versions of JRE are not having the problem (the Java logs look clean).
    Does anyone have any thoughts?
    Thanks.

    Hi All
    Got a similar issue with the tracking / bookmarking of sessions - when on sun Java update 7 all is well however when update 10 or 11 is installed then SCROM session start on page 1 not the page you were on, also as expected they do not get marked as complete.
    Two things happen
    1) A small window is left for - [http://riti04.cornwall.nhs.uk:7780/ilearn/en/learner/jsp/relogin.jsp] - URL
    2) We get an Error on page - [http://riti04.cornwall.nhs.uk:7780/ilearn/en/learner/jsp/lms.jsp] - URL
    Looked for the Plugin section as per a pervious within the Java Control panel - but I'm not seeing it.
    We use iLearn 5.0 and I am begining to think we need a patch but unsure which.
    Thanks
    Stephen

  • [SOLVED] Netbens Error with java openjdk7

    hi! i have a error with netbeans:
    [pablo@arch ~]$ netbeans
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x802067a9, pid=11781, tid=2165295936
    # JRE version: 7.0_21-b02
    # Java VM: OpenJDK Client VM (23.7-b01 mixed mode linux-x86 )
    # Problematic frame:
    # C [libGL.so.1+0x707a9] glXChooseVisual+0xaf69
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    # An error report file with more information is saved as:
    # /home/pablo/hs_err_pid11781.log
    # If you would like to submit a bug report, please include
    # instructions on how to reproduce the bug and visit:
    # http://icedtea.classpath.org/bugzilla
    /usr/share/netbeans/platform/lib/nbexec: línea 572: 11781 Abortado (`core' generado) "/usr/lib/jvm/java-7-openjdk/bin/java" -Djdk.home="/usr/lib/jvm/java-7-openjdk" -classpath "/usr/share/netbeans/platform/lib/boot.jar:/usr/share/netbeans/platform/lib/org-openide-modules.jar:/usr/share/netbeans/platform/lib/org-openide-util.jar:/usr/share/netbeans/platform/lib/org-openide-util-lookup.jar:/usr/share/netbeans/platform/lib/locale/boot_ja.jar:/usr/share/netbeans/platform/lib/locale/boot_pt_BR.jar:/usr/share/netbeans/platform/lib/locale/boot_ru.jar:/usr/share/netbeans/platform/lib/locale/boot_zh_CN.jar:/usr/share/netbeans/platform/lib/locale/org-openide-modules_ja.jar:/usr/share/netbeans/platform/lib/locale/org-openide-modules_pt_BR.jar:/usr/share/netbeans/platform/lib/locale/org-openide-modules_ru.jar:/usr/share/netbeans/platform/lib/locale/org-openide-modules_zh_CN.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util_ja.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util-lookup_ja.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util-lookup_ru.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util_pt_BR.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util_ru.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util_zh_CN.jar:/usr/lib/jvm/java-7-openjdk/lib/dt.jar:/usr/lib/jvm/java-7-openjdk/lib/tools.jar" -Dnetbeans.default_userdir_root="/home/pablo/.netbeans" -Dnetbeans.system_http_proxy="DIRECT" -Dnetbeans.system_http_non_proxy_hosts="" -Dnetbeans.dirs="/usr/share/netbeans/nb:/usr/share/netbeans/ergonomics:/usr/share/netbeans/ide:/usr/share/netbeans/java:/usr/share/netbeans/apisupport:/usr/share/netbeans/webcommon:/usr/share/netbeans/websvccommon:/usr/share/netbeans/enterprise:/usr/share/netbeans/mobility:/usr/share/netbeans/profiler:/usr/share/netbeans/python:/usr/share/netbeans/php:/usr/share/netbeans/identity:/usr/share/netbeans/harness:/usr/share/netbeans/cnd:/usr/share/netbeans/dlight:/usr/share/netbeans/groovy:/usr/share/netbeans/extra:/usr/share/netbeans/javacard:/usr/share/netbeans/javafx:" -Dnetbeans.home="/usr/share/netbeans/platform" '-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' '-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense' '-XX:MaxPermSize=384m' '-Xmx403m' '-client' '-Xss2m' '-Xms32m' '-XX:PermSize=32m' '-Dapple.laf.useScreenMenuBar=true' '-Dapple.awt.graphics.UseQuartz=true' '-Dsun.java2d.noddraw=true' '-Dsun.java2d.dpiaware=true' '-Dsun.zip.disableMemoryMapping=true' '-Dsun.awt.disableMixing=true' -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/home/pablo/.netbeans/7.3/var/log/heapdump.hprof" org.netbeans.Main --userdir "/home/pablo/.netbeans/7.3" "--cachedir" "/home/pablo/.cache/netbeans/7.3" "--branding" "nb" 0<&0
    i am with netbeans 7.3-1  in 32bits , i try the "ulimit -c ulimited"  command and nothing happens and java version
    OpenJDK Runtime Environment (IcedTea 2.3.9) (ArchLinux build 7.u21_2.3.9-4-i686)
    OpenJDK Client VM (build 23.7-b01, mixed mode)
    java runs fine with other programs like Eclipse
    thank's, sorry my bad english
    Last edited by senjik (2013-06-15 20:25:29)

    Restored thread from dustbin.  It is not clear to me how it got there
    Senjik, Sorry for the inconvenience.  See my suggestions in my PM.
    ewaller

  • BPEL: invalid namespace error with DB adapter polling and java embedding

    Hello
    I'm using bpel 10.1.3.1.0, and I'm experiencing the following problem: I'm am not able to use the SetTitle() function in a process which polls for records using the db adapter.
    Steps to reproduce the problem:
    - I create a very simple bpel process which poll for records in a table.
    - I deploy it, write manually a record in the polled table and the process start.
    - I can see the record picked up through the visual flow in the console
    - everything looks ok and the process ends correctly
    - now I add a java embedding activities just after the receive
    - I set the instance title like this: setTitle("Go");
    - redeploy, write a record in the polled table and the process start.
    - but the process ends in error with the following message "XMLDOMException has been thrown. invalid namespace for prefix xmlns"
    And there is no way to make it work. Consider:
    If I put the same java embedding activity in another process, for example a simple asynchronous process which just copy the input to the output, and I run from the console, the instance title is set as I want ("Go")
    If I remove the three lines from the polling process
    <bpelx:exec name="Java_Embedding_1" language="java" version="1.3">
    <![CDATA[setTitle("Go");]]>
    </bpelx:exec>
    then the process is executed correctly again. I add them again and then namespace error.
    Whatever statement I put in the java embedding activity (for example a string concatenation or even just a comment I have the same result: invalid namespace for prefix xmlns.
    Does anybody has a suggestion to evercome the problem? I need to set the title because its a mess to find out which instance processed a specific record.
    Thanks by
    Paolo

    I made a lot of further tests, and I can say the problem is related only to the database adapter polling mechanism.
    If I create an asynchronous process, with any kind of database activity (for example select) I can set the title normally.
    If I create a process which start with database table polling, then I cannot use the java embedding.
    try this:
    - create BPEL empty project
    - drop a database adapter service and follow the wizard:
    - select a connection (I tried both oracle or sqlserver connection)
    - select "poll for new or changed record"
    - select any table empty or with few record inside (1 or 2)
    - press next 4 times
    - chose delete record after read (press next)
    - chose order by "no ordering" in polling options (press next 2 times)
    - now drop a receive activity on the process, and connect with the polling partner link
    - drop a java embedding and write any valid java statement
    - deploy; if the table is empty, write a recod in the table
    - the process is instantiated, but the it fails in the --> receive <-- activity with "invalid namespace" error

Maybe you are looking for

  • Doubt in layers of the Transaction

    Hi Gurus, Can anyone explain what is the difference between following 4 at the transaction level. How each individual will helpful in the transaction process.... 1) Item Categories. 2) Item Category Group 3) Item Categories Usages 4) Item categories

  • ITunes Match fails to upload songs

    I am posting this as information for other hapless iTunes Match users with the same problem. When I first subscribed to iTunes Match it successfully completed Steps 1 and 2 but failed to complete Step 3, where it uploads songs and artwork not found i

  • I can not open my wifi in X201s

    I buy a new hard disc, and re-install the win 7. The drivers and applications are all insalled. The device manager shows all hardware works. However, when I use "Fn+F5" to open the wifi, it always fails. StrangeIy, I can open the WiMAX and bluetooth

  • How do I pair a new Mac mini (out of the box) to a Logitech keyboard

    How do I pair a new Mac mini (out of the box) to a Logitech keyboard. According to the help desk it is not possible you need an Apple keyboard to complete the task this does not seem right as it states on the Apple website that the products can be mi

  • Audio Book  -  file organization

    Hi all. New to iPod and iTunes. I am importing an AudioBook that I purchased. Having a problem with the joined files not being in the correct order - two "albums" have formed with the joined tracks appearing in random order between the two albums. Ho