WmFlatFile:convertToValues

Hi,

I am using pub.flatfile:convertToValues to convert the flatfile to a document.
But it is sometimes working and sometimes not. The Schema is working fine.
Its giving the following error:

53309]SERVICE NAME : pub.flatFile:convertToValuesswapRows();writeTDnowrap(“row-l”);[53308] swapRows();writeTDnowrap(“row-l”);[53307] at java.lang.Thread.run(Thread.java:534)swapRows();writeTDnowrap(“row-l”);[53306] at com.wm.util.pool.PooledThread.run(PooledThread.java:105)swapRows();writeTDnowrap(“row-l”);[53305] at com.wm.ff.net.FilePollingTransaction$RunService.run(FilePollingTransaction.java:294)swapRows();writeTDnowrap(“row-l”);[53304] at com.wm.ff.net.FilePollingTransaction$RunService.write(FilePollingTransaction.java:442)swapRows();writeTDnowrap(“row-l”);[53303] at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:128)swapRows();writeTDnowrap(“row-l”);[53302] at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:246)swapRows();writeTDnowrap(“row-l”);[53301] at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:359)swapRows();writeTDnowrap(“row-l”);[53300] at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:486)swapRows();writeTDnowrap(“row-l”);[53299] at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:384)swapRows();writeTDnowrap(“row-l”);[53298] at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:39)swapRows();writeTDnowrap(“row-l”);[53297] at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:194)swapRows();writeTDnowrap(“row-l”);[53296] at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)swapRows();writeTDnowrap(“row-l”);[53295] at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:221)swapRows();writeTDnowrap(“row-l”);[53294] at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)swapRows();writeTDnowrap(“row-l”);[53293] at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:554)swapRows();writeTDnowrap(“row-l”);[53292] at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1749)swapRows();writeTDnowrap(“row-l”);[53291] at com.wm.lang.flow.FlowState.invoke(FlowState.java:403)swapRows();writeTDnowrap(“row-l”);[53290] at com.wm.lang.flow.FlowState.step(FlowState.java:438)swapRows();writeTDnowrap(“row-l”);[53289] at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:580)swapRows();writeTDnowrap(“row-l”);[53288] at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:324)swapRows();writeTDnowrap(“row-l”);[53287] at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:155)swapRows();writeTDnowrap(“row-l”);[53286] at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:246)swapRows();writeTDnowrap(“row-l”);[53285] at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:359)swapRows();writeTDnowrap(“row-l”);[53284] at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:486)swapRows();writeTDnowrap(“row-l”);[53283] at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:384)swapRows();writeTDnowrap(“row-l”);[53282] at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:39)swapRows();writeTDnowrap(“row-l”);[53281] at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:194)swapRows();writeTDnowrap(“row-l”);[53280] at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)swapRows();writeTDnowrap(“row-l”);[53279] at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:221)swapRows();writeTDnowrap(“row-l”);[53278] at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)swapRows();writeTDnowrap(“row-l”);[53277] at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:554)swapRows();writeTDnowrap(“row-l”);[53276] at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:287)swapRows();writeTDnowrap(“row-l”);[53275] at java.lang.reflect.Method.invoke(Method.java:324)swapRows();writeTDnowrap(“row-l”);[53274] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)swapRows();writeTDnowrap(“row-l”);[53273] at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)swapRows();writeTDnowrap(“row-l”);[53272] at pub.flatFileImpl.convertToValues(flatFileImpl.java:393)swapRows();writeTDnowrap(“row-l”);[53271] at com.wm.ff.parse.Parser.parseDocument(Parser.java:637)swapRows();writeTDnowrap(“row-l”);[53270]ERROR DUMP : com.wm.ff.parse.ParseException: [FFP.0012.0004] Found no valid recordsswapRows();writeTDnowrap(“row-l”);[53269]ERROR TYPE : com.wm.ff.parse.ParseException swapRows();writeTDnowrap(“row-l”);[53268]TIMESTAMP: 2006/08/28 21:59:34.667

Can anyone please help me out with this? its really urgent.

Thanks,

Parbhi.

Are you using any formatServices in your FFSchema??

“ERROR DUMP : com.wm.ff.parse.ParseException: [FFP.0012.0004] Found no valid records” --Generally this indicates parsing not success using your flatfile…Can you debug by individually testing your schema with the same file using Test/Run using the flatfile editor.

HTH,
RMG

Hi RMG,

Yes, i have tested the schema with the same file and its working fine. Am able to create records. We aren’t using formatServices.

The problem is that its working sometimes and sometimes not.

Please advice me on it. Its really urgent.

Thanks,

Parbhi

“The problem is that its working sometimes and sometimes not”

Are you sure all your flatfile samples are accurate against FFSchema?? and this might causes failure sometimes…

Also check in the Advantage site see if there are any fixes released for the WmFlatFile Adapter on this problem…

check this thread for error writeTDnowrap(“row-l”);
https://advantage.webmethods.com/advantage?targChanId=kb_home&oid=1612846206

HTH,
RMG