An exception of class OutOfBounds Exception was not handled
When starting a vodafone application for my Merlin 3g card I get a failure message: "An exception of class OutOfBounds Exception was not handled. Application must shut down"
I unintentionally deleted an info.plist file when trying to get rid of Apple´s latest WWAN update. Could this be the reason? And how to get back the info.plist file?
Thank you
MacBookPro Mac OS X (10.4.8)
I finally managed to find an Info.plist on the web. I managed to copy it to the IOSerialFamily.kext file and restarted.
Upon startup I was told that the IOSerialFamily.kext was not installed correctly and cannot be used.
This is the content I used:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>IOSerialFamily</string>
<key>CFBundleGetInfoString</key>
<string>Apple Computer, Inc 2005-01-12 IOKit Serial Port Family</string>
<key>CFBundleIdentifier</key>
<string>com.apple.iokit.IOSerialFamily</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>IOKit Serial Port Family</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>9.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>9.0.0d30</string>
<key>IOKitPersonalities</key>
<dict>
<key>IOSerialBSDClient</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.iokit.IOSerialFamily</string>
<key>IOClass</key>
<string>IOSerialBSDClient</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOSerialStream</string>
<key>IOResourceMatch</key>
<string>IOBSD</string>
</dict>
<key>IOSerialBSDClientSync</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.iokit.IOSerialFamily</string>
<key>IOClass</key>
<string>IOSerialBSDClient</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOSerialStreamSync</string>
<key>IOResourceMatch</key>
<string>IOBSD</string>
</dict>
</dict>
<key>OSBundleCompatibleVersion</key>
<string>1.0.4</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kpi.bsd</key>
<string>8.0.0</string>
<key>com.apple.kpi.iokit</key>
<string>8.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>8.0.0</string>
<key>com.apple.kpi.mach</key>
<string>8.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>8.0.0</string>
</dict>
</dict>
</plist>
Any help what I did possibly wrong?
Similar Messages
-
An exception of class nilobjectexception was not handled (Photoreflect)
Trying to download photos via Photoreflect.com photo publisher. As soon as I get ready to add photos to a gallery I get a pop up "An exception of class nilobjectexception was not handled. The application must shut down." Tried restart of the computer. Uninstalled and reinstalled the publisher, deleted the Pub data settings file. Still won't work. Thanks in advance for any ideas.
RichContact the developer of photoreflect as there is a problem with their code. There may be an update for their application.
-
After updating to Mavericks 10.9.2, our Canon printer would no longer scan & send to our iMacs & MacBook Pros. We downloaded & installed SMBUp. Still trying to get it to work with MacBookPros, but has been working with iMacs. Today, out of the blue, I got the following error message:
An exception of class JSONException was not handled. The application must shut down.
Exception Message: Parse Error: Expecting "{" or "[" at position 1
Exception Error Number : 1
Now I get that message every time I try to open SMBUp. Tried to download & reinstall application, but get this message on website:
Hmm, eduo.info isn't loading right now.
The servers that run eduo.info are having some trouble. This is usually just a tempoary problem, so you might want to try again in a few minutes.
(Have gotten that message for the last hour).
Help?Hi,
Pls don't forget to reward points and close the question if you find the answers useful.
Eddy -
Debug Error:[Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffamazonhot/content/lib/Extension.debug.js Line: 366"]
Tools->Add-ons->Extensions
At the top of the Firefox window, click on the Tools menu and select Add-ons. The Add-ons window will appear.
In the Add-ons window, select the Extensions panel.
Select the add-on you wish to uninstall.
Click the Uninstall button. When prompted, click Uninstall to confirm.
Then restart Firefox.
Read here:
[[Uninstalling add-ons|#How to uninstall extensions and themes|Uninstalling extensions]] -
Every time I try to use google for a search, I get the following error msg. Debug Error:[Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffebayhot/content/lib/Extension.debug.js Line: 366"]. I saw the solution provided for MS XP, but not for Vista. Also, while I saw the solution, I need more explicit instructions on how to "delete the ebay extension".
== This happened ==
Every time Firefox opened
== When I try to load google from Firefox, I get the error message, Debug Error:[Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffebayhot/content/lib/Extension.debug.js Line: 366"]Tools->Add-ons->Extensions
At the top of the Firefox window, click on the Tools menu and select Add-ons. The Add-ons window will appear.
In the Add-ons window, select the Extensions panel.
Select the add-on you wish to uninstall.
Click the Uninstall button. When prompted, click Uninstall to confirm.
Then restart Firefox.
Read here:
[[Uninstalling add-ons|#How to uninstall extensions and themes|Uninstalling extensions]] -
We are using Sharepoint 2010 and Infopath 2010. In my form, I have a Managed Metadata field that I need to test for a Null value. I found, with the help of this forum's participatns, that a [field]_Changed event for one MMD field runs multiple
time because of the underlying XML elements (Terms, TermInfo, TermName, TermId). So I'm trying to figure out how to test the XML to see when the TermName has a value. By doing this, I hope to limit when the additional code in my form runs, i.e.
I'll only trigger it when TermName is not null.
Just to test for null/empty (before doing anything that calls the addtional code) when I run this code, it completes correctly but always shows a message box:
Dim strTest As String = Me.CreateNavigator.SelectSingleNode("/pr:properties/p:properties/documentManagement/ns2:h2b59c4ae4144c01973b1d8571d217ad", Me.NamespaceManager).InnerXml
If String.IsNullOrEmpty(strTest) Then
Else
MessageBox.Show("This is the value of the States InnerXML " & strTest)
End If
But when I run this code, I get a "NullReferenceException was not handled by user code. Object reference not set to an instance of an object" at the "Dim strTest..." line:
Dim strTest As String = Me.CreateNavigator.SelectSingleNode("/pr:properties/p:properties/documentManagement/ns2:h2b59c4ae4144c01973b1d8571d217ad/pc:Terms/pc:TermInfo/pc:TermName", Me.NamespaceManager).InnerXml
If String.IsNullOrEmpty(strTest) Then
Else
MessageBox.Show("This is the value of the States InnerXML " & strTest)
End If
Can any one explain why drilling down like this gives me this error? And can you tell me how to get around it so I can limit how many times the code in my Infopath form needs to run?
Thanks in advance. Carol.Never mind, I think I've got it figured out. When I do it this way, I get to the If Not...Nothing at the correct time. Thanks for sending me down the correct path, Scott. Carol.:
Dim
firstStr As
String =
String.Empty
Dim xNav
As XPathNavigator = MainDataSource.CreateNavigator()
Dim xFirst
As XPathNavigator = xNav.SelectSingleNode("/pr:properties/p:properties/documentManagement/ns2:h2b59c4ae4144c01973b1d8571d217ad/pc:Terms/pc:TermInfo/pc:TermName",
Me.NamespaceManager)
If
Not xFirst
Is
Nothing
Then
Dim strxFirst
As
String = xFirst.InnerXml
MessageBox.Show(
"Value of InnerXML " & strxFirst)
Else
MessageBox.Show(
"Empty or Null")
End
If -
Exception with the type CX_SY_OPEN_SQL_DB occured and was not handled
Hi Champs,
I am working on an interface which picks up file uploaded in a XI server and process it. The Function module used is a Z function module, developed locally.
I am uploading an tab limited file in XI server and a background job processes the file. The tab limited file contains Payelement Transaction ID as primary key. And after validation of elements like WBS element, cost center etc the file is posted using BAPI BAPI_ACC_DOCUMENT_POST. And all the Payelement Trans Ids are also replicated in a Z table, with there status viz. Success or Error or Warning.
After background job was completed, we found in Tcode SXMB_MONI that the file was in error.
The error message was :
Error during proxy processing An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause The system tried to insert a data record, even though a data record with the same primary key already exists.
But to my dismay, I found that some of the Payelement Trans Ids were posted for a document and are also replicated in my Z table.
From the error it seems that we are inserting a record that is already there in the document. I have checked in for BAPI's input parameter, there is nothing duplicate.
Note: Insertion in Z table is made after the BAPI BAPI_ACC_DOCUMENT_POST.
Can you help me out in this issue as it is now getting into veins
Reagrds,
NishantHi,
Even we have faced this kind of issue. In order to solve this just write the following code:
1) Before inserting records in to Z table, write one select query on that table with primary key fields in where clause. Pass the value that are returned by BAPI BAPI_ACC_DOCUMENT_POST to the key field.
2) If sy-subrc = 4, insert records in Z table else Continue and dont insert records in this table.
This will solve your problem.
Regards,
Prashant -
I just upgraded to Lion last night. Today I purchased ScholarWord OSX, downloaded it now and I can't open it. It was previously working with the demo. I continue to receive the Nil error above. How do I resolve this?
Welcome to my world of pain. I also have osx lion and after a good trial with the scholarword, I purchased the PRO version and it will not work. I get the NOE notice...
After several pleas to the tech support dept, they finally responded. (Had to prompt them into action by leaving a voice mail on CEO phone line) They asked one question..."was I correctly inputting the serial/reg. #?". I quickly answered yes and their next email trouble shooting bit of expertise was to offer a refund. What??? I just want the thing to work. I cannot understand how their entire trouble shooting chain consists of one simple question, then they throw up their hands and offer a refund.
Soooo sad with this outcome. Anybody have a solution? My goal was to get a good APA software tool that is good with MAC.
-Gary -
Hi All,
I'm getting this exception "The SPListItem being updated was not retrieved with all taxonomy fields." when i try to programatically update a taxonomy field of a list item. Can any1 pls tell me why this exception occurs ???Recently hit this myself, as well. Turns out it's a central admin setting that throttles the lookup return count, and Taxonomy fields are just lookups under the hood.
Go into Central Administration, Manage Web Applications, select your web application, and then in the ribbon choose the dropdown under General Settings select Resource Throttling. Find the setting for "List View Lookup Threshold" and raise
it from the default 8 (can go up to 1000, but 20 is likely fine depending how many lookup fields you're pulling back in your SPListItem). -
I am getting the followiing error in my main document class:
"1046: Type was not found or was not a compile-time constant:TimerEvent."
It's showing in line 47 and 54 (in red below). Any help would be appreciated. BTW, this is my first time creating a main document class since graduating to class files!:
package
//**************** IMPORT STATMENTS *********************
import flash.display.MovieClip;
import com.greensock.TweenLite;
import flash.utils.Timer;
public class Main extends MovieClip
//***************** Variables ***************************
/*private var appStoreURL:URLRequest = new URLRequest("http://itunes.apple.com/us/artist/quackenworth/id518210161");
private var facebookURL:URLRequest = new URLRequest("http://www.facebook.com/quackenworth");
private var twitterURL:URLRequest = new URLRequest("http://www.twitter.com/quackenworth");*/
private var MainScene:Main = new Main();
private var PopUp_MoreApps:MoreApps_mc = new MoreApps_mc();
private var PopUp_About:About_mc = new About_mc();
//*****SPLASH SCREEN ***
private var mc_timerSplash:Timer;
private var splashScreen:mcSplashScreen;
//*****************CONSTRUCTOR CODE ***********************************************************************************
public function Main()
mc_timerSplash = new Timer(3000,1);
mc_timerSplash.addEventListener(TimerEvent.TIMER, StartTimer);
//When timer is finished stop the timer;
mc_timerSplash.addEventListener(TimerEvent.TIMER_COMPLETE, timerCompleted);
splashScreen = new mcSplashScreen();
addChild(splashScreen);
splashScreen.x = stage.stageWidth / 2;
splashScreen.y = stage.stageHeight / 2;
mc_timerSplash.start();
//*********** FUNCTIONS *********************************
private function timerCompleted(e:TimerEvent):void
mc_timerSplash.stop();
mc_timerSplash = null;
private function StartTimer(e:TimerEvent):void
TweenLite.to(splashScreen, 1, {alpha:0, onComplete: SplashScreen});
private function SplashScreen():void
removeChild(splashScreen);
addMainScene();
private function addMainScene():void
addChild(MainScene);
MainScene.x = 489;
MainScene.y = 350;
//TweenLite.from(MainScene.wbbIntro_mc, .5, {alpha: 0});
TweenLite.from(MainScene, 1, {alpha:0});
TweenLite.to(MainScene.girls_mc, 1, {y:395, delay:.3});
TweenLite.to(MainScene.boys_mc, .5, {y:396, delay: .6});
TweenLite.to(MainScene.Joe_mc, .5, {y:339, delay: 1});
TweenLite.to(MainScene.Paul_mc, .5, {y:322, delay:1.2});
private function removeMainScene():void
removeChild(MainScene);
TweenLite.to(MainScene.girls_mc, .1, {y:690});
TweenLite.to(MainScene.boys_mc, .1, {y:693});
TweenLite.to(MainScene.Joe_mc, .1, {y:636});
TweenLite.to(MainScene.Paul_mc, .1, {y:619});Now that the error is solved, when I test nothing happens. I just get a blank screen.
What is supposed to happen? When the program opens a splash screen should be added for 3 seconds and then fade out. Then some main screen movie clips should be added to the stage. -
I have very simple code to get AD domain name
Public Function GetDomainName() As String
Dim sDomainName As String = String.Empty
Try
Dim currentUser As String = WindowsIdentity.GetCurrent().Name.Replace("\", "/")
Dim strPath As String = String.Format("WinNT://{0}", currentUser)
Dim dirEntry As DirectoryEntry = New DirectoryEntry(strPath)
sDomainName = dirEntry.Parent.Name
Catch ex As Exception
Console.WriteLine(ex.Message)
Console.WriteLine(ex.StackTrace)
End Try
Return sDomainName
End Function
Here is exception that it gives:
The network path was not found.
, , at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_Parent()
at Kofax.PrivateProfileData.clsNetSecurity.GetDomainName() in clsNetSecurity.vb:line 46
Do anyone help me what is the problem?
Is that my environment problem?
Thank youThis is not a recommended approach to get the domain name - also just to make sure do you intend to get the domain name of the computer or the user, if the later use DsCrackNames:
http://msdn.microsoft.com/en-us/library/ms675970(v=vs.85).aspx (p/invoke .NET version is available)
The DS_NAME_RESULT item struct contains the domain name the user belongs to in pDomain
Enfo Zipper
Christoffer Andersson – Principal Advisor
http://blogs.chrisse.se - Directory Services Blog -
DirectoryEntry Invoke(SetPassword) exception: The network path was not found.
I have a local AD Machine with windows server 2003. Cloud AD is on Windows Server 2008 R2.
Problem is that when I try to create a new user through LDAP(C#), it creates succesfully, but Invoke(SetPassword) gives following inner exception:
System.IO.FileNotFoundException: The network path was not found. (Exception from HRESULT: 0x80070035).
code I am using is:
string szCloudUserPath = string.Format("LDAP://" + CloudDomain + "/" + "<GUID=" + CloudUserGUID+ ">");
var deUser = new DirectoryEntry(szCloudUserPath, CloudAdmin, CloudPwd, AuthenticationTypes.Secure);
deUser.Invoke("SetPassword", new object[] { szNewUserPassword });
deUser.CommitChanges();
Anybody can help me please?Hi,
Based on your description, the following thread focuses on the similar issue and can be worth taking a look.
DirectoryEntry.Invoke SetPassword - The network path was not found.
http://forums.asp.net/t/1164221.aspx
Besides, I notice that you have post the same thread in the ASP.Net forum. In my opinion, regarding this issue, we will get more professional help in that forum.
Best regards,
Frank Shen -
FAST Search - The object was not found exception.
Hi all - I am getting "The object was not found exception" error for one of my site collection I checked the permissions they are there. Please let
me know how to find more details about error with Item id specified in crawl log.
Also let me know what could be issue for this error. Only one line of error is not helping me to troubleshoot.Hi Satish,
Do you have alternate access mappings configured for your web application or an incorrect IIS binding? Have you seen these posts?
http://sharepoint.stackexchange.com/questions/22844/object-not-found-error-in-search-service-crawl-logs
http://serverfault.com/questions/130663/sharepoint-server-search-not-crawling
Please remember to click Mark as Answer on the answer if it helps you -
Exception: The metadata for portlet binding was not found in MDS
I get this stacktrace when adding portlets at runtime - how can I check for the path of scopedMD/*.pxml files?
####<03-Feb-2011 18:53:39 o'clock IST> <Error> <oracle.portlet.binding> <INMUCHLP01418> <DefaultServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <attuser1> <> <00e884cc3b492be0:5d3d5662:12deb6844ac:-8000-0000000000000379> <1296739419503> <BEA-000000> <oracle.adf.model.portlet.binding.PortletBindingException: The metadata for portlet binding portlet3704198953 was not found in MDS.
at oracle.adf.model.portlet.binding.PortletBinding._initModel(PortletBinding.java:529)
at oracle.adf.model.portlet.binding.PortletBinding.initModel(PortletBinding.java:872)
at oracle.adf.model.portlet.binding.PortletBinding._refresh(PortletBinding.java:392)
at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:881)
at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:341)
at oracle.adf.model.portlet.binding.PortletBinding.refreshIfNeeded(PortletBinding.java:451)
at oracle.adf.model.portlet.binding.PortletBinding._refresh(PortletBinding.java:402)
at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:881)
at oracle.adfinternal.view.faces.portlet.PortletBindingPhaseListener.handlePhase(PortletBindingPhaseListener.java:105)
at oracle.adfinternal.view.faces.portlet.PortletBindingPhaseListener.beforePhase(PortletBindingPhaseListener.java:92)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:258)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
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.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
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.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:149)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
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.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
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:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.portlet.client.persistence.PersistenceNotFoundException: mdsId=/oracle/adf/portlet/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/portlets/Lottery_521fd715_e683_46dd_bb8e_f1119dc2d3ee.pxml not found at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.getInternal(MDSPersistenceContext.java:649)
at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.get(MDSPersistenceContext.java:604)
at oracle.portlet.client.beanimpl.persistence.PersistenceBeanFactory.getExisting(PersistenceBeanFactory.java:249)
at oracle.portlet.client.beanimpl.persistence.PersistenceBeanContext.getExisting(PersistenceBeanContext.java:110)
at oracle.portlet.client.containerimpl.PublicFactoryImpl.get(PublicFactoryImpl.java:300)
at oracle.portlet.client.containerimpl.PublicFactoryImpl.get(PublicFactoryImpl.java:310)
at oracle.portlet.client.containerimpl.PortletContainerImpl.getById(PortletContainerImpl.java:331)
at oracle.portlet.client.containerimpl.PortletContainerImpl.getPortlet(PortletContainerImpl.java:253)
at oracle.adfinternal.model.portlet.binding.PortletModelImpl.init(PortletModelImpl.java:104)
at oracle.adf.model.portlet.binding.PortletBinding$InnerPortletModel.init(PortletBinding.java:987)
at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.init(ActivityPortletModelWrapper.java:83)
at oracle.adf.model.portlet.binding.PortletBinding._initModel(PortletBinding.java:523)
... 55 moreI've done these 2 things and the error goes away, not sure which worked.
Deleted mds folder within my WebCenterApp under JDeveloper
Deleted Runtime customizations stored under a similar directory below
C:\Users\ab\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.mds.dt\adrs\myWebCenterApp\AutoGeneratedMar\mds_adrs_writedir\oracle\adf\portlet\scopedMD\s8bba98ff_4cbb_40b8_beee_296c916a23ed -
Class Cast exception when clicking Search Button in Query component
Hi
We have to implement the Query component in ADF programmatically.. We are using Toplink as the Model layer for ADF.
We followed the Web User Interface Guide for ADF development, Chapter 12 (Using Query Components) for the same.
We already have implemented the following classes:
1) QueryModel
2) QueryDescriptor
3) AttributeDescriptor
4) ConjuctionCriterion
5) AttributeCriterion etc.
We are able to see the Search panel in UI with selected fields in Basic as well as Advanced mode.
When we click on Search button, we are getting Class Cast exception.
The stacktrace of the exception is below:
<LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
javax.el.ELException: java.lang.ClassCastException: view.QueryDescriptorImpl cannot be cast to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryDescriptorImpl
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:116)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
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:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
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:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
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:136)
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.ClassCastException: view.QueryDescriptorImpl cannot be cast to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryDescriptorImpl
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:374)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
... 44 more
<RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
javax.el.ELException: java.lang.ClassCastException: view.QueryDescriptorImpl cannot be cast to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryDescriptorImpl
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:116)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
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:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
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:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
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:136)
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.ClassCastException: view.QueryDescriptorImpl cannot be cast to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryDescriptorImpl
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:374)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
... 44 more
Any help will be highly appreciated.
Thanks in advance.
AnupGary Tam wrote:
I am working on a project that utilize Oracle Ultra Search that will crawl and tag documents in the database.
The initial code that uses pure JDBC was working fine, but when we switch to get database connection from dataSource, we are getting classCast exception inside Oracle's ultra search. The problems is that the class we get from dataSource.getConnection() returns
"weblogic.jdbc.wrapper.JTSConnection_oracle_jdbc_driver_T4CConnection". But Oracle UltraSearch is not expecting that.
Is there anyway to unwrap the connection that we get from dataSource ? I tried casting to OracleConnection,
assign the connection to "oracle.jdbc.driver.T4CConnection" without any success.
Any help would be appricated.
ThanksHi Gary. If the code you want to run is running inside WebLogic, such as in a JSP,
then look for our documentation on our JDBC extension 'getVendorConnection()". It
will get you a direct Oracle connection for their mis-declared UltraSearch
classes (they declare they take java.sql.Connection, but they really demand a
concrete thin driver connection. No other Oracle driver will be given a chance).
Joe
Maybe you are looking for
-
Hi, Please give some solution on the below situation. 1. PO is created with condition (Header) "Handling Value" equal to 150 in pricing elements. 2. GR is created with account postings including this 150 amount. 3. IR is created. But here we didn't
-
DOwnload finished but got X RedCircle Runtime Error! PROGRAM: C:\Program Files(x86)\iTunes\iTunes.exe R6034 An application has made an attempt to load the C runtime library incorrectly. Need Support Team to give Resolution to me and others? I have do
-
Copying VLOOKUP formula now results in a reference error
Hi all I am using VLOOKUP to calculate students' grades based on their marks which I have input into one table. The lookup cells are in a separate table on the same page. I can get the formula to work fine but when I try to copy it to the following c
-
Table level refresh in oracle from prod to test or development database
Hi, one interviewer asked me the below question, what is the best answer. suggestions appreciated. 1.How did you deal with that situation?Consider if you have a repeated requirement to "refresh" just 30 tables in a particular schema from a production
-
thank's for your reply .Now I have another problem I use J2EE RI from java.sun .I try to follow example in j2eetutorial about CMP Example call RosterApp.ear . I dont'change anything code inside RosterApp.ear but when I deploy and runclient command th