Error when Querying Object
Hope someone can help with this problem...
I am querying an object based on the query results of an
another object. If the Contact email does not exist, CF8 throws an
error. What I need to do for this query is to substitute a default
value for a contact record that does not have an email (or some
other fix) so that the error does not occur.
Once again, if the email contact email DOES exist, there is
no problem.
Below is the code for my query:
<cfloop query="oppty">
<cfset getContacts = myObject.QueryObject(
"SELECT Id, accountID, Name, Email
FROM Contact
WHERE accountID ='#oppty.accountID#'").results>
<cfoutput>#getContacts.email#<br></cfoutput>
</cfloop>
Any help would be greatly appreciated...!!
Thanks!
Sorry for not being clear. The error is as follows:
Error Occurred While Processing Request
You have attempted to dereference a scalar variable of type
class java.lang.String as a structure with members.
51 : ").results>
52 : <cfoutput> #getContacts.ID#
#getContacts.accountid# #getContacts.name#
#getContacts.email#<Br></cfoutput> <!--- --->
53 : </cfloop>
54 :
This error happens when the object is queried an no results
come back. What is happening is in the query
SELECT Id, accountID, Name, Email
FROM Contact
WHERE accountID ='#oppty.accountID#'"
When no data comes back for "Email", I get that java error. I
need to rewrite the query so that there is a default replacement
email if an email does not come back in the query.
Thanks!
Similar Messages
-
Ora-00942 when querying object privs
Hi, I have a OEM 9.2 accessing an Oracle 9.2 instance. When querying object privs I get error 942. All else works OK. I have 07_dictionary_accesibility=true and the OEM user has DBA and select any dictionary privs. oms.nohup does not show anything unusual neither dbsnmp.log . Any ideas?
there will still be some sys objects that may throw this
-
Error when querying REST web services from web-based InfoPath form 2013 environment
Error when querying REST web services from web-based InfoPath form 2013 environment, we are trying to consume REST web service in InfoPath form ( SharePoint 2013 version)
http://spapp/sites/litigation/Intake/_api/web/lists/getbytitle('Email%20Profiles')/items(1)
it works in preview but does not when it is published. because of claim based authentication i m getting below error
The form cannot run specified query, the underlying connection was closed. An expected error occurred
same works in 2010 environment .. are we missing anything in 2013 servers?? please let me know how we can resolve it.. thank you
gurueveryone face this issue, nothing in event viewer, its easy to reproduce error at ur end also..
just you need to use below web service in infopath and populate some data on form load like id = 1 pull the title and try to set in form any field...the
list has one item thats all
guru -
Hi
I am running on NW04s. Working on WD for ABAP Interactive forms. whenever I open the Adobe editor thru SFP or Se80, the editor opens up and I am able to do my operations. The moement I hit back button/Save or any other action which involves coming out of the adobe editor, it throws me an Fatal error - <b>Error when transforming object data</b>. I find that in most of the threads there are similar issues which are still open. Any Help would be appreciated.
I have installed ADLC 7.1, xACF04s.
Murali.I did the same installation on another PC, and to my suprise it works fine. Looks very strange
-
Adobe Forms Error Message 'Error when transforming object data'
Hi,
When i tried to save(Adobe Forms) after making changes in Layout its giving an error message 'Error when transforming object data' and takes me out of the transaction. How do i solve this ? Can anyone help me out.
Thanks and Regards,
Franklin.hi
I have the same problem , plz help me out
thanks -
"error when importing object" when selecting variant
Hello,
we recently migrated from 4.6 to 4.7.
For some programs, when selecting a variant, this gives a runtime error, like
Error when importing object "C131A2"
What is the cause of this? Because the values in the variant aren't valid anymore?
How can this be solved?
Thanks in advance for the helpGlad to help - you'll likely have to run it after every upgrade (for different reports).
Rob -
Error when importing object P_lis
Hello Experts ,
I have a task assigned to me where i have to write a program to get all the reports and their variants( variants without space and non obselete variants)
When i am trying to access the variant SDCAS_ADRSEL , I am getting a dump "Error when importing object P_lis ". It has got only one variant JOJO1 in the vari table . Please help me out with this.Hi Aditya,
You might need to provide a few more details on the dump.
I.e.
Exact details of the error that occured.
Where the error occurred
You can grab these out of the dump in ST22. That should help people out, to help understand what you are doing, as it's not really clear from your current description.
Cheers,
Katan -
Error when transporting object data
Hi,
i have installed version 7.1 over verison 7 azdobe livecycle designer, howeven after installation, i try to made some changes, but i got the following error
:" error when transporting object data", anyone familiar with this error?
Please help. Thanks1) It seems that you have deleted a dependent info object from ODS in BW Dev. and so is the warning message that you have deleted that info object.
2) if you have made some changes in an ODS and want to transport those to quality then you should delete all data from that ODS in quality. Delete all tables in ODS.
3) You should activate update rules in development again and transport those with this request.
Error 8 is error caused due to missing objects. do check your request thoughly before you re transport it.
Hope this helps.
Regards, -
Getting error when passing objects using IntelliJ 7.0
Hi All,
i have just started working in Web Services using Axis 2 in IntelliJ IDE. i am getting this error when i pass objects:
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.i have used rpc/literal, i tried with other combinations but not working.
i have created two class called "address" and "user" and i want webservice client to pass "address" object to a "user" method.Hi,
Try populating the ltab_extensionin as the code given below:
Maybe it can help you.
Constants: c_flag_bape_vbak TYPE char10 VALUE 'BAPE_VBAK', " Constant
c_flag_bape_vbakx TYPE char10 VALUE 'BAPE_VBAKX'," Constant
wa_bape_vbap-vbeln = space.
wa_bape_vbap-posnr = wa_order_items_in-in_linenumber.
MOVE c_flag_bape_vbak TO wa_extensionin-structure.
MOVE c_flag_bape_vbap TO wa_extensionin-structure.
CALL METHOD cl_abap_container_utilities=>fill_container_c
EXPORTING
im_value = wa_bape_vbap
IMPORTING
ex_container = wa_extensionin-valuepart1.
APPEND wa_extensionin TO it_extensionin.
CLEAR : wa_extensionin.
MOVE c_flag_bape_vbapx TO wa_extensionin-structure.
wa_extensionin-valuepart1+0(10) = space.
wa_extensionin-valuepart1+10(6) = wa_order_items_in-in_linenumber.
wa_extensionin-valuepart1+80(3) = abap_true.
APPEND wa_extensionin TO it_extensionin.
CLEAR : wa_extensionin.
Regards,
Shweta -
QBE Error when query by String for Number column
Hi,
I have a table with Number column.
The column structure is like below:
<af:column>
<af:inputText>
<f:validator .../>
<af:converNumber ..../>
</af:inputtext>
</af:column>
QBE is enabled for this column.
It works fine when query by Number value, such as '123'. But when I query by string like 'asd', it will return an error.
Anyone met this problem?Hi Arun,
I am using Jdev 11.1.1.7.0.
In my case,
I have a application table, from where user can create new row inline. Some fields in the row have type Long or Number. We are also using <af:converNumber ..../> inside <af:inputText> to do format.
I do have a query panel above the table. But we want the user can also filter the records using QBE. Other columns are working fine, except the columns with type 'Number' or 'Long'.
I checked the incident log, below are some useful information:
Caused by: java.sql.SQLSyntaxErrorException: ORA-01722: invalid number
Caused by: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT ... FROM ... WHERE ... AND ( ( (MeaRulesEO.DEFAULT_MEA_PERIOD = :vc_temp_1 ) ) )
It seems 'MeaRulesEO.DEFAULT_MEA_PERIOD = :vc_temp_1' causes the error. Jdev assumes every input from QBE header as number. If String is entered, Jdev will return error.
I also checked that if the table is read-only, this problem does not exist.
Please help on this. Thank you. -
Intermittent errors when querying the AD
HI,
We recently replaced 2 old windows 2003 dc'S with windows 2008r2 dc'S. All is working ok except on odd occasions when query the AD i get errors such as "Server not operational" or "Domain does not exist" Everything looks correct on DNS
and there are no entries for the old servers so i am looking at alternatives. If i run wireshark i get entries such as
192.168.180.132 192.168.180.255 NBNS 92 Name query NB XXXXXXX
192.168.180.132 is the ip of a standard workstation
192.168.180.255 is an ip that has no harware associated with it
XXXXXX is the server name for one of the old servers i removed
not sure if this is realted or not, but i think both need to be resolved.
New to all this, can anybody guide on where to start
Thansk
Garethrunning standard dcdiag produces:
DC1
Directory Server Diagnosis
Performing initial setup:
Trying to find home server...
Home Server = JIGSAWFS6
* Identified AD Forest.
Done gathering initial info.
Doing initial required tests
Testing server: Default-First-Site-Name\JIGSAWFS6
Starting test: Connectivity
......................... JIGSAWFS6 passed test Connectivity
Doing primary tests
Testing server: Default-First-Site-Name\JIGSAWFS6
Starting test: Advertising
......................... JIGSAWFS6 passed test Advertising
Starting test: FrsEvent
......................... JIGSAWFS6 passed test FrsEvent
Starting test: DFSREvent
......................... JIGSAWFS6 passed test DFSREvent
Starting test: SysVolCheck
......................... JIGSAWFS6 passed test SysVolCheck
Starting test: KccEvent
......................... JIGSAWFS6 passed test KccEvent
Starting test: KnowsOfRoleHolders
......................... JIGSAWFS6 passed test KnowsOfRoleHolders
Starting test: MachineAccount
......................... JIGSAWFS6 passed test MachineAccount
Starting test: NCSecDesc
Error NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS doesn't have
Replicating Directory Changes In Filtered Set
access rights for the naming context:
DC=ForestDnsZones,DC=jigsawtransport,DC=com
Error NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS doesn't have
Replicating Directory Changes In Filtered Set
access rights for the naming context:
DC=DomainDnsZones,DC=jigsawtransport,DC=com
......................... JIGSAWFS6 failed test NCSecDesc
Starting test: NetLogons
......................... JIGSAWFS6 passed test NetLogons
Starting test: ObjectsReplicated
......................... JIGSAWFS6 passed test ObjectsReplicated
Starting test: Replications
......................... JIGSAWFS6 passed test Replications
Starting test: RidManager
......................... JIGSAWFS6 passed test RidManager
Starting test: Services
......................... JIGSAWFS6 passed test Services
Starting test: SystemLog
An error event occurred. EventID: 0xC0002719
Time Generated: 12/06/2013 09:29:59
Event String:
DCOM was unable to communicate with the computer 8.8.8.8 using any of the configured protocols.
......................... JIGSAWFS6 failed test SystemLog
Starting test: VerifyReferences
......................... JIGSAWFS6 passed test VerifyReferences
Running partition tests on : ForestDnsZones
Starting test: CheckSDRefDom
......................... ForestDnsZones passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... ForestDnsZones passed test
CrossRefValidation
Running partition tests on : DomainDnsZones
Starting test: CheckSDRefDom
......................... DomainDnsZones passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... DomainDnsZones passed test
CrossRefValidation
Running partition tests on : Schema
Starting test: CheckSDRefDom
......................... Schema passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... Schema passed test CrossRefValidation
Running partition tests on : Configuration
Starting test: CheckSDRefDom
......................... Configuration passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... Configuration passed test CrossRefValidation
Running partition tests on : jigsawtransport
Starting test: CheckSDRefDom
......................... jigsawtransport passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... jigsawtransport passed test
CrossRefValidation
Running enterprise tests on : jigsawtransport.com
Starting test: LocatorCheck
......................... jigsawtransport.com passed test LocatorCheck
Starting test: Intersite
......................... jigsawtransport.com passed test Intersite
DC2
Directory Server Diagnosis
Performing initial setup:
Trying to find home server...
Home Server = JIGSAWFS8
* Identified AD Forest.
Done gathering initial info.
Doing initial required tests
Testing server: Default-First-Site-Name\JIGSAWFS8
Starting test: Connectivity
......................... JIGSAWFS8 passed test Connectivity
Doing primary tests
Testing server: Default-First-Site-Name\JIGSAWFS8
Starting test: Advertising
......................... JIGSAWFS8 passed test Advertising
Starting test: FrsEvent
......................... JIGSAWFS8 passed test FrsEvent
Starting test: DFSREvent
......................... JIGSAWFS8 passed test DFSREvent
Starting test: SysVolCheck
......................... JIGSAWFS8 passed test SysVolCheck
Starting test: KccEvent
......................... JIGSAWFS8 passed test KccEvent
Starting test: KnowsOfRoleHolders
......................... JIGSAWFS8 passed test KnowsOfRoleHolders
Starting test: MachineAccount
......................... JIGSAWFS8 passed test MachineAccount
Starting test: NCSecDesc
Error NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS doesn't have
Replicating Directory Changes In Filtered Set
access rights for the naming context:
DC=ForestDnsZones,DC=jigsawtransport,DC=com
Error NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS doesn't have
Replicating Directory Changes In Filtered Set
access rights for the naming context:
DC=DomainDnsZones,DC=jigsawtransport,DC=com
......................... JIGSAWFS8 failed test NCSecDesc
Starting test: NetLogons
......................... JIGSAWFS8 passed test NetLogons
Starting test: ObjectsReplicated
......................... JIGSAWFS8 passed test ObjectsReplicated
Starting test: Replications
......................... JIGSAWFS8 passed test Replications
Starting test: RidManager
......................... JIGSAWFS8 passed test RidManager
Starting test: Services
......................... JIGSAWFS8 passed test Services
Starting test: SystemLog
An Error Event occurred. EventID: 0xC0002719
Time Generated: 12/06/2013 09:31:07
EvtFormatMessage failed, error 15100 Win32 Error 15100.
(Event String (event log = System) could not be retrieved, error
0x3afc)
......................... JIGSAWFS8 failed test SystemLog
Starting test: VerifyReferences
......................... JIGSAWFS8 passed test VerifyReferences
Running partition tests on : ForestDnsZones
Starting test: CheckSDRefDom
......................... ForestDnsZones passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... ForestDnsZones passed test
CrossRefValidation
Running partition tests on : DomainDnsZones
Starting test: CheckSDRefDom
......................... DomainDnsZones passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... DomainDnsZones passed test
CrossRefValidation
Running partition tests on : Schema
Starting test: CheckSDRefDom
......................... Schema passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... Schema passed test CrossRefValidation
Running partition tests on : Configuration
Starting test: CheckSDRefDom
......................... Configuration passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... Configuration passed test CrossRefValidation
Running partition tests on : jigsawtransport
Starting test: CheckSDRefDom
......................... jigsawtransport passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... jigsawtransport passed test
CrossRefValidation
Running enterprise tests on : jigsawtransport.com
Starting test: LocatorCheck
......................... jigsawtransport.com passed test LocatorCheck
Starting test: Intersite
......................... jigsawtransport.com passed test Intersite -
OWB Error when deploying objects
Hi we recently upgraded OWB 10.2.0.2 to 10.2.0.3 and now I am getting the following error when I deploy objects. Our platform is on solaris and oracle 10.2 and we are NOT using RAC.
Error
ORA-29532: Java call terminated by uncaught Java exception: java.io.IOException
None
Error
RPE-01003: An infrastructure condition prevented the request from completing.This is what I found in the runtime log.
2008/07/18-11:30:00-PDT [B42CBF] Thin driver connection time - 188 millisecond(s)
2008/07/18-11:30:00-PDT [B42CBF] Connection Manager - property user.timezone value is America/Los_Angeles
2008/07/18-11:30:00-PDT [B42CBF] Connection Manager - connection.timezone not set. Defaulting to value SERVICE
2008/07/18-11:30:00-PDT [B42CBF] Connection Manager - using service timezone America/Los_Angeles
2008/07/18-11:30:00-PDT [B42CBF] Connection Manager - defaultimg session timezone offset to -07:00
2008/07/18-11:30:00-PDT [B42CBF] Error creating the temp directory d:\OWB_10.2.0/owb/temp
2008/07/18-11:30:00-PDT [B42CBF] Free Memory(bytes)=909576 Total Memory(bytes)=2031616 Used Memory(bytes)=1122040 Used Memory(percent)=56%
2008/07/18-11:30:00-PDT [B42CBF] Control Center Service Version 10.2.0.3.33 starting
2008/07/18-11:30:00-PDT [B42CBF] Client-side startup request
2008/07/18-11:30:00-PDT [B42CBF] Control Center Repository Name repos_owner on Service emdsd at Host 10.10.200.53
2008/07/18-11:30:00-PDT [B42CBF] Explicit garbage collection - every 1 execution(s)
2008/07/18-11:30:00-PDT [B42CBF] Recovery starting
2008/07/18-11:30:00-PDT [B42CBF] Service startup complete
2008/07/18-11:31:35-PDT [B42CBF] AuditId=47824: Processing unit deployment request
2008/07/18-11:31:35-PDT [B42CBF] Free Memory(bytes)=421256 Total Memory(bytes)=2031616 Used Memory(bytes)=1610360 Used Memory(percent)=80%
2008/07/18-11:31:35-PDT [1595F51] Connection Manager - off
2008/07/18-11:31:35-PDT [1595F51] Thin driver connection time - 47 millisecond(s)
2008/07/18-11:31:36-PDT [1595F51] oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
- ORA-29532: Java call terminated by uncaught Java exception: java.io.IOException
at oracle.wh.runtime.platform.service.controller.StoreImpl.<init>(StoreImpl.java:249)
at oracle.wh.runtime.platform.service.controller.AdapterContextImpl.getStore(AdapterContextImpl.java:140)
at oracle.wh.runtime.platform.service.controller.DeploymentController.initialize(DeploymentController.java:70)
at oracle.wh.runtime.platform.service.controller.DeploymentController.deploy(DeploymentController.java:208)
at oracle.wh.runtime.platform.service.controller.DeploymentController.deploy(DeploymentController.java:41)
at oracle.wh.runtime.platform.service.DeploymentManager.run(DeploymentManager.java:51)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.sql.SQLException: ORA-29532: Java call terminated by uncaught Java exception: java.io.IOException
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:966)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1062)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:850)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
at sqlj.runtime.ExecutionContext$OracleContext.oracleExecuteQuery(ExecutionContext.java:1591)
at oracle.wh.runtime.platform.service.controller.StoreImpl.<init>(StoreImpl.java:219)
... 6 more -
Errors when querying against universe with DBlink tables
Running XI 3.1
DB1: MS SQL Server
DB2: Oracle 11g
Universe created on DB2 has linked tables from DB1.
I created a view as Select * from table@DB1
Using Webi Rich Client: successful query results
Using Webi Lite: ORA-12154 error: TNS:could not resolve the connect identifier specified
Using Deski: ORA-01002: fetch out of sequence. ORA-02063: preceding line from DBlink_name
I've tried numerous array fetch size parameters but Deski still has that error message. Is there a different way to fetch data from a DBLink table? Why no errors when using Webi Rich? when creating universe against DBlink tables
ThanksIn our environemnt, we have encountered ORA-4030 and ORA-4031 in the past in one particular windows server. What i remember from that is , a single process in windows will be limited to use 2Gb of memory(irrespective of how much you allocate and how much RAM the server has). All the oracle user and server processes in windows has to get their share from this 2Gb allocated to a single process called oracle.exe. There is some way to extend this 2Gb limit to 3Gb or 4Gb by enabling a switch on some windows config file. You can easily get that by google.
Check the memory used by oracle.exe in 10g server's task manager.
Next, you may need to reduce SGA size... to give more room for user processes. You may investigate on these lines. -
ORA-0907 error when querying XMLDB Table using XMLExists
Hi All,
Get ORA-00907 error when trying to use XMLExists:
SELECT *
FROM tnmab_agreement_xml_binary A
WHERE
( XMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/ShippingPartyGroups/ShippingParties/CustomerHolder[SAP_ID="$ARG"]')
passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")
OR
( XMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/NamedCustomerGroups/NamedCustomer/SAP_IDs/StringWrappers[Value="$ARG"]')
passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")
ORA-00907: missing right parenthesis
*00907. 00000 - "missing right parenthesis"*
**Cause:*
**Action:*
Error at Line: 6 Column: 176
Any help is appreciated
Thanks
AuroXMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/ShippingPartyGroups/ShippingParties/CustomerHolder[SAP_ID="$ARG"]'
passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")no ')' after the closing quote -
ORA -12569 error when querying dba_change_notification_regs table
Hi,
I am getting ORA-12569 error when i am trying to execute Select * from dba_change_notification_regs from sys user .we are working on oracle 10.2 version.
Please help in resoving the issue.
Thanks In advance.
PriyaORA-12569: TNS:packet checksum failure
Cause: The data received is not the same as the data sent.
Action: Attempt the transaction again. If the error is persistent, turn on tracing and reexecute the operation.
If this doesn't resolve your issue, please see metalink 4933023.8 (problem fixed there)
Maybe you are looking for
-
How to include the inner classes in a jar file in netbeans ide
Dear java friends how to say to netbeans ide that it has to include the inner classes in the jar file. (i have one single applet class with two inner classes that show up in the build/classes file but not in the jar). The applet works in the viewer b
-
Display ISO week number instead of date on x axis in Bar Chart
Hi, I've created a simple SSRS report based on bar chart that shows several milestones. Everything works fine for me except I'm not able to convert the date into ISO week number format. I played around with different approaches. I was able to convert
-
I was looking to convert WMA files to something my iTunes can read. Are there any free apps out there that can do the trick?
-
LabVIEW Engineer wanted for job in Essex
Hi, I am leaving my current position for a different one and I would like to try and find my own replacement. If you would be interested in a position based close to Chelmsford, please let me know on 07792613677. Many thanks, Alec
-
Can I transfer the entries in my calendar using NFC and S Beam to another Galaxy III?
Can I transfer the entries in my calendar using NFC and S Beam to another Galaxy III or is there another way?