DisconnectedContext was detected
I am having ordered tests of Coded UI. While running these ordered test I am getting below exception. This ordered test was completely working fine before and we didn't see this issue. Also if I execute test individually the run fine.
DisconnectedContext was detected
Message: Context 0x594e70' is disconnected. Releasing the interfaces from the current context (context 0x594ad8). This may cause corruption or data loss. To avoid this problem, please ensure that all contexts/apartments stay alive until the application
is completely done with the RuntimeCallableWrappers that represent COM components that live inside them.
I tried to apply various solution like assign null value to the coded UI Maps in test cleanup and reinitialize the coded UI Maps just before performing UI Action Mouse.Click on WPF control.
Suspect Area: Application under test supports .net framework 4... However couple of days back .net framework 4.5.2 was automatically installed with the updates on test lab machines. Not sure if this is the reason but this is the only difference I am
able to figour out.
Can you please provide more help to fix the issue?
I am using Visual Studios 2010 and FP2..
Hi VishalPatel4,
>>DisconnectedContext was detected
Message: Context 0x594e70' is disconnected. Releasing the interfaces from the current context (context 0x594ad8). This may cause corruption or data loss. To avoid this problem, please ensure that all contexts/apartments stay alive until the application
is completely done with the RuntimeCallableWrappers that represent COM components that live inside them.
From the error message, I did some research about this error message. I get some useful message from the following link.
https://msdn.microsoft.com/en-us/library/2c1czate.aspx?f=255&MSPPError=-2147217396
So I suggest you can refer the above MSDN document to check your issue.
In addition, I find a similar thread for this issue, maybe you will get some useful message about this issue.
http://stackoverflow.com/questions/1272466/disconnectedcontext-error-while-running-unit-test-project-in-vs-2008
As you said that since the ordered test work fine under the .net framework 4, so I suggest you change the Target framework by right-click your coded UI test project->Properties->Application->Change the Target framework check this issue again.
If the above suggestion still could not help you, I suggest you can share us your coded UI test project and the WPF application so that we will further help you support this issue.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Error Message: "A virus was detected in FILENAME. This file will not be uploaded"
I have been synching files using Creative Cloud Connect for many months. During the past few weeks, I get the message "Some files failed to sync". When I click on "Learn more", it has 3 files there and all have the message "A virus was detected in filename . This file will not be uploaded". I scanned all three files with AVG and Malwarebytes (installed on my system) and both report that there is no virus in those files. I have tried to chat with support but I could not find any resolution with them. I believe that I never got to the right place. I was connected with 5 different people. At the end of the last discussion I spoke to Adobe Captivate support. It so happens that the files with that error are all Adobe Captivate files. But that support also concluded that they couldn't help. I could not find similar entries in the forums either. Did anyone else have this problem?
I appreciate any help.
AngelaNo unfortunately, I have not. I spent over an hour on the phone with them already regarding this topic. In the end, the support in Adobe Captivate (that's the 5th support group they connected me to) told me that I wasn't allowed to upload Captivate files since Adobe Captivate 8 is not a CC application and that's why the problem was happening. I am absolutely sure that this is untrue since I have many Captivate files on CC. I think the key will be to get to the right support group. Good luck! I really hope you find a solution. Keep me informed. Thanks.
-
I hooked my ipod classic up to my mac to update it. It took for ever to detect. Than I got a message saying an error was detected that I should restore. I did. It than erased my ipod. than it synched up to itunes it said it was done and it was ok to disconnect so I did and my ipod is still blank... it said error 1433 was detected. So now I have an empty ipod that won't store anything on it.... what should I do to remedy this situation? I need my music:(((
What model iPod
Identifying iPod models
http://support.apple.com/kb/HT1353What iOS version (Settings>General>About>Version)
What computer OS and version? I suspect a Mac with OSX 10,5,8
Whart version of iTunes?
A Mac with OSX 10,5.8 should synce but not restore with iTunes version 10.6.3
iTunes 10.6.3
To restore you need iTunes 10.7 or later and that requores OSX 10,6,8 or later -
Broadcom bluetooth drives installation failed, no bluetooth device was detected.
hello, i have HP Pavilion dm4-3013cl Entertainment Notebook PC laptop.and i am trying to install BROADCOM BLUETOOTH DRIVERS in my laptop and i am getting this error that no bluetooth device was detected. please make sure that your bluetooth device is plugged in properly in order to countinue installation. now i want to say that i lost my recovery disc and after while for heating issue my main hard disk break or not working condition so i just replace hard disk and ofcourse i dont have os so i install fress windows 7 ultimate 64bit in my laptop. and install each drivers provide by HP website i downloaded all drives and installed and my windows 7 is also up to date. i search for this issue allmost one week for solution but cabt fix and i come to know that before insalltion of BROADCOM BLUETOOTH DRIVERS i have to enable bluetooth in HP WIRELESS ASSISTANCE but in my case i think i cant find due to new disk and new os. i can send file or recieve with bluetooth can paired with my all smartphones too but cant listen music in head phones. cant access LISTEN TO MUSIC, i know the reason is only this drivers is not installing properlly and i want to fix it. now i a tired and i dont have time to search and fix it so please help me out from this issue please and sorry for my poor grammer.
fixed !!! now i come to know, the problem is drives which i update it from intel websites, paul you suggest me correct driver for my bluetooth but it is allready in my laptop which i updated before but again i download and install and nothing happen then i reformate laptop and again install all drivers which i downloaded from hp website for my laptop and again update all drivers manually and automaticallu both from intel website and intel utility drivers software and update windows too and i got same problem. cant hear music from bluettoth head phone, so again i reformate laptop but this time i just installed drivers which listed from hp website, i didnt update anything and as you said i didnt install broadcom bluetooth drivers because it is not for my laptop so then i connect my blutooth and try to access listen to music and o m g. it works now i can hear nusic form bluetooth, i dont believe this. but yes it works this forum help other also so thanks paul and have a nice day now i newer going to update my drivers... in pic you can understand that i am not using latest version of bluetooth drivers.
-
Infinite loop - A stale JDBC connection was detected in the connection pool
Hello.
I have a simple JSP (no servlets) application with a single Fastlane Reader style view object to back it up. I'm deploying my application under OC4J 10g 9.0.4 using BC4J 9.0.3.11.50 (JDev 9.0.3.3) on RHEL 3.0, j2sdk1.4.2_03.
I run with -Djbo.debugoutput=console
Every so often, intermittently, and totally unpredictably, I see this on stdout for OC4J:
03/12/23 07:42:07 [33326] A stale JDBC connection was detected in the connection pool
03/12/23 07:42:07 [33327] Creating a new pool resource
03/12/23 07:42:07 [33328] Trying connection/2: url='jdbc:oracle:thin:@somedb:1521:somedbsid' info='{user=someuser, password=somepass, dll=ocijdbc9, protocol=thin}' ...
This message occurs over and over ultimately resulting in hundreds upon thousands of failed connections to the database. I have to forcibly restart OC4J to stop it.
The weird thing about it is that it seems to only start doing this on one system (which is our internal deployment site); it works fine under an OC4J running in IDE or on a preproduction machine.
Has anyone experienced this before - or at the very least, can clue me in on getting BC4J to be a little more verbose on the connection failure?
Thanks and Happy Holidays,
SeanHi did you find an answer?
if so, could you post it here?
thanks -
I get a message that says an incompatible browser was detected and i can't view a web page.
I get a message that says an incompatible web browser was detected when I click a link on a certain web site. it said try using firefox or mozilla or internet explorer. I got firefox and it still says the same thing. I just got my computer saturday and havent changed any settings.
http://discussions.apple.com/message/19069529#19069529
If that link doesn't help, you can type does not allow relay in the search function at the top right of the forum. -
Error : A cycle was detected in the classpath of project
Hi, When I build a scheduler program, I get the below error
A cycle was detected in the classpath of project:
Error A cycle was detected in the classpath of project: EPD_APMDM_Dkmsted.com EPD_APMDM_Dkmsted.com
Error A cycle was detected in the classpath of project: EPD_APMDM_DLibWrapted.com EPD_APMDM_DLibWrapted.com
Please help
Thanks
Prabhu.M...The issue has been resolved.
I was referring the jar files in 2 places , one in Wrapper and another in Portal DC.
I removed the reference from Wrapper and issue got resolved
Thanks -
Hello NI Engineer,
I am using SCXI 1001 chassis with SCXI 1600 control module, SCXI 1520 signal conditioning module and SCXI 1314 connector block to acquire data from strain gage. Once I right clicked SCXI 1001 under device and Interfaces in MAX>> test>>I found a pop up window as “Verify SCXI chassis: Configuration specifies a SCXI -1600 module but nothing was detected”.
This is what I did. I connected wires from strain gage to SCXI 1314 connector block which is then connected to SCXI 1520, placed in chassis. I connected SCXI 1600 controller module to computer using a USB 2.0 cable. As soon as I switched on chassis, I found a pop up at task bar as “SCXI 1600 is detected”. I opened MAX and right clicked NI SCXI -1001 under devices and interfaces>> Properties>>selected the accessory under module tab and got “Configuration complete” message at top of pop up window, But once I right clicked NI SCXI 1001 >> test >> I found an error as mentioned above. Also once I right clicked NI SCXI 1520, under NI SCXI 1001>> Configure TEDS>> I was not able to click scan for HW TEDS option (i.e. It’s not shown up). How to overcome these two errors? Please help me. I also attached screen shots with this. I am using windows XP.
Thanks
Dhaya.
Attachments:
Error pic 1.JPG 115 KB
Error pic.JPG 97 KBHi Dhaya,
You seems in the correct direction to configure the SCXI hardware. There is nothing to test on the SCXI-1001 chassis instead you can test on the individual channels inside the SCXI. SCXI 1600 will auto detect the modules inside the SCXI Chassis and display it in MAX. The next step that you may need to do is to configure the Accessories (Connector Block) that is attached to the SCXI-1520 mentioned.
Once you configure the connector block, you should be able to test SCXI-1520 channel.
In regards to TEDS, Are you using SCXI-1314T connector block (http://sine.ni.com/nips/cds/view/p/lang/en/nid/13735) which is for TEDS sensors?
I hope that this helps
- Meadow -
LabVIEW 7.0 - 2011, Vision, RT, FPGA
TestStand 3.0 - 4.5 -
A port conflict was detected in the server configuration
Hi
Iam getting following error message "A port conflict was detected in the server configuration" error when I run startWeblogic.sh. I checked same in config.sh file about repeatation of port for channel sip but it is not repeated. Please help me out
I have run nodemanager successfully on 5556 port but I have admin server starting problem I tried both $DOMIAN_HOME/startWeblogi.sh and $DOMAIN_HOME/bin/startWeblogic.sh location and I am getting same issue.
Error message:
####<May 4, 2011 10:43:23 AM IST> <Info> <WebLogicServer> <HSCHARTOMR0112> <> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1304486003957> <BEA-000000> <WebLogic Server "AdminServer" version:
WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255 Copyright (c) 1995, 2009, Oracle and/or its affiliates. All rights reserved.>
####<May 4, 2011 10:43:24 AM IST> <Notice> <Log Management> <HSCHARTOMR0112> <> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1304486004002> <BEA-170019> <The server log file /u01/BEA/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Log Management> <HSCHARTOMR0112> <> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1304486004005> <BEA-170023> <The Server Logging is initialized with Java Logging API implementation.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Diagnostics> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004044> <BEA-320001> <The ServerDebug service initialized successfully.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004141> <BEA-002622> <The protocol "t3" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004141> <BEA-002622> <The protocol "t3s" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004141> <BEA-002622> <The protocol "http" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004142> <BEA-002622> <The protocol "https" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004142> <BEA-002622> <The protocol "iiop" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004143> <BEA-002622> <The protocol "iiops" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004144> <BEA-002622> <The protocol "ldap" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004144> <BEA-002622> <The protocol "ldaps" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004147> <BEA-002622> <The protocol "cluster" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004148> <BEA-002622> <The protocol "clusters" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004152> <BEA-002622> <The protocol "snmp" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004152> <BEA-002622> <The protocol "admin" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004153> <BEA-002624> <The administration protocol is "t3s" and is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004157> <BEA-002622> <The protocol "sip" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004158> <BEA-002622> <The protocol "sips" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004159> <BEA-002622> <The protocol "sips-admin" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004164> <BEA-002622> <The protocol "diameter" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004165> <BEA-002622> <The protocol "diameters" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004166> <BEA-002622> <The protocol "diameter-sctp" is now configured.>
####<May 4, 2011 10:43:24 AM IST> <Emergency> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004185> <BEA-002633> <A port conflict was detected in the server configuration. The server is configured to listen on two ports that have the same port number and IP address. Channel "sip" address "sip://fe80:0:0:0:fcff:ffff:feff:ffff:5006" conflicts with channel "sip" address "sip://fe80:0:0:0:fcff:ffff:feff:ffff:5006".>
####<May 4, 2011 10:43:24 AM IST> <Critical> <WebLogicServer> <HSCHARTOMR0112> <AdminServer> <main> <<WLS Kernel>> <> <> <1304486004186> <BEA-000362> <Server failed. Reason: Network configuration error, check log for details.>
####<May 4, 2011 10:43:24 AM IST> <Notice> <WebLogicServer> <HSCHARTOMR0112> <AdminServer> <main> <<WLS Kernel>> <> <> <1304486004281> <BEA-000365> <Server state changed to FAILED>
####<May 4, 2011 10:43:24 AM IST> <Error> <WebLogicServer> <HSCHARTOMR0112> <AdminServer> <main> <<WLS Kernel>> <> <> <1304486004281> <BEA-000383> <A critical service failed. The server will shut itself down>
####<May 4, 2011 10:43:24 AM IST> <Notice> <WebLogicServer> <HSCHARTOMR0112> <AdminServer> <main> <<WLS Kernel>> <> <> <1304486004283> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
####<May 4, 2011 10:43:24 AM IST> <Info> <WebLogicServer> <HSCHARTOMR0112> <AdminServer> <main> <<WLS Kernel>> <> <> <1304486004283> <BEA-000236> <Stopping execute threads.>
Thanks,
Phani
Edited by: Phani on 3 May, 2011 10:28 PM
Edited by: Phani on 4 May, 2011 1:25 AM
Edited by: Phani on 4 May, 2011 3:03 AMRefer:- wlcs_server1 won't start - sipchannel port conflict
-Akshay -
[POL-3207] a corrupted data page was detected
Hi,
I have SOA Suite 10.1.3.3 running on a windows host. Out of the blue, in the bpel console I started getting the following error message .
[POL-3207] a corrupted data page was detected
After some investigation I identified the issue was with the Oracle Lite database installed with the SOA suite, Which I am guessing is used for dehydration. To ensure that the problem is with the Oracle Lite database, I ran the following command and got the same error message.
C:\WORK\SOA_SUITE\product\10.1.3.1\OracleAS_1\Mobile\Sdk\BIN>msql administrator/
welcome1@jdbc:polite
Oracle Lite MSQL Version 10.2.0.2.0
Copyright (c) 1997, 2005, Oracle. All rights reserved.
[POL-3207] a corrupted data page was detected
Running defragdb.exe also results in the same error. Your help in resolving this issue is greatly appreciated.
Thanks
RajeshHi,
I have SOA Suite 10.1.3.3 running on a windows host. Out of the blue, in the bpel console I started getting the following error message .
[POL-3207] a corrupted data page was detected
After some investigation I identified the issue was with the Oracle Lite database installed with the SOA suite, Which I am guessing is used for dehydration. To ensure that the problem is with the Oracle Lite database, I ran the following command and got the same error message.
C:\WORK\SOA_SUITE\product\10.1.3.1\OracleAS_1\Mobile\Sdk\BIN>msql administrator/
welcome1@jdbc:polite
Oracle Lite MSQL Version 10.2.0.2.0
Copyright (c) 1997, 2005, Oracle. All rights reserved.
[POL-3207] a corrupted data page was detected
Running defragdb.exe also results in the same error. Your help in resolving this issue is greatly appreciated.
Thanks
Rajesh -
Hi,
since a while (as far as i am able to roll back system log in event viewer) I am having strange issues in the sys log, as in the subject. It is a warning of disk event 51: 'An error was detected on device \Device\Harddisk0\D during a paging operation.'
I have freed up 1/3 of each partition on the harddrive. Any idea where can i keep going to investigate?
thxpogacsa,
I have searched a bit about you issue in microsoft technet,and here's what they have got to say
"An event ID 51 entry is a generic error entry for any type of error that occurs when Windows is paging information to input/output (I/O).
A paging operation occurs when Windows either swaps a page of memory from memory to disk, or when Windows retrieves a page of memory from disk to memory."
In this event, D, DR and FT, they all stand for a certain disk partition number. You can use the Registry or Disk Management to locate the certain disk.
For further information, please refer to the following KBs:
159865 How to distinguish a physical disk device from an event message
http://support.microsoft.com/kb/159865/en-us
244780 Information about Event ID 51
http://support.microsoft.com/kb/244780/en-us
you may also want to check out this link from microsoft technet community as well.
some of the resolutions mentioned there require you to modify your registry.Please DONOT attempt to modify the registry if you dont have enough prior knowledge about it
Also try defragmenting your HDD once.
hope this info helps you
Message Edited by vijaysaradhi on 06-03-2009 02:33 PM
Cheers and regards,
• » νιנαソѕαяα∂нι ѕαмανє∂αм ™ « •
●๋•کáŕádhí'ک díáŕý ツ
I am a volunteer here. I don't work for Lenovo -
Cycle was detected in the build path of project
Hi
I was trying to create a Test application for MDB.
Here from the webContent I call the service locator in the EJB folder and get the bean object. Using the object I need to put a message in the MQ.
The onMessage method<present under EJB folder> picks up the message<which is a key> and then it has to refer the value in the Map which is under the ../WebContent/Javasource/..
But when I try to complile the project it is giving a error stating that A cycle was detected in the build path of project: MDBTestEJB.
How do I solve this ?? Please help ?The fix for this - regardless of IDE - is to use a
bit of common sense, and good old-fashioned logic
(remember that?). You've obviously got (at least) 2
things that are dependent on each other, which - if
you remember the Chicken and Egg problem* - can't
possibly work. Work it out for yourself, you're
writing software, after all. If A needs B to do some
work but can't because B needs A first, you've got
problems
* sensible "it was the egg. Something
not-quite-like-a-chicken-but-close mated with
something-else-not-quite-like-a-chicken, and produced
an egg that eventually hatched into a chicken"
notwithstandingOK georgemc, I allowed you to motivate me to look for a better fix. I think I came up with a solution but I'd like to see if you, or anyone else, agrees with it.
First let me say that I'm using a persistence layer, which I've never done before, and with cardinality annotations different classes need to reference each other cyclically.
My problem was that I had class A in project 1 that depended on class B in project 2, but class B (project 2) also depended on class A (project 1). This meant that I had project 2 on the project 1 build path and vice versa; which is why I was getting the error.
After your post I started to think about it and it seems that my original solution didn't do a very good job of utilizing the extensibility that Java's OO gives us. My new solution is to remove any reference of class A that is in class B and also remove project 1 from the project 2 build path. Then extend class B into class ChildOf_B in project 1 and insert the references to class A in the new child class. I of course keep project 2 on the project 1 build path.
I've since told eclipse to throw an error for build path cycles instead of a warning and I no longer have any problems. -
An error was detected on device \Device\Harddisk0 during a paging operation.
Hi
I have a Dell PE 2850 running Windows Server 2003 which is attached via SCSI to a Power Vault 220 SCSI disk enclosure.
The server is beeping and in the eventvwr I see the following message:
An error was detected on device \Device\Harddisk0 during a paging operation.
There are no disk failure lights on the server so what is causing these errors in the Event Viewer?
Thanks
PaulThe "error" doesn't have to mean that the disk is faulty, it's just that that specific write operation might have failed (for unknown reasons).
That's all the light I can shed on it after looking through my event logs, I have a few of those too, but no errors anywhere else.Best regards
Joachim Nässlander
IT-Expert, Knowledge Factory
(http://www.knowledgefactory.se)
MVP Cluster
Member of Microsoft Extended Experts Team (MEET)
Blog: http://www.nullsession.com -
Adobe InDesign is shutting down. A serious error was detected
Dear scripters
here I am trying to relink the book contents from different path. While I am running this script my indesign cs2 is shutting down.
the error is below
Adobe InDesign
Adobe InDesign is shutting down. A serious error was detected. Please restart InDesign to recover work in any unsaved InDesign documents.
OK
This is my script
var myFolder = Folder.selectDialog("Please select a folder");
bb = app.books[0].bookContents;
for (i = 0; i < bb.length; i++)
chname= File(bb[i].fullName).name;
mynewfile = File(myFolder + "/" + chname);
if (mynewfile.exists) {
bb[i].replace (File (mynewfile));
$.writeln (mynewfile)
app.books[0].save();
Please advice me how to solve this prob?
thanks in advance
regards
a r u lYou have a serious corruption problem someplace, or a serious conflict with some other software that is running.
If this happens with more than one document, you can start with repalcing your preferences. See Replace Your Preferences
If it's isolated to a single document, see Remove minor corruption by exporting
Another very likey cause is a corrupt or poorly made font. Run a font utility to look for font problems.
Turn off any third party Plugins for ID that you might have installed. Also try turning off your font manager if you have one.
If none of this helps, you may have to reinstall ID. -
Hello........
My Hp pavilion dv2910us
after install windoas 7 when i try to install my bluetooth driver its say
No Bluetooth device was detected.............
i try SP38167 And SP46038 but same error ..............
what to do............. is it driver problem and device problem......?????
Thanks
manoranjan
waiting for great replyHi
Please press the Fn & Esc Button you will find the details of what i have asked you i needs the complete model number & Product number so i can check if the Bluetooth cam integrated on your unit.
Let us know how it goes!
"I work for HP."
****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
****Please mark Accept As Solution if it solves your problem****
Regards
Manjunath
Maybe you are looking for
-
Putting method in graphic window instead of console
Hello! I want my blackjack game to run in a graphical window instead of in the console. I have already made 2 buttons that starts the method(the blackjack game) and that shuts down the program. But when the program starts the text is printed in the c
-
How can I send photos in mail as attachments instead of in the body of the message?
I want to send photos as attachments to email instead of in the body of the message. I have searched through preferenced in both mail and iPhoto but can find nothing that lets me do this.
-
IPhone TV out Feature???
I know Apple added the TV out feature for the iPhone with the 1.1.1 update. However, when I tried to use my old TV cables for my last gen iPod they dont work. Is my iphone broken or is there something im missing with the steps?? My cables work fine w
-
I have leopard 10.3.9 and can no longer view my .mac mail as I cannot load Safari 3 on my ibook because my software will not support it. Is there any way around this problem?
-
Is this possible to have (DEFAULT)Table Of Contents (TOC) as the 2nd report in the book? i.e. presently my editor shows the below reports Report A Report B Report Z The PDF output of the book shows as below: TOC Report A Report B Report Z I want the