Trying to insert a custom visual bean gives me an error

I've created a custom bean based on javax.swing.jpanel and it compiles fine. I've added it to the component panel as a visual bean but when I try to place it on a frame it throws me an error, which can be found below. I've definately had this visual bean working on another computer using forte but it may not be the same version of forte or java as on this machine. This machine has forte 3.0 and java 1.3.1. Other custom visual beans work fine. Any help greatly appreciated.
Mike
Fri Oct 05 12:37:41 BST 2001: java.lang.NullPointerException: null
java.lang.NullPointerException
at org.netbeans.modules.form.RADVisualContainer.initLayoutSupport(RADVisualContainer.java:48)
at org.netbeans.modules.form.HandleLayer.addVisualBean(HandleLayer.java:436)
at org.netbeans.modules.form.HandleLayer.access$1800(HandleLayer.java:43)
at org.netbeans.modules.form.HandleLayer$HandleLayerMouseListener.mousePressed(HandleLayer.java:904)
at java.awt.Component.processMouseEvent(Component.java:3712)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2210)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:926)
at java.awt.Component.dispatchEvent(Component.java:2497)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

Hi, I have exact the same problem. Have you got any answer for this problem yet? Please forward it to me if you have one. Many thanks.

Similar Messages

  • HT201412 I was trying to update my iphone but it gives the following error(We're sorry, we are unable to continue with your activation at this time) Now my phone is not work working can anyone help?

    I was trying to update operating system of my iphone but it gives the following error(We're sorry, we are unable to continue with your activation at this time) Now my phone is not work working can anyone help?

    Is your iphone hacked/jailbroken?

  • Insert data using peoplesoft webservice gives component API error

    Hi,
    I am using jdeveloper 11g to consume a peoplesoft webservice using the wsdl file and JAX-Ws approach to build the proxy.
    I have been successfull in getting to work the "get", "find" methods for the webservice but while trying to access the create/Update(inserting data) method, it gives me the following exception.
    In CREATE method
    Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Component Interface API.
         at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
         at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
         at $Proxy32.createCompIntfcKCMWEBCASECI(Unknown Source)
         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 weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
         at $Proxy33.createCompIntfcKCMWEBCASECI(Unknown Source)
         at project1.proxy.KCM_WEB_CASE_CISoapClient.createKCMMethod(KCM_WEB_CASE_CISoapClient.java:318)
         at project1.proxy.KCM_WEB_CASE_CISoapClient.main(KCM_WEB_CASE_CISoapClient.java:116)
    Process exited with exit code 1.
    From the exception it is not clear what is missing or where am i going wrong. I have provided all the mandatory values required by the method.
    The create method generated needs almost 40 parameters, hence i am intializing all of them and sending it.
    Few parameters are INOUT or out mode, depending on that i even created the required holder etc.
    I dont have any access to peoplesoft logs, is there a way to debug this further.
    Basically i am stuck here as i am not able to decode this exception.
    Can anyone tell me where is it failing, is it a some formation error or is it creating a query at db and getting a sql error??
    as mentioned earlier, its very difficult to get access to db resources hence its becmong very difficult to debug the error.
    Any help will be appreciated.
    Thank you in advance
    Ashvini
    Edited by: [email protected] on Jun 7, 2010 7:49 AM
    Edited by: [email protected] on Jun 8, 2010 6:37 AM

    Hi, I have exact the same problem. Have you got any answer for this problem yet? Please forward it to me if you have one. Many thanks.

  • Attempting to insert a schema-invalid doc gives 'memory manager' error

    Hi
    I can successfully insert schema-valid XML documents into my BDB XML database by adding the appropriate xsi:schemaLocation elements to the document root element. However, when I intentionally remove a mandatory element from the document in order to make it invalid, for testing purposes, I receive (actually, trap) the following error message:
    "Exception code 0."
    "Error: nsToUTF8: no memory manager File: NsUtil.cpp Line: 159"
    whereas I would expect to see a message relating to validation errors. Looking at the source file NsUtil.cpp I can see that the code is trying to use a memory manager to deallocate some memory. I don't know how this relates to document validation and I'm not about to go fiddling with this particular piece of code!
    So, has anyone else encountered a similar problem, or at least have an idea as to what's going on here?
    We're using BDB XML 2.3.10 on Linux. And we're accessing BDB using the python interface. My code looks like this (with some bits removed for clarity):
    stream = mgr.createLocalFileInputStream(filename)
    doc.setContentAsXmlInputStream(stream)
    docValue = XmlValue(doc)
    cntnr.putDocument(txn, doc, uc, 0)
    Thanks in advance,
    Phil

    Phil,
    Try this patch. It'll probably be official soon:
    *** dbxml-2.3.10-original/dbxml/src/dbxml/nodeStore/NsSAX2Reader.cpp    Mon Oct 30 12:45:57 2006
    --- dbxml-2.3.10/dbxml/src/dbxml/nodeStore/NsSAX2Reader.cpp     Fri Oct 26 10:51:11 2007
    *** 1008,1016 ****
                              const XMLSSize_t colNum)
            int len = NsUtil::nsStringLen(errorText);
    !       xmlbyte_t buf[500];
    !       xmlbyte_t *bufp = buf;
    !       len = NsUtil::nsToUTF8((MemoryManager*)0, &bufp,
                                   errorText, len+1, 500);
            std::ostringstream s;
    --- 1008,1015 ----
                              const XMLSSize_t colNum)
            int len = NsUtil::nsStringLen(errorText);
    !       xmlbyte_t bufp = (xmlbyte_t ) fMemoryManager->allocate(500);
    !       len = NsUtil::nsToUTF8(fMemoryManager, &bufp,
                                   errorText, len+1, 500);
            std::ostringstream s;
    *** 1022,1028 ****
            s << " Parse error in document ";
            s << "at line, " << lineNum;
            s << ", char " << colNum;
    !       s << ". Parser message: " << buf;
            // log warnings as info, and errors as warning.
            // Neither is fatal to the program, and may be
            // what is expected.
    --- 1021,1027 ----
            s << " Parse error in document ";
            s << "at line, " << lineNum;
            s << ", char " << colNum;
    !       s << ". Parser message: " << bufp;
            // log warnings as info, and errors as warning.
            // Neither is fatal to the program, and may be
            // what is expected.

  • Trying to open link in email messages gives Attention:internal error

    Trying to open a link in an email sent to me yields message: Attention: internal error. No other info is given. I successfully opened this link a few days ago more than once, but now all I get is the error message noted above. What to do?

    Are you clicking the link on your webmail site (e.g., Hotmail, Yahoo! mail, Gmail) or in an external mail program (e.g. Windows Mail, Thunderbird)?
    If you compare the URL of the link to the URL of the error page, are they the same?
    If all the errors occur on the same site, try going to the top level of the site and...
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    orange Firefox button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try the links again. Any improvement?

  • I'm trying to update some apps and it gives me an error message saying " unknown error has occurred".  What does this mean

    I'm trying to update my apps and purchase a movie from itunes and it keeps saying "an unknown error has occurred."  How do I fix this?

    Trying to do both at the same time? Try updating the apps first. Maybe one at a time. Then try buying the movie.
    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • I recieved a notice that there was an update for Elements 13 but when I try to install it it stop's half way through then I get the error message that "updates could not be applied" I have tried several times and it continues to give me the error. What is

    I get a message that an update is available and when I install it the update stops half way through and I get the error code: U44M1I210 for Camera Raw and Elements 13.1 updates. I get the message "UPDATES COULD NOT BE APPLIED" Can someone help with this? Thank you. David

    drmeyers381
    Thanks for the follow up.
    Is your Premiere Elements 13 on Mac computer?
    I have not seen much in the way of alternatives coming from Adobe on the Premiere Elements 13.1 failed updates.
    But there seems to be several discussions on U44M11210 in the CC products...one
    Update failure. (U44M1I210) | Adobe Community
    You could try the uninstall, free ccleaner, reinstall with antivirus and firewall(s)  and then try for the Help Menu/Update for 13.1..
    If Mac, https://www.piriform.com/mac/ccleaner
    If Windows, CCleaner - PC Optimization and Cleaning - Free Download
    The CC people seem to have the advantage of an online download of their update as well as the one via the Help Menu/Update.
    Premiere Elements does not have that perk - update only via Help Menu/Update.
    Please review and consider and please let us know of your progress as your schedule permits.
    Thank you.
    ATR

  • I'm trying to update iMovie but it always gives me this error:

    "Update unavailable with this Apple ID either because it was bought by a different user or the item was refunded or cancelled." What's the problem?
    I have OS X version 10.9.2 (Mavericks)

    Hi jhinrik,
    Welcome to the Support Communities!
    The article below will get you connected with the iTunes Store Support.  These folks can review your account with you:
    iTunes Store & Mac App Store: Seeing your purchase history and order numbers
    http://support.apple.com/kb/ht2727
    Cheers,
    - Judy

  • HT201263 After new download my ipad 2 is stuck with the connect to itunes screen. I've tried to restore and it never works & gives me an error code. Nothing works

    I installed ios 7 to my ipad 2 and it remains in the connect to itunes screen. I have connected to itunes to restore over and over again and keep getting error code. No home screen since update.

    You are in Recovery Mode. Follow the instructions below to recover your iPad.
    http://support.apple.com/kb/ht4097

  • Oracle error ORA-01461when trying to insert into an ORACLE BLOB field

    I am getting Oracle error ‘ORA-01461: can bind a LONG value only  for insert into a LONG column' when trying to insert into an ORACLE BLOB field. The error occurs when trying to insert a large BLOB (JPG), but does not occur when inserting a small (<1K) picture BLOB.(JPG). Any ideas?
    BTW, when using a SQL Server datasource using the same code.... everything works with no problems.
    ORACLE version is 11.2.0.1
    The ORACLE datasource is JDBC using Oracle's JDBC driver ojdbc6.jar v11.2.0.1 (I also have tried ojdbc5.jar v11.2.0.1; ojdbc5.jar v11.2.0.4; and ojdbc6.jar v11.2.0.4 with the same error result.)
    Here is my code:
    <cfset file_mime = Lcase(Right(postedXMLRoot.objname.XmlText, 3))>
    <cfif file_mime EQ 'jpg'><cfset file_mime = 'jpeg'></cfif>
    <cfset file_mime = 'data:image/' & file_mime & ';base64,'>
    <cfset image64 = ImageReadBase64("#file_mime##postedXMLRoot.objbase64.XmlText#")>
    <cfset ramfile = "ram://" & postedXMLRoot.objname.XmlText>
    <cfimage action="write" source="#image64#" destination="#ramfile#" overwrite="true">
    <cffile action="readbinary" file="#ramfile#" variable="image_bin">
    <cffile action="delete" file="#ramfile#">
    <cfquery name="InsertImage" datasource="#datasource#">
    INSERT INTO test_images
    image_blob
    SELECT
    <cfqueryparam value="#image_bin#" cfsqltype="CF_SQL_BLOB">
    FROM          dual
    </cfquery>

    Can't you use "alter index <shema.spatial_index_name> rebuild ONLINE" ? Thanks. I could switch to "rebuild ONLINE" and see if that helps. Are there any potential adverse effects going forward, e.g. significantly longer rebuild than not using the ONLINE keyword, etc? Also wondering if spatial index operations (index type = DOMAIN) obey all the typical things you'd expect with "regular" indexes, e.g. B-TREE, etc.

  • Trying to insert a Large CLOB : connection reset by peer

    I am Trying to insert a Large CLOB .. i get this error message
    java.sql.SQLException: Io exception: connection reset by peer
    I am using a prepared statement to insert a Clob. It works fine with small data.
    Thanks for your help in advance.

    It might help if you gave more information - this probably depends on your database and driver, so giving info on them will help.

  • "The selected cells are read-only" error on Custom Field when trying to insert in Datasheet mode

    I have a custom field that works completely fine. Yesterday our QA team found out that when trying to insert in Datasheet format, the error "The selected cells are read-only" was thrown. Any ideas? I tried passing the following property to my fldtypes_field.xml file:
        <Field Name="ReadOnly">FALSE</Field>
    No luck.Victor Palma

    Unfortunately it did not work. I also developed the code and access the field and checked its property called "ReadOnlyField"  which is already set to false.
    Below is the xml that i am using. Can you please share the xml that you had used?
    <?xml version="1.0" encoding="utf-8"?>
    <FieldTypes>
      <FieldType>
        <Field Name="TypeName">MyCustomField</Field>
        <Field Name="ParentType">Text</Field>
        <Field Name="TypeDisplayName"> My Custom Field</Field>
        <Field Name="TypeShortDescription"> My Custom Field</Field>
        <Field Name="AllowBaseTypeRendering">True</Field>
        <Field Name="ReadOnlyField">False</Field>
        <Field Name="UserCreatable">TRUE</Field>
        <Field Name="ShowInListCreate">TRUE</Field>
        <Field Name="ShowInSurveyCreate">TRUE</Field>
        <Field Name="ShowInDocumentLibraryCreate">TRUE</Field>
        <Field Name="ShowInColumnTemplateCreate">TRUE</Field>
        <Field Name="FieldTypeClass">My Assembly Information goes here</Field>
      </FieldType>
    </FieldTypes>

  • Not able to insert in custom table.

    Hi All,
    I am trying to insert a row in a custom table.
    But getting the following error when the page opens up.
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for AllAreInOneEO.
    I am giving the details, what i have tried.
    Table
    create table apps.test_table
    PERSON_ID NUMBER(10) PRIMARY KEY,
    LAST_UPDATE_DATE DATE,
    LAST_UPDATED_BY NUMBER(15),
    LAST_UPDATE_LOGIN NUMBER(15),
    CREATED_BY NUMBER(15),
    CREATION_DATE DATE)
    AM
    package telenor.oracle.apps.ak.allareinone.server;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    // --- File generated by Oracle Business Components for Java.
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.jbo.Row;
    public class AllAreInOneAMImpl extends OAApplicationModuleImpl
    * This is the default constructor (do not remove)
    public AllAreInOneAMImpl()
    * Sample main for debugging Business Components code using the tester.
    public static void main(String[] args)
    launchTester("telenor.oracle.apps.ak.allareinone.server", "AllAreInOneAMLocal");
    * Container's getter for AllAreInOneVO1
    public AllAreInOneVOImpl getAllAreInOneVO1()
    return (AllAreInOneVOImpl)findViewObject("AllAreInOneVO1");
    public void createEmployee()
    System.out.println("3");
    OAViewObject vo = (OAViewObject)getAllAreInOneVO1();
    System.out.println("4");
    System.out.println(vo);
    System.out.println("4");
    if (!vo.isPreparedForExecution())
    System.out.println("In Exe -- Begin");
    vo.executeQuery();
    System.out.println("In Exe -- Begin");
    Row row = vo.createRow();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    } // end createEmployee()
    * Commits the transaction.
    public void Create()
    getTransaction().commit();
    } // end apply()
    Controller
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package telenor.oracle.apps.ak.allareinone.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    * Controller for ...
    public class AllAreInOneCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    if (!pageContext.isFormSubmission())
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createEmployee", null);
    } // end processRequest()
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am1 = pageContext.getApplicationModule(webBean);
    System.out.println("In Process Form Request");
    if (pageContext.getParameter("Create") != null)
    am1.invokeMethod("Create");
    Requesting everybody's help.
    Regards,
    Subhra

    Subhra,
    Your observation is correct. generally if you are working on a custom table or a table without the WHO columns, then you need to use your EO class as abstract.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                       

  • Visual Beans in JSP

    Hi All,
    Has anyone experimented with Visual beans in JSP? We are failing to represent visual beans in a JSP page. Someone suggested to use applets to bring in Swing thru JSP. But, the applets are pretty slow, specially for big UI. By putting it in JSP, would it make any difference performance-wise?
    Can someone give some ideas and answers?
    Thanks!
    AR

    I do not want to use Applets.
    I want to embed my cuustom visual java bean in a JSP page.
    I am trying to figure some way out.

  • Problem in using custom java beans

    Hi,
    We are using oracle JDeveloper 3.2.2 version for developing our Graphical User interface which
    involves Applets and custom beans.
    We faced the following problems when we tried to add the custom beans to JApplet.
    Problem 1. When I drag and drop the custom beans to JApplet, the gif image used by the bean is
    not displayed even when the gif image has been added in the archive file representing
    JavaBean
    Problem 2. When I modify the source code generated by Jdeveloper and come back to the design tab,
    the custom beans looses its look and feel and gets the look and feel of the standard
    bean from which it has been extended.
         For instance, I have a dropdownlist which has been extended from JCombobox.
         I drag and drop to the JApplet. The look and feel of the dropdownlist is
    maintained.
    Now I modify the source code for the dropdownlist in order to add items to it.
         After doing so, I come back to the design tab where i can see my dropdownlist
    appears with the look and feel of JCombobox.     

    HI,
    IF YOU create custom object the profile should be the same as standard.Also see whether the authorization object is added to the data target or not.
    Hope this helps
    Assign points if useful
    Regards,
    venkat

Maybe you are looking for

  • Can not insert/update data from table which is created from view

    Hi all I'm using Oracle database 11g I've created table from view as the following command: Create table table_new as select * from View_Old I can insert/update data into table_new by command line. But I can not Insert/update data of table_new by SI

  • Trouble Opening Illustrator on CS5.5

    I am using the Design Premium cs5.5 on my mac computer. I am having trouble opening the illustrator programme. All the other programmes in the suite work but when I go to open this one it opens to the 'initialising' page and then nothing. Ive tried r

  • How to download Flash Builder beta on a bad connection?

    I'm on a slow, unstable connection and 1gb is pretty hard to get without stalling and resuming multiple times, but resuming doesn't seem to work in labs for some reason - maybe my session times out? I usually use Free Download Manager to handle big f

  • Analysis Authorization - RSECADMIN

    Hello everybody, I have created an auth object (in RSECADMIN) and added appropriate values to 0PROFIT_CTR and 0TCAACTVT. I have assigned this auth object to a user, everything works fine so far. Question: We have about 100+ profit centers and hundred

  • Online number...lost?

    I signed-up for a skype online number but did not immediately put money on the account. The system indicated that the online number was reserved for me for 90 days (verified when I logged out and tried to choose that number again). Anyway, less than