Adding generics causes error in code

Hi,
I have written a method to see if a supplied array of enums contains the specified enum.
The first version of the code had warnings:-
public static boolean enumInList(Enum type, Enum[] typesList) {
          if (type == null) {
               return (true);
          for (Enum enum1 : typesList) {
               if ((type.compareTo(enum1) == 0)) {
                    return (true);
          return (false);
     }...the warnings were 'Enum is a raw type. References to generic type Enum<E> should be parameterized'
When I removed these the code looks as follows:-
public static boolean enumInList(Enum<?> type, Enum<?>[] typesList) {
          if (type == null) {
               return (true);
          for (Enum<?> enum1 : typesList) {
               if ((type.compareTo(enum1) == 0)) {
                    return (true);
          return (false);
     }The warnings disappeared but the 'compareTo' now as a serios error which says:-
The method compareTo(capture#2-of ?) in the type Enum<capture#2-of ?> is not applicable for the arguments (Enum<capture#3-of ?>)
So by removing the warnings I have made the code worse but removing the warnings is the correct thing to so.
Therefore is there a way i can write to code to have both no warnings or errors but without having to resort to using annotation to suppress the warnings.
Thanks,
Dave.

the warning message is telling you that the enum compareTo method is expecting an enum of the same type, whereas your method definition specifies two enums of potentially different types. you should need to introduce a generic type indicating that the two enum types are equivalent:
public static <E extends Enum<E>> boolean enumInList(Enum<E> type, Enum<E>[] typesList)this will indicate that you expect 2 enum params with the same type.
that said, i have no idea why you are using compareTo to test for equality. either use "type.equals(enum1)", or better yet, "type == enum1" (which has the benefit of being null-safe).

Similar Messages

  • Oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

  • Error: There was a failure to call cluster code from a provider. Exception message: Generic failure . Status code: 5015. SQL 2012 SP1

    Hi,
    Please help. I was trying to remove a SQL 2012 SP1 two node clustered instance using setup (Mantenance -> Remove Node)
    I started by doing this on passive node (and was successful) but when I ran setup on active node just before finishing successfully I got this error:
    TITLE: Microsoft SQL Server 2012 Service Pack 1 Setup
    The following error has occurred:
    The resource 'BCK_SG1DB' could not be moved from cluster group 'SQL Server (SG1DB)' to cluster group 'Available Storage'. 
    Error: There was a failure to call cluster code from a provider. Exception message: Generic failure . Status code: 5015.
    Description: The operation failed because either the specified cluster node is not the owner of the resource, or the node
    is not a possible owner of the resource.
    For help, click:
    http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3000.0&EvtType=0xE8049925%25400x42B4DED7
    BUTTONS:
    OK
    I noticed that SG1DB instance was removed on both nodes but on Failover Cluster Manager -> Services and Applications the SQL server instance for SG1DB is still there. So I tried to delete it but got the error:
    Failed to delete SQL Server SG1DB. An error was encountered while deleting the cluster service or
    application SQL Server SG1DB. Could not move the resource to available storage. An error occured
    while moving the resource BCK_SG1DB to the clustered service or application Available Storage
    Any ideas why it failed or how could I delete the SQL server instance from Clauster?
    Thx

    Hello,
    Please read the following resource.
    https://support.microsoft.com/en-us/kb/kbview/313882?wa=wsignin1.0
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Code 91 - Caused Error: (Object variable or With block variable not set)

    Hi,
    We are using FDM 9.3.1. We have enabled batch processing.
    We are having following process being followed
    - Batch Loader script will pull the data from dwh table for each entity, scenario, year and period
    - Batch processing is set to serial and processlevel set to Up-To-Check
    - We had following five files created for Location - EMAFF100
    i. 1_EMAFF100_ACT_May-2011_RR.txt
    ii. 1_EMAFF100_ACT_Jun-2011_RR.txt
    iii. 1_EMAFF100_ACT_Jul-2011_RR.txt
    iv. 1_EMAFF100_ACT_Aug-2011_RR.txt
    v. 1_EMAFF100_ACT_Sep-2011_RR.txt
    Batch loader process completed the processing for May - 2011, Jul - 2011, Aug-2011, Sep-2011.
    But for Jun 2011 it has given the following error in the 'tbatchinformation' table and failed at import stage.
    40751.6239236111 1_EMAFF100_ACT_JUN-2011_RR.TXT 2 2 91-Object variable or With block variable not set
    When we checked the view error log from tool menu we found following
    ** Begin FDM Runtime Error Log Entry [2011-07-27-14:58:29] **
    ERROR:
    Code......................................... 91
    Description.................................. File [1_EMAFF100_ACT_Jun-2011_RR.txt] Caused Error: (Object variable or With block variable not set)
    Procedure.................................... clsBatchLoader.mFileCollectionProcess
    Component.................................... upsWBatchLoaderDM
    Version...................................... 931
    Thread....................................... 5600
    IDENTIFICATION:
    User......................................... ncreighton
    Computer Name................................ HYAPSDEV1
    App Name..................................... EMATTEST
    Client App................................... WebClient
    CONNECTION:
    Provider..................................... ORAOLEDB.ORACLE
    Data Server..................................
    Database Name................................ hydev_serv
    Trusted Connect.............................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location..................................... EMAFF100
    Location ID.................................. 762
    Location Seg................................. 16
    Category..................................... ACT
    Category ID.................................. 13
    Period....................................... Jun - 2011
    Period ID.................................... 30/06/2011
    POV Local.................................... False
    Language..................................... 1033
    User Level................................... 1
    All Partitions............................... False
    Is Auditor................................... False
    We then re submitted data for Jun period and saw batch process got successfully completed and June data got imported successfully and also rest other processes got through.
    Can any one provide exact cause for this error? As we have automated the data load from DWH to FDM And then to HFM. Hence when such error comes it disturbs lot of processing there on. Appreciate your early response.
    Thanks in advance.

    Hi SAP collegues,
    At my site, BPC Excel created this problem too "Object Variable or With Block Variable not set" .
    It turned out that this is symptom of a a dys-functioning BPC COM Plug-in in XL2007 or XL2010!
    This is a consequence that your Excel recently crashed while using BPC. And it relates to an Excel Add-in becoming disabled when the applications crashes.  Please check the following.
    Note before doing the following, close all other open Excel and BPC sessions.
    Within Excel go to File à Options
    Select the Add-Ins option on the left
    Select the <<COM Add-ins >> option in the Manage drop down, and click Go
    Make sure that the Planning and Consolidation option is selected.  If not, mark this box and click OK.
    If you do not see anything listed, return to the Add-in screen and select the Disabled Items option, and see if Planning and Consolidation is listed there.
    Let me know if you have any queries,
    Kind Regards,
    robert ten bosch

  • Dud battery causing error code 23?

    Got an issue with a 3g:
    First off it won't turn on without being connected to a power supply or a machine via USB.
    Next, when power on the apple logo appears, for about 30secs, then fade and disappears. During this period it's not seen by iTunes.
    If I then hold the power and home button long enough I get the plug into itunes logo. I plug it in, iTunes sees it, and says the phone is in recovery. It asks if I want to restore, if I select yes it starts the restore then gives the code 23 error.
    I don't know the firmware the iphone is on, it was bought in this state.
    I'm on a mac with the latest version of iTunes.
    I've googled that error 23 is hardware failure, given the fact the phone won't power on without being connected I'm wondering if the battery is dud, and that this is causing the error 23.
    Anyone any ideas or experience of this?
    Thanks.

    Little bit more info:
    If I try to restore to 3.1.2 & 4.1 I get the error message code 23. If I try to restore to 4.0 I get a message saying the device is not eligible for the requested build.

  • Root cause error code is JBO-29000 ?

    Hi guys,
    anyone can help me? Thanks!
    Jdeveloper:11.1.2.3.0
    Need Connect to DB2 database.
    Application server:Weblogic
    Error 500--Internal Server Error
    oracle.jbo.JboException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-29000. Error message parameters are {0=java.lang.NoClassDefFoundError, 1=com/ibm/db2/jcc/DB2Connection}
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:487)
         at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
         at oracle.adf.model.BindingContext.put(BindingContext.java:1318)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:247)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1020)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1645)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1514)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1474)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1150)
         at oracle.adf.model.BindingContext.get(BindingContext.java:1103)
         at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
         at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
         at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2743)
         at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2791)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:329)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1473)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1603)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2542)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2477)
         at oracle.adf.model.binding.DCIteratorBinding.getCheckedDataControl(DCIteratorBinding.java:2571)
         at oracle.adf.model.binding.DCIteratorBinding.internalGet(DCIteratorBinding.java:4644)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
         at oracle.adf.share.el.VariableResolverELContext$1.getValue(VariableResolverELContext.java:53)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:114)
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:69)
         at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:822)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1469)
         at oracle.adf.model.binding.DCParameter.internalEvaluateExpresion(DCParameter.java:245)
         at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:76)
         at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
         at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2743)
         at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2791)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.internalGet(FacesCtrlSearchBinding.java:3668)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
         at oracle.adf.share.el.VariableResolverELContext$1.getValue(VariableResolverELContext.java:53)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:114)
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:69)
         at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:822)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1469)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1603)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initDataControl(JUMethodIteratorDef.java:589)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2477)
         at oracle.adf.model.binding.DCIteratorBinding.getCheckedDataControl(DCIteratorBinding.java:2571)
         at oracle.adf.model.binding.DCIteratorBinding.getSortCriteria(DCIteratorBinding.java:3889)
         at oracle.adf.model.binding.DCInvokeMethod.setAssociatedIteratorBinding(DCInvokeMethod.java:946)
         at oracle.adf.model.binding.DCIteratorBinding.cacheRefOnOperation(DCIteratorBinding.java:5426)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.getActionBinding(JUMethodIteratorDef.java:283)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.isRefreshable(JUMethodIteratorDef.java:59)
         at oracle.adf.model.binding.DCExecutableBindingDef.isRefreshable(DCExecutableBindingDef.java:274)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3069)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2906)
         at oracle.adf.model.binding.DCBindingContainer.refreshIfNeeded(DCBindingContainer.java:3444)
         at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2719)
         at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2791)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.internalGet(FacesCtrlSearchBinding.java:3668)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:329)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:296)
         at oracle.adf.model.binding.DCBindingContainer.findNamedObject(DCBindingContainer.java:5161)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.getActionBinding(JUMethodIteratorDef.java:207)
         at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.getViewCriteria(JUSearchBindingCustomizer.java:1949)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._getCurrentViewCriteria(FacesCtrlSearchBinding.java:3863)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.access$1500(FacesCtrlSearchBinding.java:117)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryModelImpl._performOneTimeActions(FacesCtrlSearchBinding.java:1916)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryModelImpl.(FacesCtrlSearchBinding.java:1479)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.getQueryModel(FacesCtrlSearchBinding.java:334)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.internalGet(FacesCtrlSearchBinding.java:3652)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1485)
         at oracle.adf.view.rich.component.UIXQuery.getModel(UIXQuery.java:493)
         at oracle.adf.view.rich.component.UIXQuery._setupAndStoreContextInRequest(UIXQuery.java:301)
         at oracle.adf.view.rich.component.UIXQuery.encodeBegin(UIXQuery.java:222)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1672)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2194)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.access$500(PanelHeaderRenderer.java:41)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer$ChildEncoderCallback.processComponent(PanelHeaderRenderer.java:1509)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer$ChildEncoderCallback.processComponent(PanelHeaderRenderer.java:1492)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderChildrenAfterHelpAndInfo(PanelHeaderRenderer.java:628)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderContentCell(PanelHeaderRenderer.java:1169)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderContentRow(PanelHeaderRenderer.java:575)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:248)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeTopFacet(PanelStretchLayoutRenderer.java:899)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeHorizontalPane(PanelStretchLayoutRenderer.java:1410)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:300)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2194)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.access$400(RegionRenderer.java:50)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer$ChildEncoderCallback.processComponent(RegionRenderer.java:707)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer$ChildEncoderCallback.processComponent(RegionRenderer.java:692)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer._encodeChildren(RegionRenderer.java:297)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.encodeAll(RegionRenderer.java:186)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at oracle.adf.view.rich.component.fragment.UIXRegion.encodeEnd(UIXRegion.java:323)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
         at oracle.adfinternal.view.faces.taglib.region.IncludeTag$FacetWrapper.encodeAll(IncludeTag.java:547)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:440)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:711)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:380)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
         at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:68)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:274)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1275)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1677)
         at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)
         at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
         at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1035)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:342)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:236)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         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.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NoClassDefFoundError: com/ibm/db2/jcc/DB2Connection
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.defineCodeGenClass(GenericClassLoader.java:523)
         at weblogic.utils.classfile.utils.CodeGenerator.generateClass(CodeGenerator.java:73)
         at weblogic.utils.wrapper.WrapperFactory.generateWrapperClass(WrapperFactory.java:340)
         at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:244)
         at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:190)
         at weblogic.jdbc.wrapper.JDBCWrapperFactory$1.run(JDBCWrapperFactory.java:164)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:161)
         at weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:251)
         at weblogic.jdbc.pool.Driver.connect(Driver.java:164)
         at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:651)
         at weblogic.jdbc.jts.Driver.connect(Driver.java:127)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:364)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:968)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         ... 226 more
    Caused by: java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Connection
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         ... 261 more

    Hi,
    a missing library
    Caused by: java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Connection
    Frank

  • During receipt validation; the first step ie, adding the files generated by asn1c tool causes errors.. especially with the

    During receipt validation; the first step ie, adding the files generated by asn1c tool causes errors.. especially with the #include statements
    --No such directory or file..
    Why this is happening??

    I am adding one more thing..
    Do we need to mention any linkage or frameworks or such while we are adding a .c file to
    Cocoa Mac OS Project

  • Changes in RPCBURZ0 causes errors in other programs

    Hello to All,
    I made changes to RPCBURZ0 in order to extend the TABLE schema function to read a custom Infotype 9001.
    I added the necessary code in RPCBURZ0 and the data definition in RPCFDCZ0.
    The code is working perfectly , but the changes are causing errors in other country specific reports
    specifically in : HINCALC0 , HCNCALC0 , and HKRCALC0 and Transports to Quality generating errors.
    Error is because the custom infotype definition is not seen in these reports.
    Generation of the users of the transported Includes                                                                                |
    Program HCNCALC0, Include RPCBURZ0: Syntax error in line 000021
    The field 'T9001' is unknown, but there is a fieldwith the similar name 'T001P'. .
    Program HINCALC0, Include RPCBURZ0: Syntax error in line 000021
    The field 'T9001' is unknown, but there is a fieldwith the similar name 'T001P'. .
    Program HKRCALC0, Include RPCBURZ0: Syntax error in line 000021
           |   The field 'T9001' is unknown, but there is a fieldwith the similar name 'T001P'. . 
    Looking at other H--CALC0 reports i could easily spot an include for RPCFDCZ0.
    include rpcfdcz0.  "customer-specific data declaration (int'l)
    I wonder why this include is not in (HINCALC0 , HCNCALC0 , and HKRCALC0) !!!
    I have two solutions in mind :
    1. Make a custom ZRPCBURZ0 and include it in the main report.
    2. Look for user exist for the three reports and add the data definition statement .
    What is the best way to fix this situation ? and is there any other possible solutions ?
    We are using :
       SAP ECC 6.0
       Payroll International Driver.

    Alex Gorly and Matt Sullivan solved one of my issues above:
    Message: Attribute 'prod' is not declared for element 'prodname'
    I'm still stumpled on the other one:
    Message: Not enough elements to match content model  '(prodname,vrmlist,((brand|component|featnum|platform|prognum|series) )*)'
    As stated above, I've even removed everything from the general rule of <prodinfo> except prodname and I'm still getting the same error. I've searched everywhere for this general rule and <prodinfo> is the only place I can find it.
    What I really want is: (prodname), (vrmlist)?, (brand | component | featnum | platform | prognum | series)*
    so that vrmlist is optional.
    No matter what I do, unless I include a vrmlist, I get the above message. Currently, our CMS can't handle vrmlist but I don't want to remove it altogether because we may be replacing our CMS.
    Help please!

  • To get notification with error's code

    Hi everyone,
    Database Control
    OMS:
    OMS_VERSION=10.1.0.4.0
    EMAgent10.1.0.4.1
    When some error happend in Database, by Notification I just get like this on mail:
    Name=test
    Type=Database Instance
    Host=dba
    Metric=Generic Alert Log Error Status
    Timestamp=29.04.2008 12:35:03 GMT+05:00
    Severity=Critical
    Message=2 distinct types of ORA- errors have been found in the alert log.
    Rule Name=Database Availability and Critical States
    Rule Owner=SYSMAN
    but in message just "distinct types of ORA- errors" without code of error like ORA-01550 or any other kind of code.
    Is it possible to get distinct code of error in message through Notification ?
    Will be glad to any helpfull advice.

    DBMS Direct,
    But in the post How to be notified for all ORA- Errors recorded in the alert.log file
    11iuser complain about that why he/she just get error number without any explain of arrised error.
    In my situation I just get "distinct types of ORA- errors" without even any error code.
    Perhaps I need to change something in emoms.properties or emd.properties.
    By the way I select Message format -- Long Format
    Sorry for my poor English

  • Error Message "Device Error - Sense Code (6 28 00)"

    Trying to burn a project made up of MP4 video files (about 2 1/2 hrs in length) and when it reaches about 97%, I receive this message "Device Error - Sense Code (6 28 00) - Not ready to ready change, Medium" and then Premiere elements 9 procedes to burn a perfect DVD with menus and all.  Any ideas?

    SenseCode errors are most often caused by hardware issues with a multi-drive (burner), and can be from perhaps old firmware in the multi-drive, or connection issues on the system, between the multi-drive and the OS. I would first check for firmware updates from the multi-drive's mfgr's. Web site. Be sure to read the instructions for "flashing" the ROM with firmware updates - VERY IMPORTANT - follow those instructions to the letter!
    They can also be caused by blank media issues, such as bad blank media, non-RW media, that has been used already, or RW media, that was not erased.
    What brand, and type of blank media are you using?
    Good luck,
    Hunt

  • Device Error - Sense Code

    I have tried to burn a DVD using Premier 2.0. Once I got a message - Device Error - Sense Code (04 91 C0) the second time I got the same message but a different Code - (04 92 05). A Third time I got an "Unknown Error" message.
    After the first error, I saved it as an AVI, imported it into a new project, fixed the tail end - which had black frames on it, and am burning from that project.
    I have saved the file to a folder and tried to copy it using Magic DVD Writer, and get an error message there, too.
    When I play the DVD using Nero, it looks fine.
    I am using an AOpen writer. Do you suppose it is the burner - or something else?
    The thing is that 2 weeks ago, I burned one and it flew through. Prior to that I couldn't get 2 others to burn, and I ended up saving them to folders on an external hard drive and taking them to someone else to burn the master DVDs. The final movies are great!
    Thanks,
    Penny

    Penny,
    Usually "Sense Code" errors reflect a problem with the burner and the process.
    This can be:
    1.) burner is bad or improperly connected
    2.) burner is "in use" by another application, like a packet-writing module from Nero or Roxio, or even the OS itself
    3.) media is not the correct type, has been used or is bad
    Let's check these in order.
    1.) does this burner function properly in any other application? If so, we can *probably* eliminate #1
    2.) do you have Nero, Roxio or does your OS have a packet-writing (drag-n-drop) application? If so, this is *probably* the cause. If not go down to the next level. Adobe authoring apps need 100% control of the burner. If you must keep the packet-writing app, then look into the free ImgBurn program to actually do your burns.
    3.) what brand of media are you using and what type is it? Have you used this brand and type before? If so, could this particular disc have already been written to, even if it was an aborted burn? I use Taiyo Yuden, or Verbatim blank DVDs, and none has ever failed to burn, or to play in a client's player. Note: some brands, like Memorex might actually contain several different producer's media, marked with their name - part of a spindle can be perfect and the rest bad. Ritek used to have a good rep, but lately they have been causing as many problems as Memorex and "bargain brands." Always use the best media you can possibly afford, and burn at the slowest speed, if your burning app allows you to reduce the burn speed.
    Chances are that the cause is one of the above. If you go though all three of these and are still having problems, let us know the answers to the questions posed in the solutions area.
    Good luck,
    Hunt
    [Edit] John types much more quickly, than I do!

  • SQL Developer 1.5.4.59.40 - IO Exception: Undefined Error VENDOR CODE 17002

    Hi All.
    I hope someone can help.
    I have recently installed Oracle XE on my Vista Ultimate laptop and it is up and running with no apparent problems. I then connected to the HR schema on XE with no problems using SQL Developer 1.2.1.3213 (OLD Version). I noticed that SQL Developer 1.5.4.59.40 (NEW version) was available and downloaded it (the offering without JDK included) and renamed the "C:\Program Files\SQLDeveloper" folder holding the older version to "C:\Program Files\SQLDeveloper_Orig" and placed the new version of SQL Developer in the Prog Files directory to give "C:\Program Files\SQLDeveloper".
    I then ran SQLDeveloper.exe (NEW) and when requested gave the JDK path as "C:\Program Files\Java\JDK_1.6.0_11\bin\java.exe" ('Java -version' gives 1.6.0_11-b03) and migrated over the settings from the previous version of SQLDeveloper (OLD).
    The Application loads fine but when i attempt to connect to XE's HR schema i get the following error:
    "IO Exception: Undefined Error
    VENDOR CODE 17002"
    I have searched to try and find out what is going on but cannot find any solutions that work. The previous 17002 error solutions on this forumn have all failed.
    These included changing the JDK.conf file to hold route to JDK directory and also creating a 'bat' file.
    My system does not have the directory for the JDK in it's PATH environment setting (either USER or SYSTEM) but does include a directory path under SYSTEM environment vars to another version fo JDK on my machine under "C:\Program Files\Sun\JDK\". I thought this may be causing a conflict but it is version 1.6.0.05_b13 and is also compatible-is it not? I also have Java JRE6 (1.6.0_12-b04) on my machine - this does not have a PATH variable and was not referenced when loading SQL Developer when loading the first time.
    Can anyone help me resolve this, why can the previous version still connect OK to XE and not new version? is there something i am missing? Do i require the Java JDK Directory to be placed under a PATH environment SYSTEM variable?
    Thanks in advance,
    M
    Edited by: user592047 on 16-Mar-2009 10:08

    Taken from about SQL Developer:
    Version:
    CVS Version          Internal to Oracle SQL Developer (client-only)
    Java(TM) Platform     1.6.0_11
    Oracle IDE          1.5.4.59.40
    Versioning Support     1.5.4.59.40
    Properties:
    apple.laf.useScreenMenuBar     true
    awt.toolkit                    sun.awt.windows.WToolkit
    class.load.environment          oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level          CONFIG
    class.transfer               delegate
    com.apple.macos.smallTabs     true
    com.apple.mrj.application.apple.menu.about.name     "SQL_Developer"
    com.apple.mrj.application.growbox.intrudes     false
    file.encoding               Cp1252
    file.encoding.pkg               sun.io
    file.separator               \
    http.agent                    Mozilla/5.0 (Java 1.6.0_11; Windows Vista 6.0 x86; en_GB) ICEbrowser/v6_1_3
    ice.browser.forcegc          false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start          10390897243225
    ide.build                    MAIN-5940
    ide.conf                    C:\Program Files\sqldeveloper_new\sqldeveloper\bin\sqldeveloper.conf
    ide.config_pathname          C:\Program Files\sqldeveloper_new\sqldeveloper\bin\sqldeveloper.conf
    ide.debugbuild               false
    ide.devbuild               false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun                    false
    ide.java.minversion          1.5.0
    ide.launcherProcessId          2672
    ide.main.class               oracle.ide.boot.IdeLauncher
    ide.patches.dir               ide/lib/patches
    ide.pref.dir                    C:\Users\M\AppData\Roaming\SQL Developer
    ide.pref.dir.base               C:\Users\M\AppData\Roaming
    ide.product                    oracle.sqldeveloper
    ide.shell.enableFileTypeAssociation     C:\Program Files\sqldeveloper_new\sqldeveloper.exe
    ide.splash.screen               splash.gif
    ide.startingArg0               C:\Program Files\sqldeveloper_new\sqldeveloper.exe
    ide.startingcwd               C:\Program Files\sqldeveloper_new
    ide.user.dir                    C:\Users\M\AppData\Roaming\SQL Developer
    ide.user.dir.var               IDE_USER_DIR
    ide.work.dir               C:\Users\M\Documents\SQL Developer
    ide.work.dir.base               C:\Users\M\Documents
    java.awt.graphicsenv          sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob          sun.awt.windows.WPrinterJob
    java.class.path               ..\..\ide\lib\ide-boot.jar
    java.class.version               50.0
    java.endorsed.dirs          C:\Program Files\Java\jdk1.6.0_11\jre\lib\endorsed
    java.ext.dirs               C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
    java.home                    C:\Program Files\Java\jdk1.6.0_11\jre
    java.io.tmpdir               C:\Users\M\AppData\Local\Temp\
    java.library.path               C:\Program Files\sqldeveloper_new;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oracle\xe\app\oracle\product\10.2.0\server\bin;C:\Program Files\CodeGear\RAD Studio\5.0\bin;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Microsoft Network Monitor 3\;C:\PROGRA~1\DISKEE~1\DISKEE~1\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_11;C:\Program Files\Sun\SDK\bin;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Program Files\Nmap
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.runtime.name          Java(TM) SE Runtime Environment
    java.runtime.version          1.6.0_11-b03
    java.specification.name          Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    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_11
    java.vm.info               mixed mode
    java.vm.name               Java HotSpot(TM) Client 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               11.0-b16
    jdbc.library                    /C:/Program Files/sqldeveloper_new/jdbc/lib/ojdbc5.jar
    line.separator               \r\n
    oracle.home               C:\Program Files\sqldeveloper_new
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library               /C:/Program Files/sqldeveloper_new/jlib/orai18n.jar
    os.arch                    x86
    os.name                    Windows Vista
    os.version                    6.0
    path.separator               ;
    reserved_filenames          con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sun.arch.data.model          32
    sun.boot.class.path          C:\Program Files\Java\jdk1.6.0_11\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_11\jre\classes
    sun.boot.library.path          C:\Program Files\Java\jdk1.6.0_11\jre\bin
    sun.cpu.endian               little
    sun.cpu.isalist               pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    sun.desktop               windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen          false
    sun.jnu.encoding               Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level          Service Pack 1
    user.country               GB
    user.dir                    C:\Program Files\sqldeveloper_new\sqldeveloper\bin
    user.home                    C:\Users\M
    user.language               en
    user.name                    M
    user.timezone               Europe/London
    user.variant     
    windows.shell.font.languages

  • Requesting BASELINE_EXTENDED profile in air 3.9 or 4.0 causes error

    This line of code
    stage.stage3Ds[0].requestContext3D( Context3DRenderMode.AUTO, Context3DProfile.BASELINE_EXTENDED );
    causes error "Error #2008: Parameter profile must be one of the accepted values." if app is compiled for desktop with air sdk 3.9 or air sdk 4.0 beta (didn't tried another sdk's). Compiling for web works fine. So what is this error? Where can I find information?

    Just made a quick test on 3.9, Application, set to direct render of course, no issue:
    package
              import flash.display.Sprite;
              import flash.display.Stage3D;
              import flash.display.StageAlign;
              import flash.display.StageScaleMode;
              import flash.display3D.Context3D;
              import flash.display3D.Context3DProfile;
              import flash.display3D.Context3DRenderMode;
              import flash.events.ErrorEvent;
              import flash.events.Event;
              public class CX3D extends Sprite
                        private var s3d:Stage3D;
                        private var rc:Context3D;
                        public function CX3D()
                                  stage.align = StageAlign.TOP_LEFT;
                                  stage.scaleMode = StageScaleMode.NO_BORDER;
                                  s3d = this.stage.stage3Ds[0];
                                  s3d.addEventListener(Event.CONTEXT3D_CREATE, onContextF);
                                  s3d.addEventListener(ErrorEvent.ERROR, contextErrorF );
                                  s3d.requestContext3D(Context3DRenderMode.AUTO, Context3DProfile.BASELINE_EXTENDED);
                        private function contextErrorF(e:Event):void
                                  trace('Error ' + e);
                        private function onContextF(e:Event):void
                                  trace('Created ' + e);
                                  rc = Stage3D( e.target ).context3D;
                   trace(rc);
    Trace:
    Created [Event type="context3DCreate" bubbles=false cancelable=false eventPhase=2]
    [object Context3D]
    (used a TextField for output in my finished .exe)
    edit:
    Although unlikely, if your desktop GPU is old enough it very well may not support that mode.

  • UDP close causing error #1

    hey
    i have written a simple VI to stream data acquired from a DAQ card over
    a network using UDP packets. it is working fine, but when i terminate
    the program the UDP Close VI is causing error #1 to occur. does anyone
    know how i can solve this problem?
    i have attached a gif of most of the block diagram.
    Attachments:
    udp error.gif ‏32 KB

    Ben wrote:
    Try replacing the tunnels that bring the UDP conncetion reference in and out of the For loop in the bottom loop with a shift register.
    If the For loop iterates "zero" times the contents of its output tunnel will be the default value.
    Just to clarify what Ben just said:
    Using Tunnel (your code): If the FOR loop iteration count is zero, the UDP reference output from the loop is reset to default.
    Using Shift register:  If the FOR loop iteration count is zero, the UDP reference is output unchanged from the shift register input and is thus valid.
    LabVIEW Champion . Do more with less code and in less time .

  • Webpart causing error while accessing the subsite.

    Hi
    I am getting an error message saying that webpart causes error in accessing the site in MOSS 2007.
    PFA of the error:
    Please someone help with the error webpart:
    how to find which custom webpart is affecting the site access error.
    Thanks,
    Badri

    Hi Badri ,
    According to your error message, the web part which cause error is the “RecentlyUpdatedSites” web part. For your issue, you can open the Web Part Maintenance page.
    For opening the Web Part Maintenance page by just adding the following query string to the page URL
    ?contents=1 So, if your page URL is 'http://servername/sitename/home.aspx' then after appending the query string it should look like ' http://servername/sitename/home.aspx?contents=1'
    Using this approach, we can open the web part maintenance page , close or delete these wrong web part.
    Reference:
    Opening Web Part Maintenance Page
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for