Java/lang/VeryifyError

when I try to run this java app i get the java/lang/VerifyError
This is the .java file:
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
public class FlashLight extends MIDlet implements CommandListener {
Display display = null;
List menu = null;
static final Command turnoffCommand = new Command("Turn off", Command.STOP, 0);
public FlashLight() {
public void startApp() throws MIDletStateChangeException {
display = Display.getDisplay(this);
display.flashBacklight(30000);
TextField minute = new TextField("The flash light will stay on for 5 minutes unless terminated first.", "", 40, TextField.ANY);
Form input = new Form("Flash Light is on");
input.addCommand(turnoffCommand);
input.setCommandListener(this);
input.append(minute);
display.setCurrent(input);
public void pauseApp() {
display.flashBacklight(0);
notifyPaused();
public void destroyApp(boolean unconditional) {
notifyDestroyed();
public void commandAction(Command c, Displayable d) {
String label = c.getLabel();
if (label.equals("Turn off")) {
display.flashBacklight(0);
destroyApp(true);
This is the batch log:
JBlend Device Emulator
Copyright 2000-2005 Aplix Corporation. All rights reserved.
Platform Power on!
Params for NAppMain(): "-Xdescriptor:I:\Mobile Files\Java Apps\FlashLight\FlashL
ight.jad"
Params for NAppMain(): "-Xdevice:ROKR_E1"
=== service API trace: AmJBlendInitialize()
type: 2
bssAddress: 0x005ed000 bssSize: 0xa200
dataAddress: 0x0081a000 dataSize: 0xe088
initDataAddress: 0x01660048
-jam address 0x5ed790 : 0x5ed7b4
5ed000 : 5ed790
5ed7b4 : 5f7200
Pixel format is 16-bit RGB=555
[PushEventThread]thread starts.
VM variable initialization.
type: 2
bssAddress: 0x005ed000 bssSize: 0xa200
dataAddress: 0x0081a000 dataSize: 0xe088
initDataAddress: 0x01660048
-jam address 0x5ed790 : 0x5ed7b4
5ed000 : 5ed790
5ed7b4 : 5f7200
ExtLib: jarAddress:0x005f8a70 length:149198 jarReader:0x00000000
VM heap 0x01d6002c 0xc8000
ROMIZE byteCode Size ROM:237616 RAM:49
ALERT: java/lang/VerifyError: FlashLight.
kvm_main return code = 127
PrecheckUtil: save OK. result = -2
PrecheckUtil: load OK. result = -2
NAppVm Create VM Thread
AamsVmStartMIDP(vmId=1, heapSize=819200, heapAddr=1d6002c javaApp=16803a0 argc=0
jbVmVmStartMIDP(vmId=1,heapSize=819200,heapAddr=0x01d6002c)
jbVmVmInitialize(vmId=1,heapSize=819200,heapAddr=0x01d6002c
section bss address: 5ed000 size 41472
section data address: 81a000 size 57480
section size data 57480 bss 41472
section save size data 19029 bss 41472
all class blocks 761
instance class blocks 737
array class blocks 24
sizoef class blocks 45180
newHeapAddr=0x01d6ecdc, newHeapSize=758608
JBlend[micro] Copyright 2000-2004 Aplix Corporation. All rights reserved.
build date : 2005-12-07_00:53
VM variable initialization.
type: 2
bssAddress: 0x005ed000 bssSize: 0xa200
dataAddress: 0x0081a000 dataSize: 0xe088
initDataAddress: 0x01660048
-jam address 0x5ed790 : 0x5ed7b4
5ed000 : 5ed790
5ed7b4 : 5f7200
===> jbVmStartMIDP
vmId:1
heapAddr:0x1d6ecdc
heapSize:758608
EventHandler:417c49
vmParamCount:0
vmParams:0x167ff90
vmParamLens:0xfc67ac
===> JKT_MIDP_Application
jarAddr:0x1680424
jarSize:2779
jarRead:0x0
className:0
classNameLen:0
jadAddr:0xfc263c
jadSize:426
jadRead:0x0
trusted:0
ExtLib: jarAddress:0x005f8a70 length:149198 jarReader:0x00000000
VM heap 0x01d6ece8 0xb9344
ROMIZE byteCode Size ROM:237616 RAM:49
JkPrecheckValidateApplication(1) => -2
GCF Extension: Scheme:socket
GCF Extension: Scheme:datagram
GCF Extension: Scheme:file
GCF Extension: Scheme:comm
----- JB_VMEVENT_VM_STARTED callback begin.
[vmEvent] JK_VMEVENT_VMSTARTED
-N-A-P-P-_ VJMB__EVVMEENVTE_NSTT_AVRMT_ESDT ArReTcEeDi vceadl
lback end.
----- VM JK_VMEVENT_VMPAINTREADY callback begin.
[vmEvent] JK_VMEVENT_VMPAINTREADY
----- VM JK_VMEVENT_VMPAINTREADY callback end.
ALERT: java/lang/VerifyError: FlashLight.
kvm_main return code = 127
----- JB_VMEVENT_VM_STOPPED callback begin.
[vmEvent] JK_VMEVENT_VMSTOPPED
-N-A-P-P-_ VJMB__EVVMEENVTE_NSTT_OVPMP_ESDT OrPePcEeDi vceadl
lback end.
core exit status: 127
AamsVmStartMIDP return code = -127
jk_jabwt_terminate_bt
NAPP_VM_EVENT_THREAD_TERMINATE received
OptimizeRms() starting ...
OptimizeRms() done.
Could someone tell me what I've done wrong?

I just thought I would let you know that I changed the .java file without success.
Here is the new .java source:
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
public class FlashLight extends MIDlet implements CommandListener {
Display display = null;
Form menu = null;
StringItem warn = null;
public FlashLight() {
static final Command turnoffCommand = new Command("Turn off", Command.STOP, 0);
public void startApp() throws MIDletStateChangeException {
display = Display.getDisplay(this);
warn.setText("The flash light will stay on for 5 minutes unless terminated first.");
menu = new Form("Flash Light is on");
menu.append(warn);
menu.addCommand(turnoffCommand);
menu.setCommandListener(this);
mainMenu();
void mainMenu() {
display.setCurrent(menu);
display.flashBacklight(30000);
public void pauseApp() {
notifyPaused();
public void destroyApp(boolean unconditional) {
notifyDestroyed();
public void commandAction(Command c, Displayable d) {
String label = c.getLabel();
if (label.equals("Turn off")) {
display.flashBacklight(0);
destroyApp(true);
}

Similar Messages

  • Error while opening a dwg file :java.lang.NoSuchMethodException: Method

    Hello Experts,
    I tried to integrate WebCenter Content with Autovue ,the integration was good untill i get this error while trying to open a dwg file checked in Content Server using View in Autovue option in Actions :
    java.lang.NoSuchMethodException: Method fileOpen(com.cimmetry.core.SessionID, com.cimmetry.core.DocID, com.cimmetry.core.Authorization, <null>, java.lang.Boolean, <null>) not found in class com.cimmetry.jvueserver.VCETConnection
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ar.d(Unknown Source)
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ah.run(Unknown Source)
    Any suggestions would help me,
    Thanks in Advance
    Raj

    Hi Raj,
    The solution to this problem is posted in My Oracle Support:
    Error: "java.lang.NoSuchMethodException: Method fileOpen" when Trying to View Files Using AutoVue Integrated to Oracle Universal Content Management (UCM) (Doc ID 1341644.1).
    It has all the details, step by step.
    Jeff

  • Java.lang.NoSuchFieldError: ADFM_SINGLE_DC_FRAME Error While Running a Page

    Hi
    I am having a simple JSF Page when i try to run the page in Jdev 11g i am getting the following exception
    JSF Page Code:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" binding="#{backingBeanScope.backing_ContactList.d1}">
          <af:messages binding="#{backingBeanScope.backing_ContactList.m1}"
                       id="m1"/>
          <af:form id="f1" binding="#{backingBeanScope.backing_ContactList.f1}">
            <af:panelStretchLayout binding="#{backingBeanScope.backing_ContactList.psl1}"
                                   id="psl1">
              <f:facet name="bottom"/>
              <f:facet name="center"/>
              <f:facet name="start"/>
              <f:facet name="end"/>
              <f:facet name="top"/>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_ContactList-->
    </jsp:root><pre>
    Target URL -- http://127.0.0.1:7101/DataBoundApp-ViewController-context-root/faces/ContactList.jspx
    <Feb 5, 2010 11:44:54 AM GMT+05:30> <Error> <HTTP> <BEA-101020> <[ServletContext@1038384[app:DataBoundApp module:DataBoundApp-ViewController-context-root path:/DataBoundApp-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.NoSuchFieldError: ADFM_SINGLE_DC_FRAME
         at oracle.adf.model.BindingContext.getCurrentFrame(BindingContext.java:1930)
         at oracle.adf.model.BindingContext.setSessionContext(BindingContext.java:448)
         at oracle.adf.model.BindingRequestHandler.initializeBindingContext(BindingRequestHandler.java:371)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:182)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
         Truncated. see log file for complete stacktrace
    >
    <Feb 5, 2010 11:44:54 AM GMT+05:30> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Feb 5, 2010 11:44:54 AM GMT+05:30. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Feb 5, 2010 11:44:54 AM GMT+05:30 SERVER = DefaultServer MESSAGE = [ServletContext@1038384[app:DataBoundApp module:DataBoundApp-ViewController-context-root path:/DataBoundApp-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.NoSuchFieldError: ADFM_SINGLE_DC_FRAME
         at oracle.adf.model.BindingContext.getCurrentFrame(BindingContext.java:1930)
         at oracle.adf.model.BindingContext.setSessionContext(BindingContext.java:448)
         at oracle.adf.model.BindingRequestHandler.initializeBindingContext(BindingRequestHandler.java:371)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:182)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = HARIKEMPULA TXID = CONTEXTID = TIMESTAMP = 1265350494331
    </pre>
    can anybody please tell me what is the issue.

    Any body please help me on this. i am not getting why this error is coming?
    Regards
    Hari

  • Exception in thread "main" java.lang.NoClassDefFoundError

    Am using java 1.3.1 on Red Hat Linux 7.1
    i get this error
    Exception in thread "main" java.lang.NoClassDefFoundError
    while running a simple program HelloWorld.java
    help

    When you use the "java" command, the only required argument is the name of the class that you want to execute. This argument must be a class name, not a file name, and class names are case sensitive. For example, "java HelloWorld.java" won't work because the class name isn't HelloWorld.java, it's HelloWorld. Similarly, "java helloworld" won't work because a class defined as "public class HelloWorld {" is not named helloworld due to case sensitivity. Finally, the .class file must be in a directory that is in the Classpath - that's where java.exe searches to find the file that contains the class.

  • Java.lang.Exception: Overwriting file

    Hi All,
    We are having some trouble with one of our interfaces where XI creates files in append mode and gets the filename from the Payload. From last couple of days, we are getting the below error for some reason. There are no other extra config setups in the file CC.
    Any help to figure out the issue would be highly appreciated.
    2008-08-12 14:04:56 Error Attempt to process file failed with java.lang.Exception: Overwriting file '
    host\folder\otci001\Archive\08122008_140453_OTCI001.txt' not allowed due to configuration flag
    2008-08-12 14:04:56 Error Exception caught by adapter framework: Overwriting file '
    host\folder\otci001\Archive\08122008_140453_OTCI001.txt' not allowed due to configuration flag.
    Thanks,
    AJ.

    HI,
    Once the file is appended, are you doing any further processing with file. because the error "not allowed due to configuration flag" and as youhave said its not for al the messages indicates to single point.
    If the attempt to append the data in file if in case that is in processing and have locked with some other process flow marked after XI...
    You may also need to look into the FTP log details...for more details
    Thanks
    Swarup

  • Sender  Mail Adapter - java.lang.NullPointerException in CC monitoring

    hi,
    I configured my Sender Mail Adapter correctly.
    I have the correct POP URL, authentication. I'm not using PayloadSwapBean right now.
    I can't get rid of the exception inside my Channel monitoring.
    exception caught during processing mail message; java.lang.NullPointerException
    does anyone know why?
    I've been told the POP account has emails already.
    I will try to create an outlook account for this POP e-mail account in the mean time to see the e-mails.
    Thank you

    thanks aaron.
    I don't see the folder ./SYS/../j2ee/...
    will it be under another folder?  I don't see a trace log folder either.
    I think the problem might be in the Module tab.
    I tried.
    AF_Modules/PayloadSwapBean
    localejbs/AF_Modules/PayloadSwapBean
    /localejbs/AF_Modules/PayloadSwapBean
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    /localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    they all produce the same error. I wonder if these Beans actually exist.
    I think we might have to reinstall this Mail Adapter altogether.
    Or maybe it's really the connection to the Mail Server. But would it display this kind of message.
    This is what I'm looking at.
    Also, i had to use this URL
    pop://server:995/
    (995 is using SSL and it is the default port).  When I use this, I see the Java Null Pointer Exception a lot less frequently. Weird.

  • OID can not display some users - java.lang.ArrayIndexOutOfBoundsException:0

    We have set up AD to OID synchronization for users and groups using Import connector, and it worked fine. The users in OID can log into applications protected by OAM. But recently I found that some users that could be displayed in OID before can not be displayed now. If I click on the DN in Oracle Directory Manager, a error window pops up. It is a long error message, and the first a few lines are as follows :
    0
    java.lang.ArrayIndexOutOfBoundsException:0
    at oracle.ldap.admin.AttrOptions.<init>(entry.jave:3151)
    at Oracle.ldap.admin.Entry.getProp(entry.java:457)
    I don't see any error message in the integration profile or log files. I am testing things on an account that is having this trouble, and the strange thing is that it can not log into application protected by OAM any more, but it can log into OAM console.
    We use OID 10.1.2.3 on Windows, and OAM 10.1.4.0.1.
    I searched in Metalink but didn't find anything helpful. Any help is appreciated. Thanks for your time.
    Hailie

    Pramod,
    Thank you for your reply. Please see below my answers to your questions:
    -> Do you see any pattern in the users (DN) that are unable to be displayed/login?
    Yes I do see some pattern. There is one change on the problem user's dn - the "\" after the last name is gone.
    Before: cn=smith\, john, cn=users,dc=abc,dc=com
    Now: cn=smith, john, cn=users,dc=abc,dc=com
    However I check in Active directory "\" is presented. In OID if I right click on cn=smith, john and try to delete it, I got a error message "LDAP: error code 34 - Error in DN Normalization". Is that caused by the missing of "\"?
    -> Does ldapsearch on these users (with all attributes) show something (special chars, etc)?
    ldapsearch on cn=cn=smith, john,cn=users,dc=abc,dc=com returns no objects:
    $ldapsearch -L -D "cn=orcladmin" -w "*****" -h host -p 389 -b "cn=smith, john,cn=users,dc=abc,dc=com" -s sub "objectclass=*"
    ldap_search: No such object
    ldap_search: matched: cn=Users, dc=abc,dc=com
    Ldap search on cn=smith\, john,cn=users,dc=abc,dc=com:
    $ldapsearch -L -D "cn=orcladmin" -w "*****" -h host -p 389 -b "cn=smith\, john,cn=users,dc=abc,dc=com" -s sub "objectclass=*"
    dn: cn="smith, john",cn=users,dc=abc,dc=com
    uid: [email protected]
    employeenumber: 916963
    cn: smith, john
    registeredaddress: 512
    krbprincipalname: [email protected]
    orclsamaccountname: ABC.COM$JSmith
    sn: johnsmith
    displayname: John
    orclobjectguid: lJO0N+8H4UW/30yHukSfsw==
    orclobjectsid: AQUAAAAAAAUVAAAAohxTYWIV3XFeP55cYjwAAA==
    orcluserprincipalname: [email protected]
    objectclass: oblixorgperson
    objectclass: inetorgperson
    objectclass: orcluserv2
    objectclass: person
    objectclass: orcladuser
    objectclass: organizationalPerson
    objectclass: top
    obver: 10.1.4.0
    -> Do you see the same behavior when you use any generic LDAP browser (Ex: Apache Directory Studio) instead of ODM?
    I don't have Apache Directory Studio installed yet. I will try that later.
    -> Does the changelog for the particular synch (for the affected users) show something?
    Here is what I found in ActiveChgImp.aud
    (weeks ago)
    97426524 : Success : MODIFY : cn=smith\, john,cn=users,dc=abc,dc=com
    (Recently change - The back slach after smith was gone, and "" showed up)
    97469970 : Success : MODIFY : cn="smith, john",cn=users,dc=abc,dc=com
    -> If login to OAM is possible, can the user modify his/her profile, and does it save the changes? If it does, can you try logging in to apps?
    This user can log into OAM identity system, but when I click on "My profile" under "User manager", I got a error message "You do not have sufficient access rights".
    If I log into identity system as orcladmin, I was able to modify it and save the changes. But in OID the user is still not displayed. Same error message. When I tried to add it as administrator, I could search on it, add it, but when I press "done", it didn't show up on the admin list. The users that can be displayed in OID can be added to admin list without a problem.
    Thanks,
    Hailie

  • Data Federator Connection to R3 - java.lang.NullPointerException

    Hi.
    We are trying to add a SAP R3 DataSource in Data Federator XI 3.0 SP2.
    Test Connection gives us the following message: "The connection was established but there is no table for the given connection parameters", what it seems to be ok according to the SAP doc.
    However, when we try to get a list of the Functions or Infosets in the SAP system, an error comes because of a "java.lang.NullPointerException". Checking the application log we get the following:
    2010/03/30 12:21:27.059|<=|||0|26537104| |||||||||||||||"[LeSelect.Api.LSStatementImpl] - [Execution Thread 4]Executing query: CALL executeConnectorCommand '/TEST//TEST/user_bla/sources/draft/R3SYS', 'GET_FUNCTION_LIST * * 200'"
    2010/03/30 12:21:27.074|>=|E||0|26537104| |||||||||||||||"[LeSelect.Core.n] - [Execution Thread 4]Bad Wrapper Error:
    java.lang.NullPointerException
         at LeSelect.Wrappers.SAPR3.H.F(y:343)
         at LeSelect.Wrappers.SAPR3.H.executeCommand(y:285)
         at LeSelect.Core.B.D.R(y:151)
         at LeSelect.Core.QueryEngine.H.p.G(y:131)
         at LeSelect.Core.QueryEngine.H.p.A(y:105)
         at LeSelect.Core.QueryEngine.B.J.A(y:72)
         at LeSelect.Core.QueryEngine.Executor.y.A(y:227)
         at LeSelect.Core.QueryEngine.m.A(y:284)
         at LeSelect.Api.LSStatementImpl.lsExecuteQuery(y:314)
         at LeSelect.B.E.D.V(y:935)
         at LeSelect.B.E.K.B(y:105)
         at LeSelect.B.E.G$_A.run(y:691)"
    We registered the callback program and did all of the steps indicated for the installation, also checked the possible sources of the error according to OSS Note 1278491.
    Any idea how to solve this? Thanks.

    Hello, we have the similar problem: while connecting from Data Federator to SAP ERP we get the following error - "Wrapper /ZTEST/sources/ZTEST reported an exception which is not a WrapperException: java.lang.NullPointerException: null"
    It's necessary to install "SAP BusinessObjects Data Federator Infoset, SAP Query and ABAP Functions Connector Prototype"
    SAP BusinessObjects Web Intelligence Reporting for SAP ERP
    for connection to SAP ERP.
    Are there any ideas? Thanks

  • Cannot convert ÿØÿà of type class java.lang.String to class BFileDomain.

    Hi All,
    I am using Jdeveloper 11.1.2.3.0.
    I have a scenario of making an ADF page where I have a IMAGE field to show on the page. So,I have a table called "PRODUCT" with fields called photo with BFILE type. Now when I the data i have inserted using the DML command and i can see the path at the backend.
    However,when i am runnig my ADF page in the Filed called "PHOTO" I can only see a junk character stating 'yoyo'.
    When I click on it, it says ERROR "Cannot convert ÿØÿà of type class java.lang.String to class oracle.jbo.domain.BFileDomain".
    Your help will be appreciated ASAP.
    Regards,
    Shahnawaz

    Hi,
    did you show the id-value in the user interface as a input-component, and did the input-component include a converter?
    If yes, show the id as output-text and remove any existing converter-components.
    Best Regards

  • Cannot convert type class java.lang.String to class oracle.jbo.domain.Clob

    Cannot convert type class java.lang.String to class oracle.jbo.domain.ClobDomain.
    Using ADF Business Components I have a JSFF page fragment with an ADF form based on a table with has a column of type CLOB. The data is retrieved from the database and displayed correctly but when any field is changed and submitted the above error occurs. I have just used the drag and drop technique to create the ADF form with a submit button, am I missing a step?
    I am using the production release of Jdeveloper11G

    Reproduced and filed bug# 7487124
    The workaround is to add a custom converter class to your ViewController project like this
    package oow2008.view;
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.convert.Converter;
    import javax.faces.convert.ConverterException;
    import oracle.jbo.domain.ClobDomain;
    import oracle.jbo.domain.DataCreationException;
    public class ClobConverter implements Converter {
         public Object getAsObject(FacesContext facesContext,
                                   UIComponent uIComponent,
                                   String string) {
           try {
             return string != null ? new ClobDomain(string) : null;
           } catch (DataCreationException dce) {
             dce.setAppendCodes(false);
             FacesMessage fm =
               new FacesMessage(FacesMessage.SEVERITY_ERROR,
                                "Invalid Clob Value",
                                dce.getMessage());
             throw new ConverterException(fm);
         public String getAsString(FacesContext facesContext,
                                   UIComponent uIComponent,
                                   Object object) {
           return object != null ?
                  object.toString() :
                  null;
    }then to register the converter in faces-config.xml like this
    <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
      <application>
        <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
      </application>
      <converter>
        <converter-id>clobConverter</converter-id>
        <converter-class>oow2008.view.ClobConverter</converter-class>
      </converter>
    </faces-config>then reference this converter in the field for the ClobDomain value like this
              <af:inputText value="#{bindings.Description.inputValue}"
                            label="#{bindings.Description.hints.label}"
                            required="#{bindings.Description.hints.mandatory}"
                            columns="40"
                            maximumLength="#{bindings.Description.hints.precision}"
                            shortDesc="#{bindings.Description.hints.tooltip}"
                            wrap="soft" rows="10">
                <f:validator binding="#{bindings.Description.validator}"/>
                <f:converter converterId="clobConverter"/>
              </af:inputText>

  • Error during generation of the WSDL:  BUILD FAILED java.lang.NoClassDefFoundError: com/sun/javadoc/Type

    When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
    As I understand it seems that there is a problem with the classpath of ant build.xml  that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
    I found this in Oracle, but not helps solve the problem:
    BEA-398120
    Error: The WSDL for the typed transport endpoint could not be accessed.
    Description
    There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
    Action
    Contact technical support
    This is the the full stacktrace that shows eclipse.
    Generate : Error during generation of the WSDL:
    BUILD FAILED
    java.lang.NoClassDefFoundError: com/sun/javadoc/Type
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
            at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
            at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
            at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
            at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
            at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
            at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
            at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
            at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
            at org.apache.tools.ant.Task.perform(Task.java:348)
            at org.apache.tools.ant.Target.execute(Target.java:357)
            at org.apache.tools.ant.Target.performTasks(Target.java:385)
            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
            at org.apache.tools.ant.Main.runBuild(Main.java:758)
            at org.apache.tools.ant.Main.startAnt(Main.java:217)
            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
            at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
            at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
            at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            ... 27 more
    Total time: 0 seconds
    Eclipse Installation details:
    *** System properties:
    eclipse.application=org.eclipse.ui.ide.workbench
    eclipse.buildId=M20110909-1335
    eclipse.commands=-os
    linux
    -ws
    gtk
    -arch
    x86_64
    -showsplash
    -launcher
    {home}/Development/oepe-indigo/eclipse
    -name
    Eclipse
    --launcher.library
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
    -startup
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    --launcher.overrideVmargs
    -exitdata
    1e418010
    -vm
    /usr/bin/java
    eclipse.home.location=file:{home}/Development/oepe-indigo/
    eclipse.launcher={home}/Development/oepe-indigo/eclipse
    eclipse.launcher.name=Eclipse
    [email protected]/../p2/
    eclipse.p2.profile=PlatformProfile
    eclipse.product=org.eclipse.platform.ide
    eclipse.startTime=1374623921455
    eclipse.vm=/usr/bin/java
    eclipse.vmargs=-Xms256m
    -Xmx768m
    -XX:MaxPermSize=512m
    -Dsun.lang.ClassLoader.allowArraySyntax=true
    -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
    -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
    -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
    -Dosgi.bundlefile.limit=750
    -Dosgi.nl=en_US
    -Dmiddleware.home={home}/Oracle/Middleware
    -jar
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    equinox.use.ds=true
    file.encoding=UTF-8
    file.encoding.pkg=sun.io
    file.separator=/
    guice.disable.misplaced.annotation.check=true
    harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
    http.nonProxyHosts=localhost
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.awt.printerjob=sun.print.PSPrinterJob
    java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    java.class.version=50.0
    java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
    java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
    java.home=/usr/lib/jvm/jdk1.6.0_45/jre
    java.io.tmpdir=/tmp
    java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
    java.runtime.name=Java(TM) SE Runtime Environment
    java.runtime.version=1.6.0_45-b06
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.6
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.6.0_45
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=20.45-b01
    javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
    javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
    jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
    line.separator=
    middleware.home={home}/Oracle/Middleware
    oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
    org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
    org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
    org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
    org.eclipse.update.reconcile=false
    org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
    org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
    org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
    org.osgi.framework.language=en
    org.osgi.framework.os.name=Linux
    org.osgi.framework.os.version=3.8.0
    org.osgi.framework.processor=x86-64
    org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
    org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
    org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
    org.osgi.framework.vendor=Eclipse
    org.osgi.framework.version=1.6.0
    org.osgi.supports.framework.extension=true
    org.osgi.supports.framework.fragment=true
    org.osgi.supports.framework.requirebundle=true
    os.arch=amd64
    os.name=Linux
    os.version=3.8.0-26-generic
    osb.home={home}/Oracle/Middleware/Oracle_OSB1
    osgi.arch=x86_64
    osgi.bundlefile.limit=750
    osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
    osgi.bundles.defaultStartLevel=4
    osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
    osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
    osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
    osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
    osgi.framework.shape=jar
    osgi.framework.version=3.7.1.R37x_v20110808-1106
    osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
    osgi.install.area=file:{home}/Development/oepe-indigo/
    osgi.instance.area=file:{home}/workspace/pragma/
    osgi.instance.area.default=file:{home}/workspace/
    osgi.logfile={home}/workspace/pragma/.metadata/.log
    osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
    osgi.nl=en_US
    osgi.nl.user=en_US
    osgi.os=linux
    osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    osgi.splashPath=platform:/base/plugins/org.eclipse.platform
    osgi.syspath={home}/Development/oepe-indigo/plugins
    osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
    osgi.ws=gtk
    path.separator=:
    securerandom.source=file:/dev/./urandom
    socksNonProxyHost=localhost
    sun.arch.data.model=64
    sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
    sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
    sun.cpu.endian=little
    sun.cpu.isalist=
    sun.desktop=gnome
    sun.io.unicode.encoding=UnicodeLittle
    sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    sun.java.launcher=SUN_STANDARD
    sun.jnu.encoding=UTF-8
    sun.lang.ClassLoader.allowArraySyntax=true
    sun.management.compiler=HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level=unknown
    svnkit.http.methods=Basic
    svnkit.library.gnome-keyring.enabled=false
    user.country=AR
    user.dir={home}/Development/oepe-indigo
    user.home={home}
    user.language=es
    user.name={username}
    user.timezone=America/Argentina/Buenos_Aires
    weblogic.home={home}/Oracle/Middleware/wlserver_10.3
    Thanks!!

    run this one in command prompt and then convert the applet using converter tool
    JC_HOME = C:\java_card_kit-2_2_2\bin\
    set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
    D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
    verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
    0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
    6:0x07:0x08 1.0
    or
    go to following directory and run the converter tool in command prompt
    step 1: cd C:\java_card_kit-2_2_2\bin\
    then run this command under the above directory
    step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
    For more doubts mail me....
    *[removed by moderator]*
    Thanks and Regards
    NareshPalle
    Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever.

  • Java.lang.NoClassDefFoundError: com/sapportals/wcm/util/pcr/PortalComponent

    Hi All,
    I am getting the following Portal Runtime error while accessing the KM Content on Content Administration.
    In the error log following class is involved com.sapportals.wcm.portal.component.base.ControllerComponent
    The error caused by: Caused by: java.lang.NoClassDefFoundError: com/sapportals/wcm/util/pcr/PortalComponentRequestCache
    Can you pls help me on this ?
    Detailed error log
    << item 0 : >>#1.5#0013725D3B3B00690000011D0000EF74000435FB36917386#1185252975455#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#10268883#40896##MB1ES1005.idcsap_EC6_11485350#10268883#f6cefb3039a111dc95b40013725d3b3b#SAPEngine_Application_Thread[impl:3]_22##0#0#Error#1#/System/Server#Java###Exception ID:10:26_24/07/07_0201_11485350
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.content_administration/com.sap.portal.content_admin_ws/com.sap.km.AdminContent/com.sap.km.AdminContentExplorer/com.sap.km.AdminExplorer
    Component class : com.sapportals.wcm.portal.component.base.ControllerComponent
    User : 10268883
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:174)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.NoClassDefFoundError: com/sapportals/wcm/util/pcr/PortalComponentRequestCache
    at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:72)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    ... 29 more
    Thanks in advance and warm regards
    Purnendu

    Hi,
    Redeploy the <b>com.sap.netweaver.bc.util.par</b> file and check if <b>bc.util.private_api.jar</b> file is present on your server.
    c:usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.netweaver.bc.util\lib\bc.util.private_api.jar
    Greetings,
    Praveen Gudapati

  • Java.lang.NoClassDefFoundError:Couldnot initialize class com.sap.mw.jco.JCO

    Hi,
    I am having an issue with SAP adapter configuration. It throws below error in log files :
    java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjcorfc in java.library.path]. java.library.path [opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386/client:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/../lib/i386:/opt/apps/Oracle/patch_wls1032/profiles/default/native:/opt/apps/Oracle/patch_jdev1111/profiles/default/native:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386/client:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/../lib/i386:/opt/apps/Oracle/patch_wls1032/profiles/default/native:/opt/apps/Oracle/patch_jdev1111/profiles/default/native:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686/oci920_8:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686/oci920_8:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin]
    java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO
    Invoking SAP targets from bpel or iwafjca test servlet fails with "java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO."
    I am able to connect from Application Explorer(AE) and browse through idocs and bapis. I tried to check the class loading pattern for AE using Jconsole :
    1. Started the AE
    2. /opt/apps/Oracle/jdk1.6.0_19/bin/jps
    15279 BseFlashScreen
    3. /opt/apps/Oracle/jdk1.6.0_19/bin/jconsole 15279
    Enabled verbose output on class loading page and connected to SAP target from AE
    4. The verbose output shows below :
    Loaded com.sap.mw.jco.JCO from file:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib/sapjco.jar
    I have added the above path to my LD_LIBRARY_PATH
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${MW_HOME}/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib:${MW_HOME}/user_projects/domains/base_domain/lib:${WL_HOME}/server/native/linux/${arch}/oci920_8
    I also added the path to WEBLOGIC_CLASSPATH in commEnv.sh file.
    The sapjco.jar, libsapjcorfc.so and librfccm.so files are also available under below directories
    WL_HOME/server/lib
    MW_HOME/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib
    MW_HOME/user_projects/domains/base_domain/lib
    Any suggestions will be really helpful.
    Regards
    Subhankar

    Hi Manoj,
    I have added the libsapjcorfc.so and librfccm.so files to below locations:
    WL_HOME/server/lib
    MW_HOME/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib
    MW_HOME/user_projects/domains/base_domain/lib
    And also set the LD_LIBRARY_PATH and WEBLOGIC_CLASSPATH in commEnv.sh file.
    Eg:
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${MW_HOME}/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib:${MW_HOME}/user_projects/domains/base_domain/lib:${WL_HOME}/server/native/linux/${arch}/oci920_8
    Is there any other location where these need to be added ? I hope library path/system path refers to the WEBLOGIC_CLASSPATH ?
    Regards
    Subhankar

  • Com.sap.xmii.Illuminator.logging.LHException: java.lang.NoClassDefFoundErro

    Hello,
    Intermittently users get the following error when logging into the application which is built upon xmii:
    com.microsoft.sqlserver.jdbc.SQLServerResource
    At this point in the application it is trying to read information which is stored in a SQLServer database.
    We see the following errors in trace files:
    application [XMII] Processing HTTP request to servlet [Illuminator] finished with error.
    The error is: com.sap.xmii.Illuminator.logging.LHException: com.sap.xmii.Illuminator.logging.LHException: java.lang.NoClassDefFoundError: com.microsoft.sqlserver.jdbc.SQLServerResource
    Exception id: [00145E4D6... [see details]
    This is running on a NW JavaAs 7.0 SP18, MII 12.0 SP8.
    We've replaced the JDBC driver with one which SAP support told us would work, but that did not fix the problem either.
    We can get the problem to go away for a period of time by simply disabling and then re-enabling the Data Server connection.  It is using the IDBC Connector with a SQL connector type.  STATUS shows No. Connections Used 0, No. Connections Available 1, Max No. Connections Used 2.  Max. Wait Time 0.0.
    Ideas?

    Hi John,
    Before connecting SQL server with SAP MII, try connecting SQL server independently.
    It helps to narrow down the problem.
    If the independent connection works fine, try connecting with SAP MII with proper JDBC drivers
    Go through the SAP Note 1109274 & forum MII 12.1 - connection to MS SQL2005 database
    for more information on JDBC drivers.
    Thanks
    Rajesh Sivaprakasam.

  • Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationSe

    I'm using a User defined function "getFGN" to call a Java Class developed in NWDS. the source in NWDS has no errors when it is build. But when i Run the code i get error below.
    Buy using the Debugging facility in NWDS i can see that the problem is this code linie:
    <i>SldApplicationServiceInterface srvContext = (SldApplicationServiceInterface) jndiContext.lookup(SldApplicationServiceInterface.KEY);</i>
    <u><b>NWDS Log</b></u>
    07:50:12 Start of test
    Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[“invoicenumber”, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[“invoicenumber”, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:186)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:298)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:63)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:77)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Root Cause:
    java.lang.reflect.InvocationTargetException
    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:324)
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:186)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:298)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:63)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:77)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface
    at com.danfoss.xi.mapping.util.GenerateFileNumber.getFileGeneratedNumber(GenerateFileNumber.java:53)
    at com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_.getFGN$(_SAP_APPL_Invoice_to_CustomerInvoice_.java:2556)
    ... 29 more
    RuntimeException in Message-Mapping transformation: Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[“invoicenumber”, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]

    Hi,
    Looks like your CLASSPATH is not set properly...Just try to Put the Jar inside "<DOMAIN_HOME>\lib" directory...in that case u need not to alter anything in the Classpath variable...it will be appended at the end of Classpath at the run time, Using Extended Directory ClassLoader.
    by default Classpath settings doesnt take effect if we specify it in the startScript of Servers but we start them using NodeManagers...So if you are using Nodemanagers to start your Servers... then you can follow the below link to set the Classpath & Memory Arguments http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here)

Maybe you are looking for