Data input error
I am having a strange error I never had before. My program gives me the NumberFormatException every time, the matter what I type in. It seems to be trying to parse the text in the println instead of the actual input, because when I told it to print out "5", instead of "Enter X coordinate of target", it worked. I have used a similar code in the past and it worked fine.
My code is this:
global variables:
static double xTarg= 0.0, yTarg= 0.0;
in main method:
BufferedReader BR = new BufferedReader(new InputStreamReader(System.in));
try {
System.out.println("Enter X coordinate of target");
xTarg = Double.parseDouble(BR.readLine());
System.out.println("Enter Y coordinate of target");
yTarg = Double.parseDouble(BR.readLine());
catch (NumberFormatException e)
System.out.println("NumberFormatException has happened");
System.exit(0);
catch (IOException e)
System.out.println("bad input");
System.exit(0);
}
I ran your code using JCreator and it works fine. Did you use a comma ',' or a dot '.' for the decimal point? Because that seems to make a difference...
#
Similar Messages
-
Kernel data input error on start up SSD Drive
Hi All
I have a HP Pavilion g6-1c58dx Notebook PC which I purchased while on holiday in the US in Jan 2012. This January I upgraded to an 120GB SSD drive from OCZ and Windows 8. From the first day I was receiving an error on start up, the computer would restart and ask me to investigate a "Kernel Data Input Error". I scanned the drive on several occasions and received the all clear. In March the drive just failed completely losing all my data.
OCZ have replaced the drive with one of their Agility range, once again I am receiving the same start up error and although I have checked I have the latest version of all my drivers etc it persists. I am of course worried that in a few weeks this drive will also fail.
It seems unlikely that the same error could occur on two different drives, my query is whether there is a known issue with this notebook and SSD drives and whether there is a solution to the problem.
Thank You
GarethI understand that you are receiving a Kernel Data Input Error.
Is this a blue screen error? If so, does it give any more details through a more details option? Some Windows 8 blue screen errors provide less information upfront with a more information option.
If it is a blue screen error, uploading the file and sharing the link may be helpful in identifying the core of the issue.
This site details how to do this using Sky Drive, a Microsoft service.
Is there a common event (opening a program, performing an action, etc.) that precedes the error?
If you run the start-up or run-in test (power on and press F2), does the RAM pass the test? To rule in or out a RAM issue, it may be beneficial to use the run-in test overnight.
↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓ -
MacOS X Tiger browser web data input error
We are having a problem a with my wife's Userid on her Mini running Tiger.
(Mini G4/1.25 500MB 40GB Tiger 10.4.9)
First let me confirm that the problem is not system wide because it doesn't happen with two other UserIDs, one Admin and one a normal user.
Also the problem occurs with her three browsers; Safari, Firefox and Camino.
When entering data at a Web site data is getting scrambled, so she can't log onto her protected sites. A/C AeroPlan login is one example.
I realize the problem is related to browser info/data within her Userid.
I don't want to delete everything internet related, but that is my last option.
TIA for any ideas. Gerry
G4/1.25 MDD 1.5GB 400Gb Mac OS X (10.4.9) Several other Macs since 1984Hi Gerry,
Thanks on the info on this not being system wide, that helps.
Have you tired trashing the Safari cache folder & the other related cache folders for for the other browsers.
Home~/Library/Caches/Safari cache I would start there.
If that doesn't help, try trashing the corresponding .plist files
Home~/Library/Preferences folder/com.apple.Safari.plist
Eme'~[) -
Error in saving large value with the data input query
Hi,
I am trying to save a large value in 0Quantity using the data input query into a realtime infocube
e-g
123456789.1234
Error says too many digits.
When i try to save 8 digits before the decimal point ,no error, if it is 9digits before decimal it's thro' error.
Is there any limitation before the decimal.
i know that 0Quantity can take 17 digits including the sign.
Any suggestions.?
regards,
ramtry budgetting in thousands in stead of units? (setting on query itself)
D -
[Solved] CUPS: Unable to write print data: Input/output error
I'm filling this for the benefit of those poor googlers that can reach here.
Symptoms: After trying to print a "complex" image the printer made too much breaks, and failed.
The problem is, it then didn't came up. I mean, I restarted the printer, cupsd, the whole system, and nothing.
I was unable to print again, it showed "Unable to write print data: Input/output error" and refused to print anything.
I then saw that in /etc/cups I had printers.conf and printers.conf.O files, which differed (other than in StateTime), that printers.conf.O had
State Idle
but printers.conf had:
State Stopped
StateMessage Unable to write print data: Input/output error
Reason paused
Probably due to the ErrorPolicy being stop-printer.
So seeing I followed the following steps:
Stop cups
Replace printers.conf with printers.conf.O (I could also had manually edited it)
Start cups
It then went working flawlessly.
There was probably an option in the web interface combobox for doing that. The problem is that I didn't realise it was stopped, so didn't know how to make it work. Moreover, some posts in the web recommended reinstalling the printer (which would skip the problem by creating a new printer).I think that I had this same problem, and fixed it by reinstalling the printer. Thank you for your post.
-
Input agent date parsing error
Hi all,
I am using input agent which points to documents which are exported from IPM 10g.in IPM 11g when i pass sample file for that documents which contain 18 fields one of which is date field.so when i pass input file through input agent which contain date value then i get date parsing error .
please experts help me.
Thanks in advance
Edited by: 862821 on Oct 12, 2012 12:01 AM
Edited by: 862821 on Oct 12, 2012 12:04 AM
Edited by: 862821 on Oct 12, 2012 12:09 AM
Edited by: 862821 on Oct 12, 2012 1:18 AMHi srinath,
I am using input agent which points to documents which are exported from IPM 10g.in IPM 11g when i pass sample file for that documents which contain 18 fields one of which is date field.so when i pass input file through input agent which contain date value then i get date parsing error . please suggest me solution.
Thanks
Edited by: 862821 on Oct 12, 2012 1:18 AM -
OSB: Cannot acquire data source error while using JCA DBAdapter in OSB
Hi All,
I've entered 'Cannot acquire data source' error while using JCA DBAdapter in OSB.
Error infor are as follows:
The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapter1/RetrievePersonService [ RetrievePersonService_ptt::RetrievePersonServiceSelect(RetrievePersonServiceSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'RetrievePersonServiceSelect' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/soademoDatabase].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.soademoDatabase'. Resolved 'jdbc'; remaining name 'soademoDatabase'.
; nested exception is:
BINDING.JCA-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
JNDI Name for the Database pool: eis/DB/soademoDatabase
JNDI Name for the Data source: jdbc/soademoDatabase
I created a basic DBAdapter in JDeveloper, got the xsd file, wsdl file, .jca file and the topLink mapping file imported them into OSB project.
Then I used the .jca file to generate a business service, and tested, then the error occurs as described above.
Login info in RetrievePersonService-or-mappings.xml
<login xsi:type="database-login">
<platform-class>org.eclipse.persistence.platform.database.oracle.Oracle9Platform</platform-class>
<user-name></user-name>
<connection-url></connection-url>
</login>
jca file content are as follows:
<adapter-config name="RetrievePersonService" adapter="Database Adapter" wsdlLocation="RetrievePersonService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/DB/soademoDatabase" UIConnectionName="Connection1" adapterRef=""/>
<endpoint-interaction portType="RetrievePersonService_ptt" operation="RetrievePersonServiceSelect">
<interaction-spec className="oracle.tip.adapter.db.DBReadInteractionSpec">
<property name="DescriptorName" value="RetrievePersonService.PersonT"/>
<property name="QueryName" value="RetrievePersonServiceSelect"/>
<property name="MappingsMetaDataURL" value="RetrievePersonService-or-mappings.xml"/>
<property name="ReturnSingleResultSet" value="false"/>
<property name="GetActiveUnitOfWork" value="false"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
RetrievePersonService_db.wsdl are as follows:
<?xml version="1.0" encoding="UTF-8"?>
<WL5G3N0:definitions name="RetrievePersonService-concrete" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/">
<WL5G3N0:import location="RetrievePersonService.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService"/>
<WL5G3N0:binding name="RetrievePersonService_ptt-binding" type="WL5G3N1:RetrievePersonService_ptt">
<WL5G3N2:binding style="document" transport="http://www.bea.com/transport/2007/05/jca"/>
<WL5G3N0:operation name="RetrievePersonServiceSelect">
<WL5G3N2:operation soapAction="RetrievePersonServiceSelect"/>
<WL5G3N0:input>
<WL5G3N2:body use="literal"/>
</WL5G3N0:input>
<WL5G3N0:output>
<WL5G3N2:body use="literal"/>
</WL5G3N0:output>
</WL5G3N0:operation>
</WL5G3N0:binding>
<WL5G3N0:service name="RetrievePersonService_ptt-bindingQSService">
<WL5G3N0:port binding="WL5G3N1:RetrievePersonService_ptt-binding" name="RetrievePersonService_ptt-bindingQSPort">
<WL5G3N2:address location="jca://eis/DB/soademoDatabase"/>
</WL5G3N0:port>
</WL5G3N0:service>
</WL5G3N0:definitions>
Any suggestion is appricated .
Thanks in advance!
Edited by: user11262117 on Jan 26, 2011 5:28 PMHi Anuj,
Thanks for your reply!
I found that the data source is registered on server soa_server1 as follows:
Binding Name: jdbc.soademoDatabase
Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
Hash Code: 80328036
toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/291])/291
Binding Name: jdbc.SOADataSource
Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
Hash Code: 92966755
toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/285])/285
I don't know how to determine which server the DBAdapter is targetted to.
But I found the following information:
Under Deoloyment->DBAdapter->Monitoring->Outbound Connection Pools
Outbound Connection Pool Server State Current Connections Created Connections
eis/DB/SOADemo AdminServer Running 1 1
eis/DB/SOADemo soa_server1 Running 1 1
eis/DB/soademoDatabase AdminServer Running 1 1
eis/DB/soademoDatabase soa_server1 Running 1 1
The DbAdapter is related to the following files:
C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ DBPlan\ Plan. xml
I unzipped DbAdapter.rar, opened weblogic-ra.xml and found that there's only one data source is registered:
<?xml version="1.0"?>
<weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
<enable-global-access-to-classes>true</enable-global-access-to-classes>
<outbound-resource-adapter>
<default-connection-properties>
<pool-params>
<initial-capacity>1</initial-capacity>
<max-capacity>1000</max-capacity>
</pool-params>
<properties>
<property>
<name>usesNativeSequencing</name>
<value>true</value>
</property>
<property>
<name>sequencePreallocationSize</name>
<value>50</value>
</property>
<property>
<name>defaultNChar</name>
<value>false</value>
</property>
<property>
<name>usesBatchWriting</name>
<value>true</value>
</property>
<property>
<name>usesSkipLocking</name>
<value>true</value>
</property>
</properties>
</default-connection-properties>
<connection-definition-group>
<connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
<connection-instance>
<jndi-name>eis/DB/SOADemo</jndi-name>
<connection-properties>
<properties>
<property>
<name>xADataSourceName</name>
<value>jdbc/SOADataSource</value>
</property>
<property>
<name>dataSourceName</name>
<value></value>
</property>
<property>
<name>platformClassName</name>
<value>org.eclipse.persistence.platform.database.Oracle10Platform</value>
</property>
</properties>
</connection-properties>
</connection-instance>
</connection-definition-group>
</outbound-resource-adapter>
</weblogic-connector>
Then I decided to use eis/DB/SOADemo for testing.
For JDeveloper project, after I deployed to weblogic server, it works fine.
But for OSB project referencing wsdl, jca and mapping file from JDeveloper project, still got the same error as follows:
BEA-380001: Invoke JCA outbound service failed with application error, exception:
com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapterTest/DBReader [ DBReader_ptt::DBReaderSelect(DBReaderSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'DBReaderSelect' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/SOADataSource].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
; nested exception is:
BINDING.JCA-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/SOADataSource].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
It almost drive me crazy!!:-(
What's the purpose of 'weblogic-ra.xml' under the folder of 'C:\Oracle\Middleware\home_11gR1\Oracle_OSB1\lib\external\adapters\META-INF'?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -
I am getting ORA-01403: no data found error while calling a stored procedur
Hi, I have a stored procedure. When I execute it from Toad it is successfull.
But when I call that from my java function it gives me ORA-01403: no data found error -
My code is like this -
SELECT COUNT(*) INTO L_N_CNT FROM TLSI_SI_MAST WHERE UPPER(CUST_CD) =UPPER(R_V_CUST_CD) AND
UPPER(ACCT_CD)=UPPER(R_V_ACCT_CD) AND UPPER(CNSGE_CD)=UPPER(R_V_CNSGE_CD) AND
UPPER(FINALDEST_CD)=UPPER(R_V_FINALDEST_CD) AND UPPER(TPT_TYPE)=UPPER(R_V_TPT_TYPE);
IF L_N_CNT >0 THEN
DBMS_OUTPUT.PUT_LINE('ERROR -DUPlicate SI-1');
SP_SEL_ERR_MSG(5,R_V_ERROR_MSG);
RETURN;
ELSE
DBMS_OUTPUT.PUT_LINE('BEFORE-INSERT');
INSERT INTO TLSI_SI_MAST
( CUST_CD, ACCT_CD, CNSGE_CD, FINALDEST_CD, TPT_TYPE,
ACCT_NM, CUST_NM,CNSGE_NM, CNSGE_ADDR1, CNSGE_ADDR2,CNSGE_ADDR3,
CNSGE_ADDR4, CNSGE_ATTN, EFFECTIVE_DT, MAINT_DT,
POD_CD, DELVY_PL_CD, TRANSSHIP,PARTSHIPMT, FREIGHT,
PREPAID_BY, COLLECT_BY, BL_REMARK1, BL_REMARK2,
MCC_IND, NOMINATION, NOTIFY_P1_NM,NOTIFY_P1_ATTN , NOTIFY_P1_ADDR1,
NOTIFY_P1_ADDR2, NOTIFY_P1_ADDR3, NOTIFY_P1_ADDR4,NOTIFY_P2_NM,NOTIFY_P2_ATTN ,
NOTIFY_P2_ADDR1,NOTIFY_P2_ADDR2, NOTIFY_P2_ADDR3, NOTIFY_P2_ADDR4,
NOTIFY_P3_NM,NOTIFY_P3_ATTN , NOTIFY_P3_ADDR1,NOTIFY_P3_ADDR2, NOTIFY_P3_ADDR3,
NOTIFY_P3_ADDR4,CREATION_DT, ACCT_ATTN, SCC_IND, CREAT_BY, MAINT_BY
VALUES( R_V_CUST_CD,R_V_ACCT_CD,R_V_CNSGE_CD,R_V_FINALDEST_CD,R_V_TPT_TYPE,
R_V_ACCT_NM,R_V_CUST_NM ,R_V_CNSGE_NM, R_V_CNSGE_ADDR1,R_V_CNSGE_ADDR2, R_V_CNSGE_ADDR3,
R_V_CNSGE_ADDR4,R_V_CNSGE_ATTN, R_V_EFFECTIVE_DT ,SYSDATE, R_V_POD_CD,R_V_DELVY_PL_CD,R_V_TRANSSHIP ,R_V_PARTSHIPMT , R_V_FREIGHT,
R_V_PREPAID_BY ,R_V_COLLECT_BY ,R_V_BL_REMARK1 ,R_V_BL_REMARK2,R_V_MCC_IND,
R_V_NOMINATION,R_V_NOTIFY_P1_NM, R_V_NOTIFY_P1_ATTN, R_V_NOTIFY_P1_ADD1, R_V_NOTIFY_P1_ADD2,
R_V_NOTIFY_P1_ADD3, R_V_NOTIFY_P1_ADD4, R_V_NOTIFY_P2_NM, R_V_NOTIFY_P2_ATTN, R_V_NOTIFY_P2_ADD1,
R_V_NOTIFY_P2_ADD2, R_V_NOTIFY_P2_ADD3, R_V_NOTIFY_P2_ADD4, R_V_NOTIFY_P3_NM, R_V_NOTIFY_P3_ATTN,
R_V_NOTIFY_P3_ADD1, R_V_NOTIFY_P3_ADD2, R_V_NOTIFY_P3_ADD3, R_V_NOTIFY_P3_ADD4,
SYSDATE,R_V_ACCT_ATTN,R_V_SCC_IND,R_V_USER_ID,R_V_USER_ID
DBMS_OUTPUT.PUT_LINE(' SI - REC -INSERTED');
END IF;Hi,
I think there is a part of the stored procedure you did not displayed in your post. I think your issue is probably due to a parsed value from java. For example when calling a procedure from java and the data type from java is different than expected by the procedure the ORA-01403 could be encountered. Can you please show the exact construction of the call of the procedure from within java and also how the procedure possible is provided with an input parameter.
Regards, Gerwin -
Hi guys
i am trying to open more than 100 files using open dataset input but i am getting below error
program is abending reading after 50files..
Program failing in open data set error can u help me please?
143
144 * Each file is getting into an internal table
>>> OPEN DATASET w_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
146 IF sy-subrc <> 0.
147 CONTINUE.
148 ELSE.
149 DO.
150 READ DATASET w_file INTO s700_delta.
What command I should give here
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_TOO_MANY_FILES', was not
caught and
therefore caused a runtime error.
The reason for the exception is:
The maximum number of open files (100) has been exceeded.
please let me know what should makes changes to avoid this abend?Standard programming problem, should be rather trivial to find with a quick search. Basically there's always a limit of how many open file handles you can have at a time.
Please try to consult the ABAP help next time before posting (or search on SCN). A quick check for [open dataset|http://help.sap.com/abapdocu_70/en/ABAPOPEN_DATASET.htm] would've told you the following:
You can open up to 100 files per internal session. The actual maximum number of simultaneously open files may be less, depending on the platform.
Most likely you actually don't want to have all those files open at the same time and you simply forgot to use a [close dataset|http://help.sap.com/abapdocu_70/en/ABAPCLOSE_DATASET.htm] after reading each file. -
Error in using BAPI_CONFEC_CREATE : Interface data contains Errors
Hi,
I am using this BAPI BAPI_CONFEC_CREATE to create confirmations locally in SRM for a PO. I am following Documentation available for this BAPI. But when I excuted with below data getting error " INTERFACE DATA CONTAINS ERRORS"
I am passing these data:
Hedaer: Ref_doc_no - PO Number
Description:
Process Type: "CONF"
Header_cust: parent_guid : PO GUID
Item: Parent: PO Header GUID
PO Number: PO number
PO GUID: PO HEDAER GUD
PO ITEM Number: PO item Number
PO_ITEM_GUID: po item guid
Account:
Parent_GUID : PO Item GUID
G/L acct : Po G/l acct
cost center : PO cost center
what are the data sholud be passed to this BAPI?
Am I missing any input data to this BAPI? Please let me know.
Am I using correct Function Module to create a confirmation for a PO in Stand alone scenario?
Thanks.
Shears
Edited by: Shears80 on Sep 10, 2010 1:39 AMHi Matt
I'm using the same FM but it's not working. Can you please share what data you are passing in the FM.
After debugging I found that my confirmation is getting created but it's not getting saved.
Please enlighten me.
Thanks
Ankit -
Hi,
We are getting the following error when running our SSIS packages on Microsoft SQL Server 2012 R2 on Windows Server 2008 R2 SP1:
Error: 4014, Severity:20, State: 11. A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)
SQL Server Data Tools and SQL Server Database Engine reside on the same server.
We tried the following:
Disabling TCP Chimney Offload
Installed Windows Server 2008 SP1
Splitting our SSIS code into multiple steps so it is not all one large continuous operation
The error occurs during a BulkDataLoad task.
Other options we are investigating with the engineering team (out-sourced, so delayed responses):
Firewall configurations (everything is local, so this should not make a difference)
Disabling the anti-virus scanner
Are there other things we can try?
Any insight is greatly appreciated.
Thanks!Hi HenryKwan,
Based on the current information, the issue can be caused by many reasons. Please refer to the following tips:
Install the latest hotfix based on your SQL Server version. Ps: there is no SQL Server 2012 R2 version.
Change the MaxConcurrentExecutables property from -1 to another one based on the MAXDOP. For example, 8.
Set "RetainSameConnection" Property to FALSE on the all the connection managers.
Reference:
https://connect.microsoft.com/SQLServer/feedback/details/774370/ssis-packages-abort-with-unexpected-termination-message
If the issue is still existed, as Jakub suggested, please provide us more information about this issue.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Date parse error while importing users from OIM to OIA (SRM 5.0.3)
Hi All,
Env Details:
OIA (SRM 5.0.3), Weblogic and Oracle 10g DB
We have integrated OIM to OIA with extended attributes mapping by modifying iam-context.xml file to load users. Its done successfully. But when we map "Date" related attribute, its giving "Date Parsing error" and its not loading the users.
We have tried loading users using flatFile mechanism, its also giving same result.
Please suggest me. Thanks in Advance !!!
Regards,
Ravi G.Hi,
Its a problem with OOB's OIMIAMSolution.class file, which is called while importing users from OIM. It used DateParse () conversion method only for all attributes which OIA attributes' name is ends with "Date". It defined, the conversion of date from (yyyy-MM-dd). So its expecting the input value should be in defined format(yyyy-MM-dd), if not, it gives a parse error.
We found work around for this as follows,
We have used other related OIA attribute which name ends other than "Date" string.
Thanks,
Ravi G. -
Date format error while accessing date from SQLSERVER
Hi all, in me webdynpro application I have taken Date type for the Input Field.
At date select it is displaying in the format
*2/14/2009 i.e. mm/dd/yyyy*
And when I am saving date in the sql database then the date format changes to..
2009-02-14 i.e..yyyy/mm/dd.
But using the Date format method I have changed the format as per the need to push date in the SQL database table...
In the table SQL the date attribute is in form i.e. 02/14/2009 as like from the date select from the date Input Fieldu2026But the problem is that database is not being able to display in that Input field again.
I have use the coding both at Insertion and selection of the database i.e..
Date Sdate, Edate;
Sdate = Date.valueOf (rs.getString ("Sdate"));
Edate = Date.valueOf (rs.getString ("Edate"));
SimpleDateFormat date Formatter = new SimpleDateFormat ("MM/dd/yyyy");
Sdate = wdContext.currentProjectElement ().getEdate ();
Edate = wdContext.currentProjectElement ().getEdate ();
String Sd = dateFormatter.format (Sdate);
String Ed = dateFormatter.format (Edate);
Date Sdd =Date.valueOf (Sd);
Date Edd =Date.valueOf (Ed);
But at selection of the database the error for the date format isu2026.
java.lang.IllegalArgumentException
If somebody knows how to resolve this ,plz let me know
Regards:
SKfor displaying the value only, I think, you are converting to string.
sol1:
1. Create a simple type in dictionary: under Dictionary -> Local Dictionary -> Simple Types
2. go to Definition tab: Change Built-in Type as Date
3. go to Representation tab: specify format e.g.: MM/dd/yyyy
4. go to Context and change the date context attribute to the created type.
sol2:
please try to minimize the casting between Date and String.
I believe in database date is stored as Date type itself. My suggestion will be for displaying keep a separate attribute and set it on each db call.
below code is converting from Date to String.
Date Sdate, Edate;
Sdate = rs.getDate ("Sdate");
Edate = rs.getDate ("Edate");
SimpleDateFormat date Formatter = new SimpleDateFormat ("MM/dd/yyyy");
String Sd = dateFormatter.format (Sdate);
String Ed = dateFormatter.format (Edate); -
Invalid data status error during the data extraction
Hi,
while extracting capacity data from the SNP Capacity view to BW. i get the "invalid data status error" and the data extraction fails.
when debugged the bad requests of the ODS object, i found that for a certain product(which has both positive and negative input and out qtys) co-product manufacturing orders were created. but this product was not marked as the co-product and functionally its fine.
how can i rectify the data extraction problem..can you advice.
Thanks,
DhanushSir,
In my company for some production order status some are having "errors in cost calculation" ie "cser" .how to deal these kind of errors. -
Hi,
I want connect to 8510A .
I know that, these are the error correction coefficiects created during calibration (also called a \cal set"). The error coefficiect arrays can be read from or sent to a computer, by the OUTPCALC and INPUCALC commands.
I used attached vi for this data transfering.
I can do saving a cal set to a file (save to pc),
but when I want recall a file (the same one that is saved to my pc) from pc and save to a cal set, vi. do not work.
system gives an error : "BLOCK INPUT ERROR"
I do not know why is it?
Regards,
Yasamin
Solved!
Go to Solution.
Attachments:
Save or Read Calibration Data.vi 39 KBI can savemy calibration data to mypc.
when I try recalling data from pc to 8510, I get visa write error (-1073807339) at LabVIEW and
BLOCK INPUT DATA on 8510 display.
Data do not wirte in CALSn.
I have got the following string at "String Indicator" in attached vi ( or below image), but data do not save in CALS3.
FORM4;POIN201;CALIFUL2;INPUCALC01 -1.282835000000000E-02, 1.187563000000000E-02
-1.418209000000000E-02, 1.075935000000000E-02
-1.554251000000000E-02, 9.556770000000000E-03
-1.683235000000000E-02, 0.825500000000000E-02
-1.789188000000000E-02, 0.677299000000000E-02
-1.892662000000000E-02, 0.544643000000000E-02
-1.984692000000000E-02, 0.385857000000000E-02
-2.067089000000000E-02, 0.216293000000000E-02
-2.139664000000000E-02, 0.077438000000000E-02
-2.204418000000000E-02, -0.100994000000000E-02
-2.250099000000000E-02, -0.268078000000000E-02
-2.282715000000000E-02, -0.437546000000000E-02
-2.315235000000000E-02, -0.607204000000000E-02
-2.329636000000000E-02, -0.778198000000000E-02
-2.322197000000000E-02, -0.944328000000000E-02
-2.310848000000000E-02, -1.119423000000000E-02
-2.281189000000000E-02, -1.289463000000000E-02
-2.250385000000000E-02, -1.456833000000000E-02
-2.200031000000000E-02, -1.617050000000000E-02
-2.136326000000000E-02, -1.774216000000000E-02
-2.077579000000000E-02, -1.935673000000000E-02
-1.984787000000000E-02, -2.084160000000000E-02
-1.895142000000000E-02, -2.221775000000000E-02
-1.806831000000000E-02, -2.347851000000000E-02
-1.701736000000000E-02, -2.479649000000000E-02
-1.598644000000000E-02, -2.591228000000000E-02
-1.454639000000000E-02, -2.705479000000000E-02
-1.324272000000000E-02, -2.807808000000000E-02
-1.188469000000000E-02, -2.885437000000000E-02
-1.041412000000000E-02, -2.951813000000000E-02
-0.903416000000000E-02, -3.024292000000000E-02
-0.745583000000000E-02, -3.078270000000000E-02
-0.596142000000000E-02, -3.107738000000000E-02
-0.440407000000000E-02, -3.149605000000000E-02
-0.285149000000000E-02, -3.156662000000000E-02
-0.116539000000000E-02, -3.158188000000000E-02
0.044060000000000E-02, -3.168678000000000E-02
0.196648000000000E-02, -3.118038000000000E-02
0.352669000000000E-02, -3.091431000000000E-02
0.511169000000000E-02, -3.046989000000000E-02
0.669575000000000E-02, -2.995968000000000E-02
0.828171000000000E-02, -2.943134000000000E-02
0.957966000000000E-02, -2.852345000000000E-02
1.094151000000000E-02, -2.763939000000000E-02
1.244068000000000E-02, -2.671051000000000E-02
1.359558000000000E-02, -2.563572000000000E-02
1.486492000000000E-02, -2.441978000000000E-02
1.593399000000000E-02, -2.331829000000000E-02
1.705647000000000E-02, -2.203941000000000E-02
1.795959000000000E-02, -2.079105000000000E-02
1.890278000000000E-02, -1.947975000000000E-02
1.985836000000000E-02, -1.809311000000000E-02
2.037334000000000E-02, -1.695633000000000E-02
2.101421000000000E-02, -1.555824000000000E-02
2.115726000000000E-02, -1.426697000000000E-02
2.124786000000000E-02, -1.287842000000000E-02
2.136230000000000E-02, -1.152515000000000E-02
2.114964000000000E-02, -1.022625000000000E-02
2.090454000000000E-02, -0.894547000000000E-02
2.048683000000000E-02, -0.738907000000000E-02
2.000237000000000E-02, -0.613022000000000E-02
1.938629000000000E-02, -0.472641000000000E-02
1.867580000000000E-02, -0.336361000000000E-02
1.785755000000000E-02, -0.203800000000000E-02
1.686382000000000E-02, -0.076771000000000E-02
1.585674000000000E-02, 0.042248000000000E-02
1.466274000000000E-02, 1.505375000000000E-03
1.367807000000000E-02, 2.598286000000000E-03
1.228857000000000E-02, 3.437519000000000E-03
1.089430000000000E-02, 4.454613000000000E-03
9.455204000000000E-03, 5.313396000000000E-03
8.113861000000000E-03, 5.772114000000000E-03
6.522417000000000E-03, 6.423950000000000E-03
5.074978000000000E-03, 6.926298000000000E-03
3.427982000000000E-03, 7.234812000000000E-03
1.807690000000000E-03, 7.556438000000000E-03
0.155210000000000E-03, 7.674694000000000E-03
-1.464844000000000E-03, 7.767916000000000E-03
-3.099918000000000E-03, 7.616282000000000E-03
-4.972935000000000E-03, 7.348537000000000E-03
-6.484985000000000E-03, 7.039070000000000E-03
-7.996082000000000E-03, 6.613255000000000E-03
-9.554386000000000E-03, 6.041050000000000E-03
-1.100492000000000E-02, 5.360126000000000E-03
-1.237965000000000E-02, 4.458904000000000E-03
-1.387310000000000E-02, 3.659248000000000E-03
-1.523399000000000E-02, 2.645493000000000E-03
-1.622009000000000E-02, 0.152206000000000E-02
-1.765251000000000E-02, 0.029755000000000E-02
-1.857471000000000E-02, -0.095940000000000E-02
-1.955128000000000E-02, -0.238800000000000E-02
-2.048683000000000E-02, -0.362492000000000E-02
-2.131748000000000E-02, -0.517559000000000E-02
-2.195549000000000E-02, -0.671291000000000E-02
-2.230263000000000E-02, -0.817490000000000E-02
-2.295017000000000E-02, -0.993061000000000E-02
-2.317142000000000E-02, -1.160812000000000E-02
-2.340317000000000E-02, -1.332283000000000E-02
-2.333736000000000E-02, -1.485729000000000E-02
-2.349854000000000E-02, -1.657963000000000E-02
-2.326870000000000E-02, -1.825142000000000E-02
-2.285862000000000E-02, -1.995087000000000E-02
-2.245808000000000E-02, -2.149677000000000E-02
-2.188969000000000E-02, -2.304649000000000E-02
-2.111530000000000E-02, -2.470970000000000E-02
-2.036190000000000E-02, -2.611160000000000E-02
-1.936817000000000E-02, -2.767944000000000E-02
-1.852036000000000E-02, -2.905083000000000E-02
Attachments:
Save or Read Calibration Data2.vi 40 KB
Maybe you are looking for
-
After I updated my Ipad2 to IOS5 my calendar lost all appointments. After re-entering a couple of appointments it froze. After getting it going again, the calendar will not populate an end date for the current day and consequently I can't save the
-
We have two iTunes accounts on one computer. Why is my music, apps, etc showing in my husbands account? Home sharing is NOT selected. This recently became an issue when we added additional devices. Now we keep getting each other's apps!
-
Moving iTunes music folder from hard drive to external drive
I see a couple of topics related to iTunes folder locations and losing track of where the file are. What's the right way to migrate from having the iTunes music files on my hard drive (C:) to using an external drive...without having to re-map everyth
-
OBLIX_ObRequestedUrl or something similar
I am using Oblix and when a user clicks on certain links, they are forwarded to the single signon page. Once they sign on, I would like for the user to be taken to the EXACT link he tried to go to. My app always takes me to the page registered in Obl
-
Oracle service bus and database connectivity
Since currently OSB does not support Adapter Framework, what are currently options for using DB Adapter type functionality in Oracle Service Bus (ALSB). It seems JMS and other transports are very well supported, but how do we use DB Services? Please