Many Baffling Problems

since 30 days i m constantly facing problems eith the pc;1.first the battery wasnt being charged when plugged in.i called lenovo care delhi .they locked my call to change the battery.
i took the pc to the service center in mumbai sakinaka where "battery was changed" but problem persisted.
they diagnosed that the motherboard needed to b changed.
2.after a week my "motherboard was chANGED" .the charging problem was solved.
3.But immediately after the mother board was changed
5 buttons- the RED shuttle center button,the volume buttons,novo key,camera buttons were not working.
4.along with that the icons on the taskbar did not appear,ie the veriface face recognition icon,shuttle center icon,eazy button icon,
windows side bar icon,realtek sound driver icon,easy capture icon,power to go icon  are not seen on the taskbar.
5.before changing the motherboard when i bring the mouse cursor on the battery icon onthe taskbar the time for
which the battery would last was displayed. NOW THE TIME FOR WHICH THE BATTERY WOULD LAST IS NOT APPEARING.
6.Sometimes after the pc is started immediately after shutting down "there is no sound".
7.The overall speed has reduced. starting windows takes much time.
programs hang frequently.
8.the pc abruptly shuts down for no apparent reason;
**all these problems began AFTER CHANGING THE MOTHERBOARD.
THESE PROBLEMS GET SOLVED TEMPORARILY AFTER ONE KEY RECOVERY IS EXECUTED.BUT AFTER SHUTTING DOWN AND STARTING AGAIN
2-3 TIMES ALL THESE PROBLEMS APPEAR AGAIN.
I PHONED THE CUSTOMER CARE DELHI.THEY LOCKED MY CALL TO CHANGE THE MOTHERBOARD ONCE AGAIN.
THE SERVICE ST CHANGED MY MOTHERBOARD THE SECOND TIME BUT THE PROBLEMS CONTINUED.
I  HAVE REINSTALLED THE DRIVERS 4-5 TIMES FROM THE DRIVER CD.
I HAVE EVEN DOWNLOADED THE LATEST UPDATED DRIVERS FROM LENOVO AND INSTALLED THEM BUT OF NO USE.
I HAVE DONE THE ONE KEY RECOVERY 11 TIMES SINCE THE MB WAS CHANGED FOR THE ABOVE PROBLEMS BUT THEY PERSIST...

hey..hi..your problem is similar to that of mine...but the problem i have is i don have the drivers for the veriface face recognition ,shuttle center ,eazy button ,easy capture,etc...
sorry,actually i don have a solution for u...but u can help me out....can u pls send me the drivers...i checked the lenova site....i don have drivers for these...pls....
pls reply me at [email protected]

Similar Messages

  • Many small problems in Mavericks

    When user experience many small problem in daily work, I feel the design is failed.
    Memory management has a lot of problem, I feel my macbook is abnormal slow after I upgraded to Mavericks. Sometime, I need to wait for several sec to get what I want.
    I think this problem is extreme important for OS.
    When I want to start a probelm, click once, no response, click twice, pop-up 2 times after 5 sec.
    Then i change my way of work, clock one time, work on other task. 5 sec later, multi desktop switch the desktop to the starting program. Then, I don't know what I was doing.
    Another is sound problem, sound doesn't work sometime and need some kind of procedure to get it back.
    Please don't ask me do something to solve the problem everytime when it happen. It is OS task to work it properly.
    Whatever how many great feature you added is meaningless if user daily experience is bad.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve your problem.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to gather information about the state of your computer. That information goes nowhere unless you choose to share it on this page. However, you should be cautious about running any kind of program (not just a shell script) at the request of a stranger on a public message board. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them.
    Here's a summary of what you need to do, if you choose to proceed: Copy a line of text from this web page into the window of another application. Wait for the script to run. It usually takes a couple of minutes. Then paste the results, which will have been copied automatically, back into a reply on this page. The sequence is: copy, paste, wait, paste again. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking  anywhere in the line. The whole line will highlight, though you may not see all of it in your browser, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; Pc () { o=`grep -v '^ *#' "$2"`; Pm "$1"; }; Pm () { [[ "$o" ]] && o=`sed '/^ *$/d; s/^ */   /' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id | grep -qw '80(admin)'; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed '8!d;s/^ *//'; o=`SP Hardware | awk '/Mem/{print $2}'`; o=$((o<4?o:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d; /[my].*:/d'`; [[ "$o" =~ s:\ [^O]|x([^08]||0[^2]8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm "POST"; for b in Thunderbolt USB; do o=`SP $b | sed -En '1d; /:$/{s/ *:$//;x;s/\n//p;}; /^ *V.* [0N].* /{s/ 0x.... //;s/[()]//g;s/\(.*: \)\(.*\)/ \(\2\)/;H;}; /Apple|SCSM/{s/.//g;h;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm "Thermal conditions"; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load advisory"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; d=(/ ""); D=(System User); E=; for i in 0 1; do o=`cd ${d[$i]}L*/L*/Dia* || continue; ls | while read f; do [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && e=" *" || e=; awk -F_ '!/ag$/{$NF=a[split($NF,a,".")]; print $0 "'"$e"'"}' <<< "$f"; done | tail`; Pm "${D[$i]} diagnostics"; done; [[ "$o" =~ \*$ ]] && printf $'\n* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'GPU |hfs: Ru|I/O e|last value [1-9]|n Cause: -|NVDA\(|pagin|SATA W|ssert|timed? ?o' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel messages"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); o=${s[2]}%; Ps "CPU usage by process \"$s\" with UID ${s[1]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); s[2]=${s[2]%[+-]}; o=$((s[2]>=25000?s[2]:0)); Ps "Mach ports used by process \"$s\" with UID ${s[1]}"; o=`kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1`; Pm "Loaded extrinsic kernel extensions"; R && o=`sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|post[fg]|x)/{print $3}'`; Pm "Extrinsic system jobs"; o=`launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'`; Pm "Extrinsic agents"; o=`for d in {/,}L*/Lau*; do M; done | grep -v com\.apple\.CSConfig | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/Star*; do M; done`; Pm "Startup items"; o=`find -L /S*/L*/E* {/,}L*/{A*d,Compon,Ex,In,Keyb,Mail/B,P*P,Qu*T,Scripti,Servi,Spo}* -type d -name Contents -prune | while read d; do ID=$($PB\ :CFBundleIdentifier "$d/Info.plist") || ID="No bundle ID"; [[ "$ID" =~ ^com\.apple\.[^x]|Accusys|ArcMSR|ATTO|HDPro|HighPoint|driver\.stex|hp-fax|\.hpio|JMicron|microsoft\.MDI|print|SoftRAID ]] || printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Extrinsic loadable bundles"; o=`find -L /u*/{,*/}lib -type f | while read f; do file -b "$f" | grep -qw shared && ! codesign -v "$f" && echo $f; done`; Pm "Unsigned shared libraries"; o=`for e in DYLD_INSERT_LIBRARIES DYLD_LIBRARY_PATH; do launchctl getenv $e; done`; Pm "Environment"; o=`find -L {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=`scutil --proxy | grep Prox`; Pm "Proxies"; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; Ps "DNS"; R && o=`sudo profiles -P | grep : | wc -l`; Ps "Profiles"; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; Pc "hosts" <(grep -v 'host *$' /etc/hosts); Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`SP Fonts | egrep "Valid: N|Duplicate: Y" | wc -l`; Ps "Font problems"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign ($) or a percent sign (%). If you get the percent sign, enter
    exec bash
    in the window and press return. You should then get a new line ending in a dollar sign.
    Click anywhere in the Terminal window and paste (command-V). The text you pasted should vanish immediately. If it doesn't, press the return key.
    If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know your password, or if you prefer not to enter it, just press return three times at the password prompt.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line "[Process completed]" to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report your results. No harm will be done.
    8. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If it happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of Apple Support Communities ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Among many other problems

    Among many other problems, itunes doesn't play music, it get stuck, quicktime doesn't load, can't desinstall quicktime and install again, I've tried every version of itunes but every time I install it it tells me something funny about quicktime(desinstall firsta and then try again) but the thing is that won't desinstall.
    Help please

    hi claudia!
    I've tried every version of itunes but every time I install it it tells me something funny about quicktime(desinstall firsta and then try again) but the thing is that won't desinstall.
    what error message are you getting on the uninstall? include error message numbers if you're getting any.
    love, b

  • One-to-many graph problem

    Hi,
    I am haviing a crystal report problem. The problem relates to a one-to-many relationship involving two tables.
    I have a similar setup to the following:
    I have 2 database tables: table1 & table2
    table1 consists of 3 fields:
    {id#}, {yes/no},{up/down}
    table2 consists of 2 fields:
    {id#},
    the field can contain any of the following values: 'open', 'closed', 'final', 'complete'.
    The problem is that there exist many states to one id#.
    I have a bar graph in my report that displays a bar for the count of the{yes/no} field and a bar for the count of the {up/down} field. I want also a bar for the count of when the field = 'final'.
    What happens when I write a formula for the field in the second table and place it in the 'show values' section of the chart expert, is the count displayed in each bar on the graph increases significantly. I am assuming this is because there are multiple records in table 2 for each record in table 1.
    What I want to happen is that the graph displays bar 1 and bar 2 correctly and then when I put in the formula for the third bar, it simply displays that bar with the count for when the field = 'final'. I dont want it to affect the whole garph.
    Has anyone got any suggestions on how I can do this?
    I have tried messing around with the distinct records setting in crystal and also by writing an sql query specifying DISTINCT keyword instead of using the select expert, but to no avail.
    Please please can someone help me with this issue.
    Thank you.
    J

    You can add a 1-1 query key through the code API in a descriptor amendment method. You could also define a selection criteria on the 1-m mapping to filter the type=2.
    Example: (see Foundation Library manual 8-17)
    OneToOneQueryKey queryKey = new OneToOneQueryKey();
    queryKey.setName("organization");
    queryKey.setReferenceClass(Organization.class);
    ExpressionBuilder builder = new ExpressionBuilder();
    queryKey.setJoinCriteria(builder.getField("ORGANIZATION.ORG_ID").equal(builder.getParameter("RELATIONSHIP.PARENT_ID").and(builder.getParamater("RELATIONSHIP.RELATIONSHIP_TYPE").equal(2)));
    relationDescriptor.addQueryKey(queryKey);
    Example: (of 1-m mapping with selection criteria)
    OneToManyMapping mapping = new OneToManyMapping();
    mapping.setReferenceClass(Relation.class);
    mapping.setTargetForeignKey("RELATION.PARENT_ID");
    ExpressionBuilder builder = new ExpressionBuilder();
    mapping.setSelectionCriteria(builder.getField("RELATIONSHIP.PARENT_ID").equal(builder.getParameter("ORGANIZATION.ORG_ID").and(builder.getField("RELATIONSHIP.RELATIONSHIP_TYPE").equal(2)));
    orgDescriptor.addMapping(mapping);

  • 8gb Ipod Touch does not sync, many other problems

    Hello - If anyone has advice i would greatly appreciate it -
    Here's the deal. I was given an 8gb ipod touch for christmas last year. The device worked for for several months, one day however it got stuck in a loop where error (9) kept coming up saying that I needed to restore my ipod to the factory settings. I did this and when it finished verifying the installation process it would give me the same error. I took the ipod into the apple store and they tested it on their computer and it worked fine on that, however the took it anyway and gave me a free new one which came a couple days later.
    Since I have had the new one i have still had the same problems. I successfully was able to get my applications onto the ipod touch however when i tried to sync the music the ipod would freeze. When I checked the available space on the ipod it said that only 1.2gb remained eventhough there were no songs on the ipod at all. I tried to uninstall and reinstall itunes many times, i do receive an error message a lot on my computer saying that bonjour service is having issues and can not be accessed, but there is nothing that I do on my computer to cause this problem. My itunes again, with the new ipod touch, is asking me to restore the ipod to the factory settings again. Anyone have any idea what is going on or how it can be fixed?
    Thanks

    When it tells you new hardware is found, do you have the option to search the Internet instead of a CD?
    Be sure you turn off all antivirus, zone alarm, firewall etc. Go into Control Panel and check the Security settings as well as the task bar in the lower right corner. Make sure all those are disabled. Then try again.
    If still no luck, or you seem to be having USB problems, verify your USB is being recognized by XP by following these steps:
    1. From the Start menu, right-click the My Computer/Computer icon and choose Properties from the shortcut menu. The System Properties window opens.
    2. Windows XP and Windows 2000: Click the Hardware tab.
    Windows Vista: Click Device Manager. If Windows needs your permission to continue, click Continue.
    3. In the Device Manager section of the Hardware tab window, click Device Manager. The Device Manager window opens.
    4. Double-click the "Universal Serial Bus controllers" entry.
    5. Double-click the name of each USB Host Controller that appears under the "Universal Serial Bus controllers" entry. A window with the name of the installed USB Host Controller appears.
    6. If necessary, click the General tab. If the USB card is working correctly, you should see "This device is working properly" in the Device Status field.
    If still no luck, look at [Updating the drivers on your Windows PC|http://support.apple.com/kb/HT1768?viewlocale=en_US]particularly for updates to the CD or DVD drive, graphics card, sound card.

  • Startup problems and many other problem... APPLE CARE DON'T FUNCTION !!!!

    Hi, and sorry for my bad english...
    I have imac 27" refurbished bought on september 2010. When startup process proceed correctly and i can use the computer, there are many many many "blocks" of normal operating: it appears the colored circle and the system is always "busy", although there are no application open!!! When skype is open, it always lost the already saved password. Safari lost all the login saved password. I can't drag files into the basket or create a folder! (message error).
    But the big problem is: startup process failure almost always!!! Startup is ok only if the computer was off during some hours. After the first startup, i can't restart (manual or automatic restart, in any case...) it appears green screen with the green apple, and the rotating cirle forever.....
    So, i have tried many solution:
    - check and repair HD using utility disk: FAILED
    - check and repair permits using utility disk: FAILED
    - format the HD using utility disk with OsX dvd: FAILED
    - reinstall OS X: FAILED
    I gave the iMac at applecare centre to repair, two times!! 2 TIMES in 1 month !!
    - first time: replaced HD
    - second time: replaced mother board
    In both times, the repairs DON'T FIX THE PROBLEMS....
    THE PROBLEMS REMAIN THE SAME (like a led zeppelin song...)
    So, i think: maybe the cause was not the HD, maybe not the mother board... WHAT'S THE PROBLEM?????
    Even the autorized apple assistance centre can't find e repair the problem, what i have to do???
    I think that Apple should replace the product or refund me...
    but, i know, APPLE THINK DIFFERENT...
    help me

    thank you den.thed!
    But, i have already called Apple Support... they say to me "deliver your mac at an apple assistance centre"... for 2 times, and tomorrow i will do it again...
    I'd like to find in this forum some answers about some little questions. I try to do it:
    1) when i try to initialize "Macintosh HD" appears this message: "Disk initialize failed - POSIX reports: The operation couldn't be completed. Cannot allocate memory". WHY? WHAT DOES IT MEAN?
    2) If i try to reinstall OS X appears. "IMPOSSIBLE TO INSTALL MAC OS X ON COMPUTER". WHY?
    Thank you very much!

  • Baffling Problem with Acrobat Javascript

    I'm hoping someone can help me. I've tried for hours and hours to find what the trouble is but just can't find a solution.
    The following code works, however, this is the baffling part. I need to edit / update the code but the problem occurs when I make ANY changes to the code - even indenting a line. You will notice that the code is not indented and poorly formatted - that's because when I had the code indented, I repeatedly got a "SyntaxError: missing } in compound statement"
    I am completely baffled as to why sometimes I get the SyntaxError and sometimes not. I swear there are instances where the code worked one time and then another time causes a SyntaxError.
    Tried using Adobe Javascript Debugger, tried running code through jslint.com, tried creating a new PDF file and placing this code in that file - still getting SyntaxError if I change or indent the code. The only thing I haven't tried yet is trying it out on the Windows version.
    I'm using Acrobat Pro 10.1.3 (Creative cloud) on a Mac OS X Lion 10.7.4
    Any help would be really appreciated!
    var trackErrors = 0;
    var errorMessage = 'Please complete all of the required fields';
    if (this.getField('1A').value.length === 0) { errorMessage += ' A Wall Height '; trackErrors++; }
    if (this.getField('1B').value.length === 0) { if (trackErrors === 1) { errorMessage += ', B Wall Length '; } else { errorMessage += ' B: Wall Length '; trackErrors++; } }
    if (this.getField('1C').value.length === 0) { if (trackErrors === 1) { errorMessage += ', C Spacing '; } else { errorMessage += ' C: Spacing '; trackErrors++; } }
    if (this.getField('1-4-radio').value === 'Off') { if (trackErrors === 1) { errorMessage += ' and Material Type - Fabric or Laminate.'; } else { errorMessage += ' Mat type'; trackErrors++; } }
    if (trackErrors === 0) {
    var x, y, v, z, kits = '';
    var flag = 0;
    this.getField('1D').value = this.getField('1B').value / 2;
    this.getField('1E').value = this.getField('1D').value / this.getField('1C').value;
    this.getField('1F').value = Math.floor(this.getField('1E').value);
    this.getField('1G').value = this.getField('1F').value + (this.getField('1F').value - 1);
    this.getField('1H').value = this.getField('1A').value * this.getField('1G').value;
    var materialType = this.getField('1-4-radio').value;
    switch (materialType)
    case 'F':
    x = this.getField('1H').value / 32;
    y = Math.ceil(x);
    this.getField('bw-kits-required').value = y + " Kit Required";
    break;
    case 'L':
    x = this.getField('1H').value / 128;
    y = this.getField('1H').value / 32;
    if (flag === 0) {
    if (x === Math.round(x)) { kits += x + ' kit '; flag++; }
    if (y === Math.round(y)) { kits += y + ' kit '; flag++; }
    v = Math.floor(x);
    x -= v;
    if (v > 0) { if (x < 0.75) { kits += v + ' kit'; v = Math.ceil((x * 128) / 32); kits += ' and ' + v + ' kit'; } else if (x >= 0.75) { kits += (v + 1) + ' kit '; } } else { kits += Math.ceil(y) + ' kit'; }
    this.getField('bw-kits-required').value = kits;
    break;
    } else { app.alert(errorMessage); }

    I don't get the same thing in Acrobat 9 on Windows XP. It would be interesting to see what happens if you copy what you posted here on the forum and use it.
    I would suggest changing code like:
    if (this.getField('1A').value.length === 0)
    To something like this:
    if (this.getField('1A').valueAsString.length === 0)
    If you use the value property and the field value is numeric (or "true" or "false"), it won't have a length property because the type of the value isn't "string", so it will be undefined. Since the special value of undefined is not equal to zero the code works, but it's a bit misleading. It could be further refined to just:
    if (!getField('1A').valueAsString)

  • Sattellite shuts off, screen starts blinking, and many other problems

    Hello
    About a year ago i bought a Toshiba Sattellite L855-149. And the thing has been nothing but problems and inconveniences. Not what you'd espect for an 800€ Laptop.
    First time i tried to connect to wireless network, blue screen. Happenned a huge ammount of times.
    It constantly freezes and goes into a state of "coma". But that's not what I'm here for.
    So, I was playing (NFS ProStreet, a game a computer like this should run without even trying), and it decided to shut down. Not in a "normal" way, it just went off as if the power source had been removed, evenb though it didn't. But, this had happened many times before, so I just did what I always did, waited a couple of minutes and, when the power source lightn lit up, I started it. However, instead of starting normally like it always did, it said something about an update, and then the screen just kept turning on and off, like blinking. A couple of seconds lit (altough it didnt show eãnything- just a black screen) and a couple of seconds off. Now everytime i try to turn it on, the Toshiba screen shows up for a bit, and goes back to flashing.
    Another thing that I can't understand, is that i can't access the BIOS. I've tried before, with all the F's and with the Fn+F keys, but nothing, it just ignored me.
    I am really mad with this laptop, and with toshiba in general. I don't know if someone else had this problem or not, but i think it is unnacceptable for an 800€ Laptop, that was ALWAYS treated with extra care, to give me problems like this.
    If someone could help, I would very much apreciate it. It still has a warranty (as I said, it's barely 1 year old), but I wanted to avoid taking it where I bought it for repairs, as that could take months, or even years, and probably wouldnt solve anything (like it happenned before to my father.
    Thank you in advance
    PS: I DO have a cooler, and the computer was barely hot, so I don't know what caused it to shut down so abruptly.

    That doesn't appear to be a US model, and this is the forums for Toshiba USA. You may want to contact Toshiba in your region.
    If it's a European model, you could check the Toshiba Europe forums.
    - Peter

  • Many Premiere Problems

    My confidence in Premiere Pro is shaken. The latest version is having Exporting problems...random red flashes, and compositing problems when choosing "Use Maximum Render Quality", all while using software only rendering.
    My clients are not happy, I look bad.
    I'm using Premiere Pro 7.1 on a Mac Pro 4,1 Quad core 8 processor 2.93 Ghz. OSX 10.8.3
    I have a graphics card, that has lots of cuda cores, but is not on your approved list (NVIDIA GeForce GTX 570 2560 MB), (and causes dissolves and other transition errors) so I use software only rendering and "Match Sequence Settings" to output a correct movie (in the past). Now that is not a sure-fire solution with this red flash flame problem.
    The compositing problem concerns alpha channel keys that double or maybe triple their opacity on export when using the Maximum Render Quality option. Semi-transparent layers are no good.
    I shouldn't forget, I'm waiting (for over 18 months) for the ability to color correct with speedgrade to my Flanders Pro Monitor via AJA Kona LHE+. Currently it crashes every time I try to turn on the external picture signal.
    The inconsistencies in routing audio to external speakers between programs. In Premiere's preferences, audio hardware options, you need to use System Default Input/Output and in the Mac's System preferences the Sound preference needs to be on "Internal Speakers". Yet with Audition, I need to change the Mac's Sound preference to AJA. Audition also needs to be set to AJA. By the way, I haven't been able to have Premiere and Audition running at the same time, for these audio discrepancies, I believe.
    So my question, is adobe going to get to a professional state that I can trust, and use effectively? My doubts are growing. Are there answers to my problems? 
    Best Regards,
    Jim

    Hi James.
    This might sound like a silly question but when you installed your operating system, did you do a clean install. We have found that overwriting causes so many issues with communication btwn software and the hardware. We wipe and re-install all the software on all 4 suites every 6 months. It's a tiny ball-ache but we don't really have that many issues.
    Do you also have a media on a shared network drive (NAS or SanMP for example) this can effect the reliability greatly deoending on what types of media you have and what wrting permissions you have on this drives.
    We use Blackmajic for our monitoring, which isnt bad. Again, with CS^ we had sync issues and still do a bit in CC but it's managable. We found that PrPro CS6 used to have issues with sound outputting and would lose but CC seems to have ironed out most of that for us.
    I used Speedgrade for about an hour recently.... nightmare in UI, speed (or lack of) and actual ability to effect the picture the way we wanted. We now use Resolve and it's great... quick and easy when needed and precise when you want to take ages on one shot.
    Can I ask what TL settings you use mainly and what types of files you are outputting etc.
    Paul

  • N97 many severe problems

    Hey everyone, this is my first post so sorry if it is somewhere else.
    I have the Nokia N97, ive had it for about 8 months. there are many problems with it.
    1. I do not receive texts on time, they are recieved 4/5 days later than they were sent. (time stamp even says it)(they only pop up when i turn phone into offline mode and online mode again)
    2. I can bearly place music or films or media onto my phone via USb cable as it will take an eturnity.(The first few files are incredibly quick but then it gets to the last 5% and either crashes or takes hours upon hours)
    3. System crashes often.
    4. Memory full so i cant make calls, look at contacts, read/write messages.
    5. Facebook mobile currupts the phone so i do not recieve emails.
    6. Emails dont always auto receive.
    7. The touch screen does not work whenever i need to use it. (scrolling to my messages(that i actually receive) is a task by its self).
    8. Vodafone wont help me because they are gay and say its out of warranty by a day.
    9. I got outragous phone bills (£400 a month at the moment) when my contract is all inclusive)
    10. phone freezes when i go through my media (i.e. music player, videos etc.)
    11. My recent call log (made/recieved/missed calls) do not show as anything. they work then they go blank for about a month.
    12. Windows Live mobile works fine but when installed will not let me read my texts nor emails.
    That is about it at the moment.
    Thanks if someone could help me with any of these would be great.
    Foxyboi

    If possible: connect it to computer and PC suite. Back up contacts and sms's etc. Do sa soft reset (diall *#7370# and enter security code 12345 (by default) ). This will delete everything on phonememory and free up space etc on the phonememory and clear out glitches.
    Then back up from Mass memory such as music pictures etc. Format it.
    Change messagememory to E - Reinstall your backup.
    Now, try to install all posible apps on E, - use E as messagememory (not that after having the phone connectet to pc, the messagememory will revert to C, you have to set it back).
    Make on folder on E called "music" - drag and drop musicfiles to that folder. refresh library.
    Once in a while go inside the browser->options clear privacy data-> all. this will free up space on C.
    See if this can make it work better.

  • Aggregate one-to-many relationship problem

    Hello,
    After migrating from Toplink 9i I've stumbled across a problem with our aggregate objects.
    Toplink Workbench reports no errors and generates a nice XML but in runtime I get this error whenever a aggregate function is used.
    [TopLink fin]: 2008.02.13 03:18:11.552--ServerSession(12626425)--Connection(29948747)--Thread(Thread[main,5,main])--SELECT DISTINCT t0.NPL_PACK_ID, t0.NPL_ID FROM NPL_MEDPROD t3, FASS_MEDPROD t2, NPL_MEDPROD t1, NPL_PACKAGE t0 WHERE (((t0.NPL_ID = t1._Presentation->NPL_ID_IN_REFERENCE_NPL_PACKAGE_NPL_MEDPROD_Test) AND ((t1.NPL_ID = t2.NPL_ID) AND (t3.NPL_ID LIKE '19750613000031%'))) AND (t3.NPL_ID = t2.NPL_ID))
    Caused by: Undantag [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
    Internt undantag: java.sql.SQLException: ORA-00911: invalid character
    Felkod: 911
    I belive that problem resides in this clause :
    t1._Presentation->NPL_ID_IN_REFERENCE_NPL_PACKAGE_NPL_MEDPROD_Test
    I've created a small test project with just a couple of classes but the same aggregate problem occurs which has let me to believe the problem does not come from the migrating process which was my first guess. If anyone could help me discover what I am doing wrong it would be very appreciated. Below is my test project output.
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink:object-persistence version="Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)" xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <opm:name>test</opm:name>
    <opm:class-mapping-descriptors>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <opm:class>se.lif.fass.fassdata.impl.FASSMedProdImpl</opm:class>
    <opm:alias>FASSMedProdImpl</opm:alias>
    <opm:primary-key>
    <opm:field table="FASS_MEDPROD" name="NPL_ID" xsi:type="opm:column"/>
    </opm:primary-key>
    <opm:events xsi:type="toplink:event-policy"/>
    <opm:querying xsi:type="toplink:query-policy"/>
    <opm:attribute-mappings>
    <opm:attribute-mapping xsi:type="toplink:one-to-one-mapping">
    <opm:attribute-name>_Medprod</opm:attribute-name>
    <opm:reference-class>schemas_npl.instance.impl.MedprodTypeImpl</opm:reference-class>
    <opm:private-owned>true</opm:private-owned>
    <opm:foreign-key>
    <opm:field-reference>
    <opm:source-field table="FASS_MEDPROD" name="NPL_ID" xsi:type="opm:column"/>
    <opm:target-field table="NPL_MEDPROD" name="NPL_ID" xsi:type="opm:column"/>
    </opm:field-reference>
    </opm:foreign-key>
    <opm:foreign-key-fields>
    <opm:field table="FASS_MEDPROD" name="NPL_ID" xsi:type="opm:column"/>
    </opm:foreign-key-fields>
    <toplink:batch-reading>true</toplink:batch-reading>
    <toplink:selection-query xsi:type="toplink:read-object-query"/>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>id</opm:attribute-name>
    <opm:read-only>true</opm:read-only>
    <opm:field table="FASS_MEDPROD" name="NPL_ID" xsi:type="opm:column"/>
    </opm:attribute-mapping>
    </opm:attribute-mappings>
    <toplink:descriptor-type>independent</toplink:descriptor-type>
    <toplink:instantiation/>
    <toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
    <toplink:change-policy xsi:type="toplink:deferred-detection-change-policy"/>
    <toplink:tables>
    <toplink:table name="FASS_MEDPROD"/>
    </toplink:tables>
    </opm:class-mapping-descriptor>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <opm:class>schemas_npl.instance.impl.MedprodTypeImpl</opm:class>
    <opm:alias>MedprodTypeImpl</opm:alias>
    <opm:primary-key>
    <opm:field table="NPL_MEDPROD" name="NPL_ID" xsi:type="opm:column"/>
    </opm:primary-key>
    <opm:events xsi:type="toplink:event-policy"/>
    <opm:querying xsi:type="toplink:query-policy"/>
    <opm:attribute-mappings>
    <opm:attribute-mapping xsi:type="toplink:aggregate-object-mapping">
    <opm:attribute-name>_Medprodpack</opm:attribute-name>
    <toplink:reference-class>schemas_npl.instance.impl.MedprodTypeImpl$MedprodpackTypeImpl</toplink:reference-class>
    <toplink:allow-null>false</toplink:allow-null>
    <toplink:field-translations>
    <toplink:field-translation>
    <toplink:source-field name="_Presentation->NPL_ID_IN_REFERENCE_NPL_PACKAGE_NPL_MEDPROD_Test" xsi:type="opm:column"/>
    <toplink:target-field table="NPL_MEDPROD" name="NPL_ID" xsi:type="opm:column"/>
    </toplink:field-translation>
    </toplink:field-translations>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>_Nplid</opm:attribute-name>
    <opm:field table="NPL_MEDPROD" name="NPL_ID" xsi:type="opm:column"/>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>id</opm:attribute-name>
    <opm:read-only>true</opm:read-only>
    <opm:field table="NPL_MEDPROD" name="NPL_ID" xsi:type="opm:column"/>
    </opm:attribute-mapping>
    </opm:attribute-mappings>
    <toplink:descriptor-type>independent</toplink:descriptor-type>
    <toplink:instantiation/>
    <toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
    <toplink:change-policy xsi:type="toplink:deferred-detection-change-policy"/>
    <toplink:tables>
    <toplink:table name="NPL_MEDPROD"/>
    </toplink:tables>
    </opm:class-mapping-descriptor>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <opm:class>schemas_npl.instance.impl.MedprodTypeImpl$MedprodpackTypeImpl</opm:class>
    <opm:alias>MedprodTypeImpl$MedprodpackTypeImpl</opm:alias>
    <opm:events xsi:type="toplink:event-policy"/>
    <opm:querying xsi:type="toplink:query-policy"/>
    <opm:attribute-mappings>
    <opm:attribute-mapping xsi:type="toplink:one-to-many-mapping">
    <opm:attribute-name>_Presentation</opm:attribute-name>
    <opm:reference-class>schemas_npl.instance.impl.MedprodTypeImpl$MedprodpackTypeImpl$PresentationTypeImpl</opm:reference-class>
    <opm:private-owned>true</opm:private-owned>
    <opm:target-foreign-key>
    <opm:field-reference>
    <opm:source-field table="NPL_PACKAGE" name="NPL_ID" xsi:type="opm:column"/>
    <opm:target-field name="_Presentation->NPL_ID_IN_REFERENCE_NPL_PACKAGE_NPL_MEDPROD_Test" xsi:type="opm:column"/>
    </opm:field-reference>
    </opm:target-foreign-key>
    <toplink:batch-reading>true</toplink:batch-reading>
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>com.sun.xml.bind.util.ListImpl</toplink:collection-type>
    </toplink:container>
    <toplink:selection-query xsi:type="toplink:read-all-query">
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>com.sun.xml.bind.util.ListImpl</toplink:collection-type>
    </toplink:container>
    </toplink:selection-query>
    </opm:attribute-mapping>
    </opm:attribute-mappings>
    <toplink:descriptor-type>aggregate</toplink:descriptor-type>
    <toplink:instantiation/>
    <toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
    <toplink:change-policy xsi:type="toplink:deferred-detection-change-policy"/>
    </opm:class-mapping-descriptor>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <opm:class>schemas_npl.instance.impl.MedprodTypeImpl$MedprodpackTypeImpl$PresentationTypeImpl</opm:class>
    <opm:alias>MedprodTypeImpl$MedprodpackTypeImpl$PresentationTypeImpl</opm:alias>
    <opm:primary-key>
    <opm:field table="NPL_PACKAGE" name="NPL_PACK_ID" xsi:type="opm:column"/>
    </opm:primary-key>
    <opm:events xsi:type="toplink:event-policy"/>
    <opm:querying xsi:type="toplink:query-policy"/>
    <opm:attribute-mappings>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>_Nplpackid</opm:attribute-name>
    <opm:field table="NPL_PACKAGE" name="NPL_PACK_ID" xsi:type="opm:column"/>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:one-to-one-mapping">
    <opm:attribute-name>backref</opm:attribute-name>
    <opm:reference-class>schemas_npl.instance.impl.MedprodTypeImpl</opm:reference-class>
    <opm:foreign-key>
    <opm:field-reference>
    <opm:source-field table="NPL_PACKAGE" name="NPL_ID" xsi:type="opm:column"/>
    <opm:target-field table="NPL_MEDPROD" name="NPL_ID" xsi:type="opm:column"/>
    </opm:field-reference>
    </opm:foreign-key>
    <opm:foreign-key-fields>
    <opm:field table="NPL_PACKAGE" name="NPL_ID" xsi:type="opm:column"/>
    </opm:foreign-key-fields>
    <toplink:indirection xsi:type="toplink:value-holder-indirection-policy"/>
    <toplink:selection-query xsi:type="toplink:read-object-query"/>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>id</opm:attribute-name>
    <opm:read-only>true</opm:read-only>
    <opm:field table="NPL_PACKAGE" name="NPL_ID" xsi:type="opm:column"/>
    </opm:attribute-mapping>
    </opm:attribute-mappings>
    <toplink:descriptor-type>independent</toplink:descriptor-type>
    <toplink:instantiation/>
    <toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
    <toplink:change-policy xsi:type="toplink:deferred-detection-change-policy"/>
    <toplink:tables>
    <toplink:table name="NPL_PACKAGE"/>
    </toplink:tables>
    </opm:class-mapping-descriptor>
    </opm:class-mapping-descriptors>
    <toplink:login xsi:type="toplink:database-login">
    <toplink:platform-class>oracle.toplink.platform.database.oracle.Oracle8Platform</toplink:platform-class>
    <toplink:user-name>fassadmin</toplink:user-name>
    <toplink:password>3CC3773C96563CA0C89634305615359CD62D1A19DF561D1E</toplink:password>
    <toplink:driver-class>oracle.jdbc.driver.OracleDriver</toplink:driver-class>
    <toplink:connection-url>jdbc:oracle:oci8:@DB2</toplink:connection-url>
    </toplink:login>
    </toplink:object-persistence>
    Regards
    /Jonas

    The issue is in the one-to-many mapping in the aggregate,
    <br>
    <opm:attribute-mapping xsi:type="toplink:one-to-many-mapping">
      <opm:attribute-name>_Presentation</opm:attribute-name>
      <opm:reference-class>schemas_npl.instance.impl.MedprodTypeImpl$MedprodpackTypeImpl$PresentationTypeImpl</opm:reference-class>
      <opm:private-owned>true</opm:private-owned>
      <opm:target-foreign-key>
        <opm:field-reference>
          <opm:source-field table="NPL_PACKAGE" name="NPL_ID" xsi:type="opm:column"/>
          <opm:target-field name="_Presentation->NPL_ID_IN_REFERENCE_NPL_PACKAGE_NPL_MEDPROD_Test" xsi:type="opm:column"/>
        </opm:field-reference>
      </opm:target-foreign-key>There is an issue with the Mapping Workbench and shared aggregates with one-to-many mappings and translating the foreign key fields. Did this work before, I would be surprized if it did, unless the 2.5 Builder was used?
    Anyway the easiest workaround is to either edit the XML and change the NPL_ID_IN_REFERENCE_NPL_PACKAGE_NPL_MEDPROD_Test column name to what it should be, or define a descriptor amendment method to define the one-to-many mapping with the correct field names.
    -- James : EclipseLink

  • One to many mapping problem

    In my JPA project I'm using these three classes:
    Cart.java:
    package com.spinnaker.pedja;
    import java.sql.Date;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.Set;
    import javax.persistence.*;
    @Entity(name = "Cart")
    @Table(schema = "shop")
    public class Cart {
         @Id
         @Column(name = "cart_id")
         private int Cart_id;
         @Column(name = "cart_date")
         private Date date;
          @OneToMany(mappedBy = "cartItemPK", targetEntity = CartItemPK.class)
          private Set cartitemCollection = new HashSet(0);
         @ManyToOne
         @JoinColumn(name = "customer_id")
         private Customer customer;
         public Customer getCustomer() {
              return customer;
         public void setCustomer(Customer customer) {
              this.customer = customer;
         public Cart() {
          public Set getCartitemCollection() {
          return cartitemCollection;
          public void setCartitemCollection(Set cartitemCollection) {
          this.cartitemCollection = cartitemCollection;
         public int getCart_id() {
              return Cart_id;
         public void setCart_id(int cart_id) {
              this.Cart_id = cart_id;
         public Date getDate() {
              return date;
         public void setDate(Date date) {
              this.date = date;
    }, CartItem.java:
    package com.spinnaker.pedja;
    import java.io.Serializable;
    import javax.persistence.*;
    @Entity
    @Table(schema = "shop")
    public class CartItem implements Serializable {
         @EmbeddedId
         @ManyToOne
    //     @JoinColumn(name = "cart_id")
         CartItemPK cartItemPK;
         @Column(name = "quantity")
         private int quantity;
         @Column(name = "unit_price")
         private double unit_price;
    //     @JoinColumn(name = "cart_id")
    //     private Cart cart;
    //      public Cart getCart() {
    //      return cart;
    //      public void setCart(Cart cart) {
    //      this.cart = cart;
         public CartItem() {
         public CartItemPK getCartItemPK() {
              return cartItemPK;
         public void setCartItemPK(CartItemPK cartItemPK) {
              this.cartItemPK = cartItemPK;
         public int getQuantity() {
              return quantity;
         public void setQuantity(int quantity) {
              this.quantity = quantity;
         public double getUnit_price() {
              return unit_price;
         public void setUnit_price(double unit_price) {
              this.unit_price = unit_price;
    }and CartItemPK.java:
    package com.spinnaker.pedja;
    import java.io.Serializable;
    import javax.persistence.*;
    @Table(schema="shop")
    @Embeddable
    public class CartItemPK implements Serializable{
         @Column(name="item_id",nullable=false)
         private int itemId;
    //     @ManyToOne
    //     @JoinColumn(name = "cart_id")
    //     private Cart cart;
         @Column(name="cart_id",nullable=false)
         private int cartId;
         public int getItemId() {
              return itemId;
         public void setItemId(int itemId) {
              this.itemId = itemId;
         public int getCartId() {
              return cartId;
         public void setCartId(int cartId) {
              this.cartId = cartId;
    I'm having problem with mapping one to many relationship between Cart and CartItem.I had to introduce CartItemPK class because CartItem has composite primary key.Help please!!!

    In my test class I'm using this code:
    Cart cart=em.find(Cart.class, 33);
              Set cartItems=cart.getCartitemCollection();
              for (Iterator iterator = cartItems.iterator(); iterator.hasNext();) {
                   CartItem cart_item = (CartItem) iterator.next();
                   System.out.println(cart_item.getCartItemPK().getCartId());
              }and this error happens:
    Exception in thread "main" javax.persistence.PersistenceException: org.hibernate.AnnotationException: Use of @OneToMany or @ManyToMany targeting an unmapped class: com.spinnaker.pedja.Cart.cartitemCollection[com.spinnaker.pedja.CartItemPK]
         at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:247)
         at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:120)
         at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:159)
         at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:95)
         at com.spinnaker.pedja.test.Test.main(Test.java:30)
    Caused by: org.hibernate.AnnotationException: Use of @OneToMany or @ManyToMany targeting an unmapped class: com.spinnaker.pedja.Cart.cartitemCollection[com.spinnaker.pedja.CartItemPK]
         at org.hibernate.cfg.annotations.CollectionBinder.bindManyToManySecondPass(CollectionBinder.java:979)
         at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:530)
         at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:471)
         at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:43)
         at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1136)
         at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:296)
         at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1121)
         at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1211)
         at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:154)
         at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:847)
         at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:178)
         at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:235)
         ... 4 more
    I didn't find any example on the internet about my particular case.In the database,Cart and CartItem are conected via cart_id field.But in my JPA project,cart_id field is a part of a composite key CarItemPK.

  • Valueholderinterface - Many-to-Many mapping problem

    Hi
    i have two tables users and teams and i have created many-to-many relationship between two table through intermediated(users_teams) table. Here user can have many teams and team can have many users.But the following exception i m getting while getting teams from user and users from team.
    Caused by: Exception [TOPLINK-0] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311
    )): oracle.toplink.exceptions.IntegrityException
    Descriptor Exceptions:
    Exception [TOPLINK-2] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311)): oracle.
    toplink.exceptions.DescriptorException
    Exception Description: The attribute [teams] is declared as type ValueHolderIn
    terface, but its mapping does not use indirection.
    Mapping: oracle.toplink.mappings.ManyToManyMapping[teams]
    Descriptor: Descriptor(com.test.Users --> [DatabaseTable(USERS)])
    Exception [TOPLINK-7] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311)): oracle.
    toplink.exceptions.DescriptorException
    Exception Description: The attribute [teams] should be of type Vector (or a ty
    pe that implements Map or Collection, if using Java 2).
    Mapping: oracle.toplink.mappings.ManyToManyMapping[teams]
    Descriptor: Descriptor(com.test.Users --> [DatabaseTable(USERS)])
    Exception [TOPLINK-2] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311)): oracle.
    toplink.exceptions.DescriptorException
    Exception Description: The attribute [users] is declared as type ValueHolderIn
    terface, but its mapping does not use indirection.
    Mapping: oracle.toplink.mappings.ManyToManyMapping[users]
    Descriptor: Descriptor(com.test.Teams --> [DatabaseTable(TEAMS)])
    Exception [TOPLINK-7] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311)): oracle.
    toplink.exceptions.DescriptorException
    Exception Description: The attribute [users] should be of type Vector (or a ty
    pe that implements Map or Collection, if using Java 2).
    Mapping: oracle.toplink.mappings.ManyToManyMapping[users]
    Descriptor: Descriptor(com.test.Teams --> [DatabaseTable(TEAMS)])
    Exception [TOPLINK-163] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311)): oracl
    e.toplink.exceptions.DescriptorException
    Exception Description: This mapping's attribute class does not match the collect
    ion class. [class java.util.Vector] cannot be assigned to [interface oracle.top
    link.indirection.ValueHolderInterface].
    Please help me out to resolve this problem.

    Either use indirection in your mappings, or change you class to just use a normal collection, not a ValueHolderInterface.
    -- James : http://www.eclipselink.org

  • SRW2048 - Webinterface doesn't work and many more problems

    I bought a SRW2048 last week and I've updated the firmware to v1.2.2
    I have many problems with this switch:
    a) Firefox doesn't work with the webinterface
    b) IE7 doesn't work with the webinterface
    c) IE8 doesn't work with the webinterface
    d) ONLY IE6 works.
    e) if it works with IE6 (sometimes it doesn't) then it's sooooo slow
    f) the informations for Link Aggregation are wrong
    g) SNTP doesn't work
    h) setting the time manually and the time zone doesn't work with summer time in germany. i never get the correct time.
    Has any of the developers ever used the web interface?
    Message Edited by Heathen on 08-14-2008 07:29 AM

    I have SRW2016, 1.2.2 firmware. Web interface works with IE7 but not FF3 (not tested with IE6 or FF2). When using IE7, however, it keeps saying
    This website wants to run the following add-on: 'MSXML 5.0' from 'Microsoft Corporation'.
    Other than that it works fine. I suggest you try a few different computers with various browser versions because it could be a browser settings/profile thing.
    As for speed, I don't know how you define slow; it won't be as fast as a web server, but response time is acceptable.

  • Baffling problems with letter key and erratic keybinds

    I'm not even certain how to explain my issue. I was in the middle of typing an explanation to a friend in IM when I discovered that any attempt to press 'v' key resulted in a copy/paste of the URL I had attempted to send to him before. I checked to see if either of the keys included in the copy/paste keybind were somehow stuck, but the command key initially appeared to be operating normally; it was only that particular letter key that posed a problem. After restoring the default keyboard settings, turning off all of options in the 'speech' toolbar, and updating my software, I found that my computer would now paste text if I pressed either my v OR the command key on the left of the space bar. I could also occasionally type a normal letter if I held down my left click. I'm a bit baffled. Is this a sign of a dying keyboard, or..?

    Is this in Leopard or on the iBook G4 Mac OS X (10.4.2) = Tiger computer?
    Does it do this if running in Safe Mode (hold down shift key while starting, be very patient)?

Maybe you are looking for

  • How can I see the whole day in day view without scrolling?

    I'm using iCal 4.0.4 on my MacBook. I'd like to see the whole day of events without having to scroll down. Right now I can only see about 5 hours at a time. I've set the day to start at 8am to midnight. Is there a way to see 12-16 hours at a time wit

  • What is the best way to create a website on a imac g5  (2005)

    After reading a variety of reviews of Life 08 I want to know what the best way to create a website. Should I buy ilife 08 or do something else? There is no iweb on my g5.

  • Tiger finder freaks after starting Classic (OS 9)

    eMac running 10.4.4 suddenly is acting strange after starting classic to run Outlook client. Yes, would like to use Entourage but our Exchange server is older than...I digress. Anyway, Tiger runs fine until I start OS 9, then I try to open a folder o

  • IPhoto n00b import question

    I recently switched from a PC to a Mac mini and have migrated all the applications I am able to but for one - CompuPic. Using CompuPic on the PC, I arranged all the pictures I took over the last few years into a hierarchial structure reaching 6-8 fol

  • Using DAO ,TO Pattern without EJB

    Hi, I am developing a web application without EJB. I understand those patterns need not use EJB framework. However, it smees to me that without EJB, the role of TO may be simpler. In my design, the meaning of TO is to separate the layer between busin