FK mapping wrong?

Hello!
I creating an webapp using Java Persistence API and
i'm getting an error telling me i cannot insert NULL in a field not-null.
Ok, that's obvious, but my object has the right value to do the insert :((
What i can't understand is that the field (CD_PROJE) does not appears on the SQL
showed in the error message. So, it gives me the idea the i may be doing something wrong
in my relationship mapping.
I already did some tests, but most of them with the same error.
Could someone gives me a clue?
Info.:
netbeans 5.5 beta 2, oracle 10g, sun java app server 9 pe, windows xp
The message is:
Local Exception Stack:
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.4 (Build 060412)): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-01400: não é possível inserir NULL em ("TEMP_GROUP"."GRUPO"."CD_PROJE")
Error Code: 1400
Call:INSERT INTO GRUPO (CD_GRUPO, DT_INCLU, CD_USUAR_ALTER, ST_ADMIN, DT_ALTER, DS_GRUPO, CD_USUAR_INCLU) VALUES (?, ?, ?, ?, ?, ?, ?)
bind => [411, null, null, null, null, grupoJPA_1, null]
Query:InsertObjectQuery(entity.Grupo[cdGrupo=411])
at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:295)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:639)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:688)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:477)
That's mainly about two tables: PROJETO (Project) and GRUPO (Group) -> 1 - N
One project may have many groups, but each group appears only once.
It will never be in two differents projects.
Tables:
PROJETO
- CD_PROJE (pk)
- DS_PROJE
GRUPO
- CD_GRUPO (pk)
- DS_GRUPO
- CD_PROJE (NOT NULL, it's not part of this GRUPO's pk)
- DT_INCLU
- CD_USUAR_ALTER
- ST_ADMIN
- DT_ALTER
- DS_GRUPO
- CD_USUAR_INCLU
Relevant code:
Projeto class
@Id
@Column(name = "CD_PROJE", nullable = false)
@SequenceGenerator(name="SqProjeto",sequenceName="SQ_PROJETO", allocationSize=20)
@GeneratedValue(strategy=javax.persistence.GenerationType.SEQUENCE, generator="SqProjeto")
private Long cdProje;
@OneToMany(cascade = CascadeType.ALL, mappedBy="cdProje")
private java.util.Collection <entity.Grupo> grupoCollection;
Grupo class
@Id
@Column(name = "CD_GRUPO", nullable = false)
@SequenceGenerator(name="SqGrupo",sequenceName="SQ_GRUPO", allocationSize=20)
@GeneratedValue(strategy=javax.persistence.GenerationType.SEQUENCE, generator="SqGrupo")
private Long cdGrupo;
@JoinColumn(name = "CD_PROJE",
referencedColumnName = "CD_PROJE",
nullable = false,
insertable = false,
updatable = false)
@ManyToOne
private Projeto cdProje;
My TestClass:
EntityManager em = emf.createEntityManager();
Projeto p = (Projeto)em.createNamedQuery("Projeto.findByCdProje").
setParameter("cdProje",365).
getSingleResult();
Grupo g = new Grupo();
g.setDsGrupo("grupoJPA_1");
g.setSubgrupoCollection(new ArrayList<Subgrupo>());
Subgrupo sb = new Subgrupo();
sb.setDsSubgr("subgrupoJPA_1_A");
g.getSubgrupoCollection().add(sb);
sb = new Subgrupo();
sb.setDsSubgr("subgrupoJPA_1_B");
g.getSubgrupoCollection().add(sb);
g.setCdProje(p.getCdProje());
em.persist(g); // g has cdProjeto = 365
utx.commit(); // error...
Sorry about the length of the post
Thanks a lot!
!_Let's share ideas_!

Perfect!
Thanks a lot!
In other cases I was getting the an error when mapping N-N relationship whithout setting the FKs to read-only on the jointables entitties. And that's why i assumed read-only when using joinColumn annotation. I was wrong :))
(Multiple writable mappings exist for the field)
once again, thanks!

Similar Messages

  • Eclipse Relational Mapping + wrong name exception

    Dears,
    I wanna ask three questions:
    - I understand that TopLink will be replaced by EclipseLink. EclipseLink will have JPA + Relational Mapping? or the Relational Mapping is there only for backward compatiblity and all new products should use EclipseLink JPA?
    - Is there any EclipseLink discussion forum?
    - I am using EclipseLink + EJB 3.0, I am getting the following Exception:
    [EL Finest]: 2009.03.08 14:07:18.453--ServerSession(27076478)--Thread(Thread[OC4J Launcher,5,main])--java.lang.ArrayIndexOutOfBoundsException: 27233
         at org.eclipse.persistence.internal.libraries.asm.ClassReader.readClass(ClassReader.java:943)
         at org.eclipse.persistence.internal.libraries.asm.ClassReader.accept(ClassReader.java:259)
         at org.eclipse.persistence.internal.weaving.PersistenceWeaver.transform(PersistenceWeaver.java:85)
         at com.evermind.server.ejb.persistence.PersistenceUnitInfoImpl$ClassPreprocessorWrapper.processClass(PersistenceUnitInfoImpl.java:392)
         at oracle.classloader.util.ClassPreprocessorSequence.processClass(ClassPreprocessorSequence.java:116)
         at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2222)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.getDeclaredMethods0(Native Method)
         at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
         at java.lang.Class.getMethod0(Class.java:2611)
         at java.lang.Class.getMethod(Class.java:1579)
         at com.evermind.server.ejb.LifecycleManager.buildLifecycleMethod(LifecycleManager.java:353)
         at com.evermind.server.ejb.LifecycleManager.initialize(LifecycleManager.java:319)
         at com.evermind.server.ejb.deployment.BeanDescriptor.initialize(BeanDescriptor.java:293)
         at com.evermind.server.ejb.deployment.ExposableBeanDescriptor.initialize(ExposableBeanDescriptor.java:173)
         at com.evermind.server.ejb.deployment.SessionBeanDescriptor.initialize(SessionBeanDescriptor.java:225)
         at com.evermind.server.ejb.deployment.EJBPackage.initialize(EJBPackage.java:995)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:852)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
         at com.evermind.server.Application.setConfig(Application.java:438)
         at com.evermind.server.Application.setConfig(Application.java:339)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1651)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1034)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    09/03/08 14:07:18 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failed.
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: com.its.tabs.ptf.ugm.dal.group.GroupEntity (wrong name: org.eclipse.persistence.internal.libraries.asm.attrs.LocalVariableTypeTableAttribute)
         Dependent class: com.its.tabs.ptf.ugm.dal.group.GroupEntity
         Loader: current-workspace-app.root:0.0.0
         Code-Source: /D:/dev/TopLink11g-JPA/Platform/classes/
         Configuration: <ejb> in unknown
    The missing class is not available from any code-source or loader in the system.
    For sure I am not using any Arrays in my Entity.
    Thanks
    Edited by: Javatizer on Mar 8, 2009 5:11 AM

    Javatizer wrote:
    - I understand that TopLink will be replaced by EclipseLink. EclipseLink will have JPA + Relational Mapping? or the Relational Mapping is there only for backward compatibility and all new products should use EclipseLink JPA?We have transitioned our development to open source with EclipseLink offering JPA as well as continued support for our native relational mappings. The TopLink product continues to exist as Oracle commercial offering including EclipseLink. Those wanting professional support for their use of EclipseLink can get it through licensing of Oracle TopLink. In addition to the inclusion of EclipseLink our TopLink product also includes the original packaging of TopLink for backwards compatibility (including utilities) and TopLink Grid (Coherence integration).
    Customers using TopLink's native relational mappings can upgrade to using EclipseLink's packages (using the package renamer) and continue to leverage the same functionality they are used to. As we add new features we endeavor to make them easily usable through the JPA interface but the native usage is always available.
    Javatizer wrote:
    - Is there any EclipseLink discussion forum?
    There is a newsgroup and mailing lists hosted at eclipse.org - http://www.eclipse.org/eclipselink/community.php
    Javatizer wrote:
    - I am using EclipseLink + EJB 3.0, I am getting the following Exception:
    I would recommend filing a bug for this issue. I'll ask some others to take a look as well to see if they have seen this.
    Doug

  • [Sony Vaio TZ] Xorg mapping wrong resolution

    I recently bought a Sony Vaio TZ - awesome piece of equipment - but noticed my actual Xorg resolution was higher than what the specs said (by 2 pixels). This is kinda annoying...
    Xrandr output before I use xrandr to set the correct resolution:
    [root@hermes stijn]# xrandr
    Screen 0: minimum 1024 x 768, current 1368 x 768, maximum 1368 x 768
    default connected 1368x768+0+0 (normal left inverted right) 0mm x 0mm
    1366x768 60.0
    1360x768 60.0
    1024x768 60.0
    1368x768 60.0*
    As you can see it says it detects 1368x768 as maximum resolution but lists the correct resolution (1366x768) as a possibility too.  My first reaction was to generate a modeline that would make Xorg behave, but that does not have the desired effect (it returns a 1368x768 line!):
    [root@hermes stijn]# gtf 1366 768 60
    # 1368x766 @ 60.00 Hz (GTF) hsync: 47.58 kHz; pclk: 85.64 MHz
    Modeline "1368x766_60.00" 85.64 1368 1440 1584 1800 766 767 770 793 -HSync +Vsync
    I have tried setting a Modes line in xorg.conf like this:
    Modes "1366x768"
    but that gives me the following message in Xorg's log:
    (II) I810(0): Not using mode "1366x768" (no mode of this name)
    Adding a 'Virtual' line with the correct dimensions like this:
    Virtual 1366 768
    doesn't do the trick either.
    Grepping Xorg's log for both X sizes returns the following:
    [root@hermes stijn]# egrep "1366|1368" /var/log/Xorg.0.log
    (II) I810(0): Display Info: LFP (local flat panel): attached: TRUE, present: TRUE, size: (1366,768)
    (II) I810(0): Size of device LFP (local flat panel) is 1366 x 768
    (II) I810(0): Lowest common panel size for pipe B is 1366 x 768
    (II) I810(0): PanelID returned panel resolution : 1366x768
    Mode: 60 (1366x768)
    XResolution: 1366
    Mode: 61 (1366x768)
    XResolution: 1366
    *Mode: 62 (1366x768)
    XResolution: 1366
    (II) I810(0): Not using mode "1366x768" (no mode of this name)
    (II) I810(0): Correcting stride (1368 -> 5504)
    (**) I810(0): Virtual size is 1368x768 (pitch 2048)
    (II) I810(0): [drm] init sarea width,height = 1368 x 768 (pitch 2048)
    Why the heck does the i810 map to this resolution? Xorg recognises the 1366x766 correctly no? Is there a way to make Xorg use 1366x766 without having to resort to xrandr? For what it's worth, I had this issue also with the vesa driver.
    Last edited by B (2008-03-31 03:20:54)

    Ok. I went with xmodmap because xbindkeys basically does the same, only requiring you to install an extra package .
    I mapped the eject button to eject too (surprisingly, as I didn't know at first the slim drive had a button, I thought the whole thing was pressure sensitive...). I mapped the AV button to a fullscreen instance of VLC .
    I fixed all Fn keys except for the zoom key (don't know how to map that to e.g. Opera's zoom functionality yet) and the external VGA connector which I should still write a script for.
    Anyways, here's my handler.sh patch:
    --- handler.sh.old 2008-04-04 22:59:23.000000000 +0200
    +++ handler.sh 2008-04-04 22:59:12.000000000 +0200
    @@ -7,6 +7,7 @@
    minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
    maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
    setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
    +presbright=`cat /sys/class/backlight/sony/brightness`
    set $*
    @@ -18,29 +19,34 @@
    *) logger "ACPI action undefined: $2" ;;
    esac
    +
    button/sleep)
    case "$2" in
    SLPB) echo -n mem >/sys/power/state ;;
    *) logger "ACPI action undefined: $2" ;;
    esac
    +
    ac_adapter)
    case "$2" in
    - AC)
    + ACAD)
    case "$4" in
    00000000)
    echo -n $minspeed >$setspeed
    #/etc/laptop-mode/laptop-mode start
    + echo 2 > /sys/class/backlight/sony/brightness
    00000001)
    echo -n $maxspeed >$setspeed
    #/etc/laptop-mode/laptop-mode stop
    + echo 6 > /sys/class/backlight/sony/brightness
    esac
    *) logger "ACPI action undefined: $2" ;;
    esac
    +
    battery)
    case "$2" in
    BAT0)
    @@ -60,6 +66,32 @@
    button/lid)
    #echo "LID switched!">/dev/tty5
    +
    + sony/hotkey)
    + case "$2" in
    + SPIC)
    + case "$4" in
    + 0000000c)
    + [ -e /var/run/daemons/bluetooth ] && /etc/rc.d/bluetooth stop || /etc/rc.d/bluetooth start
    + ;;
    + 00000010)
    + echo $(( ${presbright}-1 )) > /sys/class/backlight/sony/brightness
    + ;;
    + 00000011)
    + echo $(( ${presbright}+1 )) > /sys/class/backlight/sony/brightness
    + ;;
    + 00000017)
    + /usr/sbin/pm-suspend
    + ;;
    + 0000001b)
    + eject -r
    + ;;
    + esac
    + ;;
    + *) logger "ACPI action undefined: $2" ;;
    + esac
    + ;;
    +
    logger "ACPI group/action undefined: $1 / $2"
    Xmodmap gives names to the Fn volume keys and the multimedia keys, and they are bound to the related actions through my Openbox rc.xml.

  • Nokia Maps wrong language

    Hi, I have a problem with nokia maps on my N8 (latest version on belle refresh...) From a day to another, the categories submenu is now in english. My phone is set to italian. Everything else inside nokia map is in italian but under search > category everything is in english (i.e. Restaurant, Eat & Drink). I've tried to set the phone in english and then back to italian and also a soft reset with no luck. Can anyone help me?
    Thanks!

    I have the same problem as Thomas340 but with different language sets! :-)... My E7-00 is of the latest software (belle refresh) version and I have also (when Nokia Suite has prompted) the latest Map software. In only carry Finland, Sweden and Estonia as downloaded maps on the phone.
    The user phone language is set as Finnish and the Nokia Maps category (when search by browsing) is in English. Even the category listing under what-icons-to-show setting is in Finnish. This is confusing and I need to change the borwse category lsiting into Finnish, the English listing is logically hard to use. It would be nice if there would be a solution where I just "update" it back to Finnish-category situation ... but I am willing to try anything!!! How did this "problem" arise...I wonder??? It would be nice to know why this happened, so to avoid it in the future!!!!

  • Google Map wrong - any way to get it corrected?

    I just got an early Christmas present, an iPhone. Of course the first day I had to try and see my house on Google Maps. I can not get Google Maps on the iPhone to find my address. I have three choices for the name of the city. Officially I am in White Bear Township, MN. My mailing address is White Bear Lake, MN and the zip code is linked typically with St. Paul, MN. On the Google Maps website it does not find my house using White Bear Township but comes up perfectly with both White Bear Lake and St. Paul. On the iPhone addresses using White Bear Township are not found at all and the other two go to a different one-block long Ridgewood Ave in neighboring Vadnais Heights. That street doesn't even have my house number so it places the pin mid-block.
    I have been looking for a way to correct it or 'move the pin' but there does not seem to be a feedback mechanism on either the iPhone or the website.

    I realized that this got marked answered when I found a reply in another topic that I posted to. http://discussions.apple.com/thread.jspa?messageID=6197729
    The answer allows correction on the web site but I may not have waited long enough for it to populate to the iPhone. I will have to see if moving the pin on the web fixes it on the iPhone search after a little more time, like a day or two.

  • UK/Irish Keyboard mapping wrong in windows.

    As I wrote elsewhere I recentrly swapped the US keyboard whit an UK one.
    I'm in Italy so I never used this layout before so my skill on that argument is very little.
    Now though I'm very happy whit it, I've quickly noticed that the windows UK layout is wrong, better, is the Thinkpad layout that is'nt 100% standard.
    It's just a little thing but the pipe   |  sign and the broken pipe one  ¦ are swapped on the TP UK keyboard.
    I solved this little glitch whit the MS Keyboard layout editor, so problem solved for me.
    What I find puzzling is that I havent found a single discussion speaking about this problem.
    Is there an official Lenovo patch or  nobody in UK has noticed this swap/ nobody cares about it ?
    Searcing for the UK keyboard images seem that this inversion is present in all the IBM/Lenovo keyboards and also in the Dell ones, but not on other mainstream brands like HP, Acer and so on.
    Can some HK user enlight me ?

    The Regional Language setting was wrong. Solved.

  • Version 7 - Permissions mapped wrong

    Although most of my purchased songs still work, I have a few songs in my "Purchased" folder that no longer play. I get a pop-up telling me I'm not a authorized. These are not shared titles.
    I attempted to authorize and got a message that my password was incorrect. I opened "get info" on the songs that don't work and found that part of my account name is missing. The "@" symbol and everything to the right is gone.
    Dual 2GHz G5   Mac OS X (10.4.7)  

    when I try to start it at another time, nothing happens, the program does not run, load into memory, show up in task manager as a running process, etc.  I can try to start it from the desktop icon, the start menu folder, or directly from the executable in the folder in which I have the program installed, it does not run, does nothing.
    In geek-speak, a program "crashes" any time it terminates unexpectedly -- a crash doesn't always produce a Windows pop-up notification.  In your case, PSE is terminating unexpectedly immediately after it launches, so quickly that you're not seeing it in the task manager.  A number of the troubleshooting steps in the FAQ I linked to address various causes of that symptom.  Start with fixing the licensing service, and if that doesn't help, work through the other troubleshooting steps.
    Of course, you may reasonably decide that such troubleshooting is too much trouble.
    I have contacted tech support.  Their response is to withdraw my support request and tell me I have to pay to get support.
    Unfortunately, that's all too typical of Adobe support, which is totally incompetent.  You're supposed to get free installation support.  But they have a nasty habit of withdrawing support requests.  You could try calling them, but you'll often wait on the line to get someone with an incomplete command of English and a lack of knowledge about PSE.  If you do get someone moderately competent, they'll just walk you through a subset of troubleshooting steps I linked to.

  • Wrong EoX bulletin mapping on 3750X

    Hello,
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Normale Tabelle";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    This very new model "WS-C3750X-48T-L"
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Normale Tabelle";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    v12.2(55) is mapped wrong to
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Normale Tabelle";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    bulletin# EOL7309, that is actual about a "
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Normale Tabelle";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    3750 Integrated Wireless LAN Controller" in EoX HW reports. Gues the error is located in the EoX database represented by the xml-File you subscribe in LMS from CCO by the eox_psirt system job schedule.
    Steffen

    But in most cases this method will produce a lot of false positives making the overall EoX reports almost unuseable.
    In this case its a redisigned network with more new than old devices and 90% of EoX records are about this obsolate wlc that doesnt exists in this network.

  • LR4 Map Mismatch

    I've recently started adding geotag data to my photos but I've got a slight issue, as an example I recently dropped a photo on to the map and the GPS data in the box appeared as 51°6'56" N 4°13'40" W. Once I've exported the photo as a JPG and used another program to access google maps position via the geotag data I end up at a place that is some way off the original, in the case highlighted it ends up http://maps.google.com/maps?ll=51.1,-4.216667&spn=0.01,0.01&t=m&q=51.1,-4.216667. The amount from picture to picture varies but it can be out of alignment by up to 1 mile.
    Any ideas?
    (Use Satalite mode in Google Maps)

    I guess it could be but having said that when going via GeoHack->Google Maps it places the Green arrow in the wrong place with another point highlighted by Red A Balloon on the closest road. Going via Photo Station just results in a Red Balloon being dumped where GeoHacks puts the Green arrow.
    To sound out your idea about nearest named entity here is another example, I took 6 photos from the same position in Richmond park yesterday and LR4 shows this as 51°26'6" N 0°16'59" W and if you enter this in Googlemaps you'll get the green arrow appearing in the right position.
    Exiftool Info - Lat 51.435075°, Lon: 0.283162°
    Inrfanview -> GeoHack -> Google Maps = Wrong Position http://maps.google.com/maps?ll=51.433333,-0.266667&spn=0.01,0.01&t=m&q=51.433333,-0.266667
    Inrfanview -> Google Earth = Correct position (Lat:51.435001,Lon:-0.283167)
    Photo Station 5 -> Geotag -> Google Maps = Wrong Position (51.43, -0.27) - Matches Geohack's position.
    In the case of the wrong position if we work off the nearest entity then there are about 7/8 closer than Broomfield Hill Wood where the position ends up. I think you are right in the API idea since I would suspect at the very least the one in Synology's NAS Photo Station Package might be a little bit behind the latest.

  • Automatic remote key updation in data manager after a data import.

    Hi experts,
    I'm using SAP MDM 7.1 SP10 and after I do a data load via import manager my remote keys of lookup tables are updated. For example, lets just say I do a vendor mass load for some operating company for which I didn't maintain remote key for lookup table "Country" (figure Before load) and after the load its autometically updated in data mager (figure After load).
    Before load.
    After load.
    I want to understand if its noramal SAP behaviour or not. If yes, how can i avoid this.
    Thanks and regards
    Shamit Prakash

    Hello Ravi, I just want to leverage Shamit question :
    I noticed the same behavior after the key mapping enable and the problem is : every time I import a file via Import manager now, when I check my mapping, sometimes a supplier that does not exist in my file is mapped with a different one from MDM. Previously the key mapping property was enabled, if this situation occurs  in my import, as the supplier is a key in my map, this field would not be mapped and I had to correct my file or include this supplier in the database. Now, this became dangerous, as my import can map wrong information. Do i have another option to syndicate only changed records, without enable the key mapping ??? Example : use the selection Criteria in syndicator.

  • Keyboard keys not working correctly [SOLVED]

    Relevant section from xorg.conf:
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "keyboard"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "uk"
    # Option "XkbVariant" ""
    When I comment out XkbLayout all the keys on my keyboard work (windows key works, can switch to virtual terminals) but the keys are mapped wrong ( @ in the wrong place for etc) , but with the UK layout some keys don't work (windows key works, can't switch to virtual terminals etc) , so what can I do?
    Last edited by cawill (2008-03-01 09:16:20)

    jbromley wrote:
    cawill wrote:
    May-C wrote:
    In the wiki there is following:
    Don't know what is correct uk or gb as I am not from the uk...
    Thanks a lot, that's fixed nearly all of my problems, now I can't get the pound sign to work (alt + 3) , it puts a ? instead, anybody know how to fix this?
    Are you sure that the font you are using has a pound sign? Is your LANG environment variable set correctly for the terminal program you are using? Some terminals, when confronted with a character code for which they do not have a font character display the interrogation sign.
    Regards,
    j
    Ah, yes, it was a font issue, thanks for helping me out on that one .

  • Errors in ODI/Planning

    Hiii!!
    I need some help, i make a package in ODI to load a dimension in Planning. In the diagram section verify if i have some errors and they don't. in the flow i didn't either. but when i execute the package i have the next error.
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 20, in ?
    java.sql.SQLException: Unexpected token: NEGOCIO in statement [select   C4_LINEA_DE_NEGOCIO.Linea de Negocio]
         at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)
         at org.hsqldb.jdbc.jdbcStatement.fetchResult(jdbcStatement.java:1598)
         at org.hsqldb.jdbc.jdbcStatement.executeQuery(jdbcStatement.java:194)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.core.PyObject.__call__(PyObject.java)
         at org.python.core.PyInstance.invoke(PyInstance.java)
         at org.python.pycode._pyx29.f$0(<string>:20)
         at org.python.pycode._pyx29.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyCode.call(PyCode.java)
         at org.python.core.Py.runCode(Py.java)
         at org.python.core.Py.exec(Py.java)
         at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.j(e.java)
         at com.sunopsis.dwg.cmd.h.z(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    java.sql.SQLException: java.sql.SQLException: Unexpected token: NEGOCIO in statement [select   C4_LINEA_DE_NEGOCIO.Linea de Negocio]
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.j(e.java)
         at com.sunopsis.dwg.cmd.h.z(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    PLEASE I need help
    Regards
    Edited by: user9524499 on 23-sep-2009 14:58

    I resolved the problem, I write the mapping wrong and when i verify in diagram didn`t have a error . there was the problem.
    Thanks for read me.

  • Missing characters in german keyboard layout

    I'm using Gnome 3 on a PC with a german keyboard with a physical layout like this one. The german layout is configured in the settings and mostly works as intended, but one key is mapped wrongly. The key next to the left shift key in the second row from below is supposed to have the characters "<" and ">" on it, but instead it produces "-" and "_", duplicating another key. As a result, there is no way to type the "less" and "greater" characters. The built-in keyboard layout viewer shows an US physical one (like this one, notice e.g. the "enter" key which occupies only one row instead of two in the german one and the wider left "shift" key), regardless of whether the german or an english (logical) layout is selected.
    So, if there is a way to change the physical layout, how do i do it?

    Hi, I have had that problem a while ago...the other way around. I'm from Germany and was missing German characters on my US keyboard. I wrote about how I solved this here: https://myubuntux.wordpress.com/2012/01 … d-in-xorg/
    I'm pretty sure this will help you solve your problem...at least introduce you to the tools I used.

  • Import Manager Out of Memory error

    I am running MDM 5.5.24.06 server on Windows XP Professional. The server has 4.0 GB RAM with 1.5 GB Virtual memory.
    I am trying to load 129 material master records from R/3 4.6 ( XML file size 8 MB), into MDM using Import Manager.
    When I click on import icon (Import Status tab selected), MDM Import Manager rightway returns 'Out of Memory' error.
    Tried to import the file again after rebooting the machine, restarting MDM Server, but still it returned the same error.
    Has anybody tried loading the R/3 material data into MDM? What's the experience? What was the load (# of records)?
    What was MDM IM performance? What's your hardware/software config?
    Appreciate your help.
    Thanks,
    Abhay

    Hi Abhay,
    My workstation has Windows 2000, Pentium 4 CPU 3.2 Ghz, 515,555 KB RAM.  The recommended specifications can be found on service market place of SAP, and we used those to procure our workstations.
    MDM server must be more pwerful than a workstation.  Try running the import manager from the server machine itself.  If it works there but not on your machine, it is memory of your workstation.
    Sometimes, I think this error comes when import map some issues- fields not mapped accurately or remote key mapped wrong etc.
    It is probably judicious to rpove the system memory as first step.
    Good luck!

  • Solution Manager 4, kernel 7 sap env file problem

    Hi,
    I am trying to install Solution Manager 4 SR3 on a test box and I have finalized the install parameters and its now installing. It has come to step 2 where it is complaining that it is not able to create a file called .sapenv_<hostname>.sh. My checks so far have found out that the group owner of the directories was 32, which i changed to dba group from ./<DB_SID> upwards (/oracle/<SID>) but i still get the error message. The message is as follows:
    FSL-00001  System call failed. Error 13 (Permission denied) in execution of system call 'openU' with parameter (/oracle/SMP/.sapenv_sapraop.2.sh, O_WRONLY | O_TRUNC | O_CREAT, S_IRWXU | S_IRWXG | S_IRWXO), line (413) in file (syuxcfile.cpp).
    Anyone have any ideas where i need to change permissions as it seems it is the case. The permissions are ok for ora<SID> in /oracle/<DB_SID> but unsure why this is the case.
    Thanks,
    Mani

    Hi,
    I am not sure how i did it as it has been a while but we had a problem where the home directory for ora<SID> and <SID>adm were mapped wrong. What was happening was all the files were being created and written under a single location which is why we had a problem with permissions. Later on we had to move all the files manually to the correct location.
    My best bet would be to check and make sure the home directory for the 2 user ID's above are correct. I am a bit busy at the moment but if this doesn't solve your problem then let me know and i will see if i have made any notes on this.
    Regards,
    Mani

Maybe you are looking for

  • In p6 8.2,I can't filter resources or role to resources planning

    in p6 8.2,"resources"section,"planning"page,"filter and group by" ,I open a dialog windows to select portfilos,projects,roles or resources ,but after I click the button"OK",the application have no changes, it also not retrun to the "planning" page an

  • What kind of software do I need to instal for AVI format?

    I cannot see AVI format movies from Windows ,so I need to know which is the best solution to solve this problem!

  • I can not import any file from library to my iphon

    hi recently i have found a problem with my itunes, however i try i can not import any file (music, video...) from library to my iphone ! i don't know what is the problem. by the way i live in Iran and i guess that is for IP ! am i right? iphone 4s io

  • After Effects CC installation error. Please Help!

    Hi, I have been trying to install Adobe After Effects CC, I am using windows 7 x64, the installation only gets to 43% and then comes up with an "Installation Error - Lean More". So I click learn more and this is what appears: Exit Code: 15 Please see

  • Help me! Having CPU Cooling problems!

    Howdy I'm having serious problems with my P.C. I have recently upgraded my PC's processor from a celeron 2 ghz to Intel Pentium 4 3.2GHz 478Pin 1Mb Cache 800MHz FSB Processor Prescott, I Installed the processor with the standard Intel Heatsink and co