Init error

Hi,
I have a this problem : I have JDBCTable and a JDBCTableModel classes, wich are extensions of JTable and AbstractTableModel respectively. JDBCTable has a constructor wich receive some strings containing a jdbc connection information and a sql command. Inside the JDBCTable constructor, this strings are used to create a new JDBCTableModel which is then used as JDBCTable model (with setModel()) .
Private JDBCTableModel data;
public JDBCTable(String dbDriver, String dbURL, String dbUser, String dbPass, String sql) throws DBTableException {
data = new JDBCTableModel(dbDriver, dbURL, dbUser, dbPass, sql);
Initialize(sql);
When creating a new JDBCTable, as usual, JTable() default creator gets called before anything else, including Jnew DBCTableModel creation. My problem is that JDBCTableModel.getModel() method is called from JTable code before model itself is created (data in this case).
I supposed that JTable() calls JTable(null, null, null) which creates default models, and this seem to be the case. I saw it debugging it under NetBeans. Finally, when program is still in JTable code I get a NullPointerException, because getModel() return null. It seems that getModel() is called to obtaing number of columns. What happens with default models created by JTable default constructor ?.
I had to change JDBCTabel getModel method as shown below and now it works, but I don't understand exactly why I have to do this. I did this because I saw that getModel() return "null".
public TableModel getModel() {
if (data==null) {
// when called before "actual" model setup
try {
System.out.println("getModel ---------------");
// creates a dummy model
return new JDBCTableModel("select * from accounts LIMIT 1");
} catch (DBTableException dbe) {
// error - I have to see what to do
return (TableModel)data;
// after creation of JDBCTable and model setup correctly
else return data;
With this modification, I saw that getModel() was called 11 times before actual model (data) is created.
As you may guess, I am somewhat new to Java and my Java debugging skills are limited. (I am switching from C to Java).
Maybe is something trivial but I can figure out where to find more info. Any hint will be very apreciatted.
Thanks.

I don't do GUIs, but the design is flawed.
Your data layer is part of the GUI layer. And I would say that should never be the case even in the smallest of applications.

Similar Messages

  • Firefox pops up an error message on certain pages, all other browsers work fine, how can I make firefox ignore the "error" [e2219] css init error: ReferenceError: g is not defined

    Basically I want to replace the Ajax Control Toolkit Slider in favor of the Component One Studio for iPhone Slider for better mobile/desktop consistency (the ajax slider doesn't work well with iPhone). I created a simple page that works on every browser and platform (iPhone, Android, Mac, Windows) except Firefox, which fails on every platform. I have already tried disabling all plugins (safe mode) and clearing cache, I have also tried this with different versions of Firefox on different platforms. I posted this error on the Component One forum but since this only occurs with Firefox I believe this is a Firefox issue.
    I searched for this error on the forums and Google but didn’t get any results:
    ''[e2219] css init error: ReferenceError: g is not defined''
    The console has this message:
    ''[12:05:26.954] uncaught exception: [Exception... "prompt aborted by user" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource:///components/nsPrompter.js :: openTabPrompt :: line 462" data: no]''
    You can see the error by visiting http://www.componentone.com/i/
    Visit the same URL with IE, Chrome or Safari and there is no error. If I click [OK] the page loads normally enough for me. Is there some JavaScript or CSS line I can put in the page to make Firefox ignore the error? If so that would be great because even if there is a fix put into Firefox itself there will be those millions of users out there that will not upgrade.

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • I cannot download and install Flash player due to general initation error

    Greetings,  I have a Windows 7 64--bit OS, Mozilla--Firefox browser. I cannot download from multiple locations, File hippo, adobe internet location, flash player. The message that I get at the end is general initation error. Then the software starts all over again with the same result. Thank you Ldxrunner

    Did you try the installers from http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_text_4 ?

  • Language Init Error (8020) when connecting to the DI

    Dear All,
    I've got the error message Language Init Error (8020) when connecting to the DI, I could not understand how could it be happened but I have tried to find the solution for it but still unsuccessful ? How to solve ? TIA
    Rgds,
    Edu

    Hello,
    This solution I've got from SAP Notes 854548 and I rewrite here as follows;
    1. Rename the folder SM_OBS_DLL from the temp folder. If you can't find, try to go to start --> run and type %temp%.
    Then you perform these steps :
       1. Uninstall the DI from the Add/Remove Programs window
       2. Reboot the computer
       3. Install the DI API once again
    If you still can't have solution and the solution from Chris can't resolve too, better to escalate to SAP support.
    Rgds,
    JM

  • JVM init error with Illustrator

    Hi,
    always when i try to export the JavaFXInvaders.ai Demo File I get a JVM init Error or my Illustrator crashes. Anyone an idea?
    Greetings Riepi

    here is the end:
    <-WriteTree(0)
    finding Creating jvm
    Jar path: -Djava.class.path=C:\Programme\Adobe\Adobe Illustrator CS3\Zusatzmodule\Illustrator-Formate\AI2JavaFX.jar
    jni: Error occurred during initialization of VM
    jni: Could not reserve enough space for object heapjni:
    Function JNI_CreatedJavaVM failed:
    JVM Init error
    destruction of used names started ...destruction of used names completed.

  • Cache INIT error JDE EnterpriseOne 8.12

    Hi ,
    Can anyone lemme knw How to remove Cache INIT error (078M) in the Row exit and changed inline event?
    Thanks

    See E1 Doc 754249.1 for the workaround, an easier way to do this is already planned for a future release. Also keep in mind that currently the xmlp kernel looks at the default environment from the security stanza in the jde.ini so that if you are submitting from PY and the default environment is set to PD you will need to change the PD data dictionary items as well.
    Pedro

  • Database link to SQL Server Init error

    Hi all,
    i´m tryng to create a dblink between Oracle 10.2.0 in a RHEL4 and a SQL Server.
    I can connect using isql but when i try using sqlplus i obtain this error:
    SQL> CREATE DATABASE LINK dbl
    CONNECT TO "user"
    IDENTIFIED BY "pwd"
    USING 'hsodbc'; 2 3 4
    Enlace con la base de datos creado.
    SQL> SELECT * FROM Table_1@dbl;
    SELECT * FROM Table_1@dbl
    ERROR en línea 1:
    ORA-28545: error diagnosticado por Net8 al conectar a un agente (error in Net8 while connecting an agent)
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: 2 lines precediendo a DBL
    This is the error explanantion in Oracle Docs:
    I think the problem is the ini file inithsodbc.ora.
    inithsodbc.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    # AAB - Parametros para asociar un agente ODBC al HS
    HS_FDS_CONNECT_INFO = MSQLS
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_SHAREABLE_NAME =/usr/local/freetds/lib/libtdsodbc.so
    HS_AUTOREGISTER = true
    # ODBC specific environment variables
    set ODBCINI=/home/oracle/.odbc.ini
    listener.ora
    # listener.ora Network Configuration File: /app/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = STA2)
    (ORACLE_HOME = /app/oracle/oracle/product/10.2.0/db_1)
         (SID_DESC = (SID_NAME=hsodbc)
    (ORACLE_HOME=/app/oracle/oracle/product/10.2.0/db_1)
    (PROGRAM=hsodbc)
                             (ENVS=LD_LIBRARY_PATH=/app/oracle/oracle/product/10.2.0/db_1/lib:/usr/local/lib)
    LISTENER =
         (DESCRIPTION =
         (ADDRESS_LIST =
              (ADDRESS = (PROTOCOL = TCP)(HOST = nemesisgr2.hi.inet)(PORT = 1521))
    tnsnames.ora
    # tnsnames.ora Network Configuration File: /app/oracle/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DEVSTA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = nemesisgr.hi.inet)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = devSTA)
    STA2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = nemesisgr2.hi.inet)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = STA2)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    STA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = nemesisgr2.hi.inet)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = STA)
    #AAB - Descripcion de servicio para conectar con SQLServer
    HSODBC = (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)
    (HOST=nemesisgr2.hi.inet)
    (PORT=1521)
    (CONNECT_DATA = (SID=hsodbc)
    (HS = OK)
    ODBC Files
    odbc.ini
    [ODBC Data Sources]
    MSQLS = Microsoft SQL Server
    [MSQLS]
    Driver = /usr/local/freetds/lib/libtdsodbc.so
    Description = Microsoft SQL Server
    Trace = No
    Servername = sqlserver
    Database = master
    [Default]
    Driver = /usr/local/freetds/lib/libtdsodbc.so
    odbcinst.ini
    [PostgreSQL]
    Description          = ODBC for PostgreSQL
    Driver          = /usr/lib/libodbcpsql.so
    Setup          = /usr/lib/libodbcpsqlS.so
    FileUsage          = 1
    [MSQLSDRIVER]
    Description          = Driver for MS SQL Server
    Driver          = /usr/local/freetds/lib/libtdsodbc.so
    Setup          = /usr/lib64/libtdsS.so
    FileUsage          = 1
    UsageCount          = 5
    freetds.conf
    # $Id: freetds.conf,v 1.12 2007/12/25 06:02:36 jklowden Exp $
    # This file is installed by FreeTDS if no file by the same
    # name is found in the installation directory.
    # For information about the layout of this file and its settings,
    # see the freetds.conf manpage "man freetds.conf".
    # Global settings are overridden by those in a database
    # server specific section
    [global]
    # TDS protocol version
    ;     tds version = 4.2
         # Whether to write a TDSDUMP file for diagnostic purposes
         # (setting this to /tmp is insecure on a multi-user system)
    ;     dump file = /tmp/freetds.log
    ;     debug flags = 0xffff
         # Command and connection timeouts
    ;     timeout = 10
    ;     connect timeout = 10
         # If you get out-of-memory errors, it may mean that your client
         # is trying to allocate a huge buffer for a TEXT field.
         # Try setting 'text size' to a more reasonable limit
         text size = 64512
    # A typical Sybase server
    [egServer50]
         host = symachine.domain.com
         port = 5000
         tds version = 5.0
    # A typical Microsoft server
    [egServer70]
         host = ntmachine.domain.com
         port = 1433
         tds version = 7.0
    # Test MS SQl Server
    [sqlserver]
         Database = master
         host = pruebas.hi.inet
         port = 1433
         tds version = 7.0
    Any ideas??
    Thanks in advance.
    Alex

    I have changed the inithsodbc.ora file including:
    HS_FDS_SHAREABLE_NAME =/usr/lib/libodbc.so (I have ODBC installed)
    Here you are the other information:
    lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 23-OCT-2008 09:29:52
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Bienvenido a LSNRCTL, escriba "help" para obtener información.
    LSNRCTL> status
    Conectándose a (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=nemesisgr2.hi.inet)(PORT=1521)))
    ESTADO del LISTENER
    Alias LISTENER
    Versión TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Fecha de Inicio 22-OCT-2008 19:31:34
    Tiempo Actividad 0 días 13 hr. 58 min. 29 seg.
    Nivel de Rastreo off
    Seguridad ON: Local OS Authentication
    SNMP OFF
    Parámetros del Listener /app/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log del Listener /app/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
    Recibiendo Resumen de Puntos Finales...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nemesisgr2)(PORT=1521)))
    Resumen de Servicios...
    El servicio "STA" tiene 1 instancia(s).
    La instancia "STA", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "STA2" tiene 2 instancia(s).
    La instancia "STA2", con estado UNKNOWN, tiene 1 manejador(es) para este servicio...
    La instancia "STA2", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "STA2XDB" tiene 1 instancia(s).
    La instancia "STA2", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "STA2_XPT" tiene 1 instancia(s).
    La instancia "STA2", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "STAXDB" tiene 1 instancia(s).
    La instancia "STA", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "STA_XPT" tiene 1 instancia(s).
    La instancia "STA", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "hsodbc" tiene 1 instancia(s).
    La instancia "hsodbc", con estado UNKNOWN, tiene 1 manejador(es) para este servicio...
    El comando ha terminado correctamente
    LSNRCTL>
    hsodbc
    There is no output executing this command.
    [oracle@nemesisgr2 ~]$ /app/oracle/oracle/product/10.2.0/db_1/bin/hsodbc
    [oracle@nemesisgr2 ~]$
    tnsping hsodbc
    [oracle@nemesisgr2 ~]$ tnsping hsodbc
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 23-OCT-2008 09:35:58
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Archivos de parámetros utilizados:
    /app/oracle/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Adaptador TNSNAMES utilizado para resolver el alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp) (HOST=nemesisgr2.hi.inet) (PORT=1521)) (CONNECT_DATA = (SID=hsodbc)) (HS = OK))
    Realizado correctamente (40 mseg)
    Rgds,
    Alex

  • Applet works on eclipse but not on reg browser (not inited error)

    Hi everybody,
    I've just made an applet, but I don't know why it can't be shown. I'm working with Eclipse, and when I run the .java file, everything works fine. It even works fine when I specify parameters through the eclipse build file parameter arguments.
    Now I would like this to work by using the appletviewer and my html file. When I do this, the application doesn't work anymore and I get this error: Start applet not inited and shows loading java Applet failed when I scroll over to the java applet box on the browser. (Mozilla)
    I used this code in the html file:
    <html>
    <head>
    <title>MicroToolBus Example Plugin Applet 2 </title>
    </head>
    <body>
    <h1>MicroToolBus Example Plugin Applet 2 </h1>
    <hr>
    <applet code =MicroToolBus.class width=400 height=100>
    <param name="ModelName" value="edu.vt.vbi.pathport.client.plugin.microarray.MicroarrayModel">
         <param name="DataLocation" value="c:/eclipse/workspace/PathPort/xml/samples/mageml/pmml.xml">
    </applet>
    </hr>
    </body>
    </html>
    which is located at
    C:\eclipse\workspace\PathPort\build\edu\vt\vbi\pathport\client\toolbus\MicroToolBus.html
    The MicroToolBus.class file is located in the same directory. What am I doing wrong. I tried putting the class file and the html in the same directory as the actual .java file of the applet, but that didn't seem to work either. Thanks in advance; your help and suggestions are much appreciated,

    What am I doing wrong?Your getting caught in the Sun/Microsoft war. Numerous casualties. For rehab, see:
    http://www.MartinRinehart.com
    Click "Articles", "Launching Applets".
    Warning: make a big mug of java before you start. This is not trivial stuff.

  • Phoenix 1280 USB camera gives IMAQ USB Init error?

    We're trying to use a Phoenix PC-1280 USB video camera with either Labview or the Vision Assistant. In both cases we get an error in the IMAQ USB Init.vi (eg, "IVA Acquisiition Tools palette.vi was stopped at node 0x140 of subVI IMAQ USB Init.vi"). We have the latest version of labview and the vision module. The Mutech people are being totally useless, but I suspect the problem is in their driver which is supposed to use DirectShow and should be compatible. Before we toss this $1000 camera in the trash, can someone suggest a quick fix? ...or even a slow one
    PS -- it's not the language problem, we're all in english

    Hi Cyndeigo,
    One thing to check is to see if your camera is being recognized
    by LabVIEW.  One way to do this is to use
    the USB enumerate cameras.vi.  If this is
    sending back the camera name, then make sure you are connecting the USB Init.vi
    as shown in the attachment.  If the USB
    enumerate cameras.vi isn’t feeding back any data then there is probably something
    wrong with the driver.  I hope this
    helps.   Keep me posted.
    Regards,
    GG 
    Attachments:
    usbinit.jpg ‏4 KB

  • CreateSession:Init Error

    Note: this is a repost. But I couldn't figure out how to move it to the right topic area.
    I've just started a .NET application that needs to see to which projects a user has access. I've grabbed some code found here online, but I can't seem to get it to work. The error I get is:
    java.rmi.RemoteException: Interface not Implemented: com.plumtree.openfoundation.util.XPException Error in PortalObjectsFactory.CreateSession: Init has not been called. You must successfully call Init before calling CreateSession
    The error occurs at the line:
    projList = projMgr.QueryProjects(projMgr.CreateProjectFilter())
    Here's the code:
    Imports System
    Imports System.Collections
    Imports System.ComponentModel
    Imports System.Data
    Imports System.Drawing
    Imports System.Web
    Imports System.Web.SessionState
    Imports System.Web.UI
    Imports System.Web.UI.WebControls
    Imports System.Web.UI.HtmlControls
    Imports Plumtree.Remote.PRC
    Imports Plumtree.Remote.PRC.Collaboration
    Imports Plumtree.Remote.PRC.Collaboration.Project
    Imports Plumtree.Remote.Portlet
    Partial Class StatusSurvey
    Inherits System.Web.UI.Page
    'get the project manager
    Public Function GetProjectManager(ByVal req As HttpRequest, ByVal res As HttpResponse) As IProjectManager
    Dim projectManager As IProjectManager = Nothing
    Dim portletContext As IPortletContext = PortletContextFactory.CreatePortletContext(req, res)
    Dim portletRequest As IPortletRequest = portletContext.GetRequest()
    Dim loginToken As String = portletRequest.GetLoginToken()
    If loginToken Is Nothing Then
    res.Write("Unable to retrieve the login token. Confirm that the login token has been checked in the Advanced Settings page of the Web Service.")
    Else
    'get the remote session
    Dim portalSession As Plumtree.Remote.PRC.IRemoteSession = portletContext.GetRemotePortalSession()
    'get a collab factory and a project manager
    Dim collabFactory As ICollaborationFactory = portalSession.GetCollaborationFactory()
    projectManager = collabFactory.GetProjectManager()
    End If
    Return projectManager
    End Function
    Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
    Dim projList() As IProject
    Dim projMgr As IProjectManager = GetProjectManager(Request, Response)
    Dim projFilter As IProjectFilter
    projFilter = projMgr.CreateProjectFilter
    Dim count As Int16
    projList = projMgr.QueryProjects(projMgr.CreateProjectFilter())
    For count = 0 To projList.Length
    ddlProjects.Items.Add(projList(count).Name)
    Next
    End Sub
    End Class

    Hi Amracel,
    I've only seen this error when writing native code, never with the PRC.
    Have you tried setting your Login Token Expiration to some absurdly large value, like 999 minutes?
    You might have a difference in clock time (> 5 minutes) between your portal server and portlet server, which could cause the portlet server to think that it's receiving an expired login token.
    Once you synchronize the clocks, you can set the expiration date back to a more resonable value.
    HTH,
    Chris Bucchere | bdg | [email protected] | www.bdg-online.com

  • JAVA Prepare INIT error

    HI ,
    i am upgrading the JAVA Engine 6.20 to 700
    i am having the following error .
    PREPARE/INIT/DETERMINE_PROFILES
    Error while retrieving profile using filter SCSInstanceFilter/sid:SRD/host:null.
    Both ABAP and JAVA Sytem are present on smame host .
    is there any difference between file structure of JAVA 620 and 640> higher
    bcoz i am not able to see SCS<xx> directory structure on this machine .
    i have no idea about java system
    please hlep me to analyse the things
    regards
    sachin

    HI
    yes first i have to upgrade my SDM 620 version into SDM 6.40 SP13 level . But my major conser is that .
    i believe my client has installed JAVA system as Dialog instance instead of Central instance . ( on ABAP system)
    Because i am notable to see Dir SCS<xx> and 2 java Profiles in the Profiles directory .
    so this could be the possible reason of my above error .if yes than  can we upgrade JAVA Dialog instance  without JAVA Centeral instance . ( which i believe possible NOT) .
    if yes the what will be the procedure .
    also if we cant then can we uninstalle the j2ee 620 engine and install new java system on this machine .
    Platfom is HP Unix
    Regrads
    sachin

  • WEBUTIL Install/java init error

    I am trying to run WEBUTIL in my pc in a development environment but can get the applet to start when I add webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar to my formsweb.cfg file. If I add it I get a java.lang.ExceptionInInitializerError, if I remove this command I get a WUC-015 error. I know it needs to be there and have reviewed the install instruction many times, but can't seem to find any thing that I haven't done. In the development environment I can open the webutil_canvas with only the OLE bean missing. The only method I am using in the form right now is WEBUTIL_FILE.COPY_FILE. This is the first time I have used a bean on this computer and only have the default config/env files besides the webutil install changes.

    Hi,
    Can you please share your solution with me about correctly installing jacob.jar.
    I have done everything, created cert and signed the cert twice but I still get the same answer that you got.
    Thanks.
    Suresh

  • JDev3.0 vs JDev2.0 - App init error.

    Hi friends,
    Please, look at this peace of my code:
    public class AppSmkc extends JApplet
    // The code goes here
    public static void main(String[] args)
    AppSmkc applet = new AppSmkc();
    applet.isStandalone = true;
    // The rest of the code goes here
    I've created this applet first in JDev 2.0 using JDK 1.2 and
    everything was working fine, even if I try to use JDK 1.1.7. But,
    if I use the JDev 3.0 and try to use the JDK 1.2.2 I receive the
    following error message whe I try to run:
    java.lang.NoClassDefFoundError: AppSmkc
    Exception in thread main
    But if I change in the Project/Project Properties to use the JDK
    1.1.8 everything will work fine. Why?
    Somebody can help me?
    null

    Dear Laura,
    The point of my question is: there are differences in how do I
    construct the code between JDK 1.2.2 and 1.1.8? And when the
    error message "java.lang.NoClassDefFoundError: AppSmkc -
    Exception in thread main" appears, what does it means? AppSmkc
    is the name of my applet.
    The same code behave different in both JDK versions.
    Thank you a lot,
    Raphael Roale
    JDeveloper Team (guest) wrote:
    : Hi Raphael,
    : I was not able to reproduce this problem. Can you provide some
    : more details on the code?
    : Laura
    : Raphael Roale (guest) wrote:
    : : Hi friends,
    : : Please, look at this peace of my code:
    : : public class AppSmkc extends JApplet
    : : // The code goes here
    : : public static void main(String[] args)
    : : AppSmkc applet = new AppSmkc();
    : : applet.isStandalone = true;
    : : // The rest of the code goes here
    : : I've created this applet first in JDev 2.0 using JDK 1.2 and
    : : everything was working fine, even if I try to use JDK 1.1.7.
    : But,
    : : if I use the JDev 3.0 and try to use the JDK 1.2.2 I receive
    : the
    : : following error message whe I try to run:
    : : java.lang.NoClassDefFoundError: AppSmkc
    : : Exception in thread main
    : : But if I change in the Project/Project Properties to use the
    : JDK
    : : 1.1.8 everything will work fine. Why?
    : : Somebody can help me?
    null

  • C++ XML Init error

    Hi,
    I try to execute the sample "SAXSample" take in the XDK and compiled with the last lib I got.
    -r--r--r-- 25 stvobadm svrtech 1205244 Dec 10 05:16 libxml9.a
    -r--r--r-- 25 stvobadm svrtech 36176 Dec 10 05:16 libxmlg9.a
    -r--r--r-- 25 stvobadm svrtech 110192 Dec 10 05:16 libxsd9.a
    I got this error when I try to run it:
    XML C++ SAX sample
    Initializing XML package...
    Failed to initialize XML parser, error 201
    There are some change in the lib of XDK?
    Was running before.
    I need the lib that will be use for OCS V2.1 also.
    thank
    Martin

    FYI,
    I find the problem and it is not rely on library change but on some evironnement setting not set. (ORA_NLS33, ORA_XML_MESG)

  • Tap init error

    Dear Gurus,
                        My Default backdevice was disk. now i  I want take back on tape drive. i had change backup_dev_type = tape from backup_dev_type = disk. Still i am getting same error while initialize tape.Do i need restart instance?
    Thanks in Advance
    Sahilkumar
    Attachments
    Download All
          initDEV.sap

    Dear,
    You can remove this error with following doc.
    [initialize Tape For Backup and Archiving|http://www.erphome.net/pdf/saezpdf/090saez.pdf]
    Regards,

Maybe you are looking for