Error reading MimeBodyPart

I am trying to read all attachments sent in a mail and getting error java.io.IOException: Error in encoded stream, got 3 for few emails. The code is like
OutputStream os = new BufferedOutputStream(new FileOutputStream(filepath));
                              InputStream is = mbp.getInputStream();
                              int c;
                              while ((c = is.read()) != -1)
                                   os.write(c);
                              os.close();
It is failing in is.read()) with error
java.io.IOException: Error in encoded stream, got 3
     at com.sun.mail.util.BASE64DecoderStream.decode(BASE64DecoderStream.java:148)
     at com.sun.mail.util.BASE64DecoderStream.read(BASE64DecoderStream.java:53)
The encoding for attachment is base64 but the header Content-Transfer-Encoding is quoted-printable. We are using Java mail 1.3. Any way i can avoid the error for java mail 1.3? Java mail 1.3 doesn't have mail.mime.base64.ignoreerrors property, so can't set it.
Thanks in advance.

No, you can't use the MimeUtility methods because that's where the error is
currently being detected that's preventing you from handling this (probably
incorrectly encoded) content. You're going to need to write your own base64
decoder that ignores errors.
Of course, before you go to all that trouble, you should determine whether
the content is incorrectly encoded, and whether ignoring the encoding
errors will produce the output you expect.
Try saving the entire message to a file (Message.writeTo), and then using
the JavaMail msgshow.java demo program with JavaMail 1.4.4 to read the file
and save the attachments.

Similar Messages

  • SPAU error reading log file

    Hi All,
    We have an R/3 4.0B landscape and are working on some changes.  I want to see if any SAP delivered objects have been modified in the past, but whenever I run SPAU or SPDD, I get an error message
    "Error Reading File D:\usr\sap\put\log\umodstat.log"  "Message Number 0U 503".
    I can read a text file in the same directory through AL11, so I'm reasonably sure it's not an OS permission problem.
    Any ideas?
    Thanks,
    Alan

    Hi All,
    I had same issue trying to edit sat.trc file, I fixed this problem by manual editing sat.trc file and modified the following line:
    <!FORMATTER[com.sap.tc.logging.perf.PerfFormatter]/>
    change to:
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    after changes you will able to open file with Visaul Admin Log Viewer or standalone logviewer.
    Hope it helps.
    Regards

  • Error while saving Adobrforms: There was a error reading the document(26)

    Hello,
    Am not able to save the pdf form.
    Error : "The document could not be saved.There was a error reading the document(26)."
    Can anyone please tell me why i am getting this error.
    Thanks,
    satheesh

    Hi Satheesh,
    Can you give more details about your scenario..
    Regards,
    Ravi

  • Error reading from file glibc-2.5-24.i686.rpm RHEL 5 Setup stuck at 80%

    Hi, I am installing Oracle 10g on RHEL 5 (Red Hat Enterprise Linux 5) machine I am facing two problems
    1) while installing the rpm packages the following package gave an error
    Error reading from file glibc-2.5-24.i686.rpm
    2) I still gave a try to runInstaller command the installer opened but was stuck at 80%
    I have 3 GB ram and 320GB hard drive I am not sure what to put in the swap memory and other settings i blindly followed instructions given here
    http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.php
    What could be the problem where do I find the error log if its created
    Please help me
    Thanks
    Edited by: 891355 on Nov 6, 2011 12:06 PM

    I found the installActions file in the installer folder and I think this could be the problem
    INFO: The 'shiphomeproperties.xml' file is missing from shiphome location '/home/oracle/Desktop/database/install/../stage/products.xml.' Add this file to the 'Disk1/stage' directory of the shiphome.
    though I am attaching the log file for more details do you think the installer is corrupt :(
    InstallActions log file ==> http://www.mediafire.com/?nh7mx7bxqht9ovu
    Edited by: 891355 on Nov 6, 2011 1:35 PM

  • Error reading wsdl file excepetion null

    Hi
    I am trying to invoke a proxy service (web service) wsdl from a bpel process. When i add a web service adapter, put url of external web service and save it, all my service end points defined in the BPEL process are becoming non editable. Binding of operation is changing from web service to HTTP binding for all end points. When I try to edit any partner link, Jdev throws an error " error reading wsdl file excepetion null " for local services. For external service, even though i am refering to a url on the server, it points to " C:\Oracle\Middleware\jdeveloper\jdev\bin\...\xxxx?WSDL" and throws same error " failed to read wsdl file(System could not find the path specified". I am just clueless as to why this is happening. Any help is much appreciated.

    Try the SOA Forum - SOA Suite

  • \\Error Reading Rules File when dimbuild with DLR

    Hi
    I am using Essbase 11.1.2.1.
    I create a DLR via the web console EAS (11.1.2.1 too) : a very simple one : dimbuild DLR, ";" as separator, 2 fields (parent and child)
    when i try do do a "Update Ouline..." with a very simple file (1 line : accounts;test) I have this error message "\\Error Reading Rules File"
    I don't know if it can help but if I create the same DLR on another 7.1 essbase serveur through this same wec eas console (11.1.2.1), I have no problem...
    another information, too : my 11.1.2.1 server has a //ESS_LOCALE English_UnitedStates.Latin1@Binary ESSLANG. My 7.1 server has a //ESS_LOCALE French_France.ISO-8859-15@Default ESSLANG. I really don't know if there is a link, or absolutely not.
    Thanks in advance for your help!
    Fanny

    unable to load essmsh.exe : the error message seems to indicate that it is a problem with a path in the environment variables.
    So if you say that the "Error Reading Rules File" is typically a path issue, all is probably linked!
    The admin will probably correct that tomorrow : I let you know if it solves the problem!
    Thanks!
    Fanny

  • Error reading product file driver files

    When attempting apply a large merge patch I receive the following error:
    Screening out files not valid for this installation...
    Determining valid on-site files...
    AutoPatch error:
    The following file is missing:
    /oracle/prodappl/pa/11.5.0/admin/driver/pasb038.drv
    AutoPatch error:
    Error reading product file driver files [complete; make tapes]
    AutoPatch error:
    Error determining valid on-site files
    Any ideas?
    I've tried using options=noprereq option, but that didn't help.

    - Try to restore the file from a backup you have Or just copy it from any other environment.
    - Make sure that you have included all pre-req patches in the merged file.
    I've tried using options=noprereq optionBy this you tell adpatch not to check for pre-req, use 'options=prereq' instead.

  • Error reading zip file in Java 6

    We have a bespoke installer program that fails, intermittently, in Java 6 on Windows. After installing some files, it then fails with a stack trace like this:
    java.util.zip.ZipException: error reading zip file
         at java.util.zip.ZipFile.read(Native Method)
         at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
         at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:447)
         at java.util.zip.ZipFile$1.fill(ZipFile.java:230)
         at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at com.XXXX.trent.installer.Installer.writeStreamToFile(Unknown Source)
         at com.XXXX.trent.installer.Installer.installFile(Unknown Source)
         at com.XXXX.trent.installer.PatchFileInstaller.installFile(Unknown Source)
         at com.XXXX.trent.installer.PatchFileInstaller.installFiles(Unknown Source)
         at com.XXXX.trent.installer.UpgradeInstaller$TpfAction.run(Unknown Source)
         at com.XXXX.trent.installer.UpgradeInstaller.runActions(Unknown Source)
         at com.XXXX.trent.installer.UpgradeInstaller.install(Unknown Source)
         at com.XXXX.trent.installer.TrentInstall$SoftwareInstallStage.install(Unknown Source)
         at com.XXXX.trent.installer.TrentInstall$UpgradeInstallWorker.install(Unknown Source)
         at com.XXXX.trent.installer.PatchInstall$InstallWorker.construct(Unknown Source)
         at com.XXXX.trent.utils.SwingWorker$2.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:619)The same code works in Java 5 on the same environments that it now fails in Java 6 (1.6.0_16).
    Any ideas?
    Thanks.

    gimbal2 wrote:
    it is not weird, it is a bug in the application. Don't let the upgrade from Java 5 to Java 6 make you believe otherwise.It's a singularly bad exception message though. I would have thought that something from java.util might be a bit more explicit about what the problem is.
    Winston

  • Error reading project file : no protocol

    I have followed the instructions exactly as in the j2ee tutiorial ,but, when I run asant , an error occurs:
    : Error reading project file : no protocol: ../../common/targets.xml
    Urgent!

    Could you please provide a bit more detail such as which sample you are using? Also are you using the latest version of the tutorial and have you configured your build.properties in the samples/common directory?

  • Error reading Maya file

    I was trying to import a camera into AE, but I encounted the error: AEGP Plugin MayaImport: Error reading Maya file. (5027::12)
    Here's how I did:
    Version of softwares:
    Maya 2014 and 2013
    After Effects CS6
    System:
    Windows 7 & Mac OS 10.6.8
    I exported Camera and locator from a maya(.mb) file and save it as a .ma file. I baked all keyables of the camera.
    Then I tried to import it into AE. and the error occured.
    I tried different versions of maya and different systems, as I mentioned above. But the results were the same.
    Does anybody know how to fix it? Or show me another way to import Maya's camera into AE?
    Thanks!

    Without seeing the actual Maya file nobody can say anything. Could simply need a manual editing of the file version info or some reformatting...
    Mylenium

  • Error reading/writing file "com.garageband.cs":`≤Ć». message

    Hey all! Don't know if anyone can help but I keep getting the message...
    " Error reading/writing file "com.garageband.cs":`≤Ć». " with a cancel button.
    If you click on it it does go away, but after a time playback starts skipping and stuff.
    Anyone help please?
    Thanks
    Righini

    first two things to try for “oddball” probs:
    http://www.bulletsandbones.com/GB/GBFAQ.html#oddballprobs
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Error reading/writing file message when opening garageband and/or files

    I've been recently getting this message when I open garageband and files
    "Error reading/writing file\U201Ccom.apple.garageband.cs\U201D
    I've been in and repaired disk permissions and all that it says it is all fine, reinstall garageband and message still comes up, weird.
    not only is garageband being a nuisance, Mac OS X 10.6.2 is being a pain when shutting down telling me to restart the computer. This only happened since upgrading to 10.6. No one as yet knows this promble so I'm gonna have to ring apple and see what is going on here.
    and also my other problem is that mac doesn't seem as snappy anymore I noticed this before upgrading to 10.6 and made no difference when "cleanly" installing 10.6. I get a colour wheel popping up and i'm having to wait with simple tasks. iMac only 2 years old.

    i give up with this discussion forum no no one knows anything

  • Error reading configuration file

    I've setup the Adobe Access 4.0 trial license server and when I run the Validator.bat with -g -r on the Tomcat install dir \licenseserver I get an 'Error reading configuration file' message. Here is the log dump:
    [] 2012-12-20 22:46:32,176 INFO  [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.context.SimpleContex tFactory] Creating class loader for partition 'flashaccessserver' with libraries '[file:/c:/Tomcat6/licenseserver/flashaccessserver/libs/, file:/c:/Tomcat6/licenseserver/flashaccessserver/libs/flashaccess-license-server-ext-samp le.jar]'
    [] 2012-12-20 22:46:32,582 ERROR [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.tools.Validator] Failed to validate tenant deployment 'flashaccessserver/sampletenant'
    com.adobe.flashaccess.server.common.configuration.ConfigurationException: Error reading configuration file
              at com.adobe.flashaccess.server.license.configuration.commonsadapter.Constants.parseTenantCo nfigurationStream(Constants.java:139)
              at com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl .<init>(TenantConfigurationImpl.java:110)
              at com.adobe.flashaccess.server.license.configuration.commonsadapter.CommonsConfigurationBas edFactory.getTenantConfiguration(CommonsConfigurationBasedFactory.java:90)
              at com.adobe.flashaccess.server.license.tools.Validator.validateTenantDeployment(Validator.j ava:255)
              at com.adobe.flashaccess.server.license.tools.Validator.validatePartitionDeployment(Validato r.java:283)
              at com.adobe.flashaccess.server.license.tools.Validator.validateGlobalDeployment(Validator.j ava:301)
              at com.adobe.flashaccess.server.license.tools.Validator.process(Validator.java:173)
              at com.adobe.flashaccess.server.license.tools.Validator.main(Validator.java:117)
    Caused by: org.apache.commons.configuration.ConfigurationException: Unable to load the configuration
              at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:863)
              at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:821)
              at com.adobe.flashaccess.server.license.configuration.commonsadapter.Constants.parseTenantCo nfigurationStream(Constants.java:134)
              ... 7 more
    Caused by: org.xml.sax.SAXParseException; lineNumber: 121; columnNumber: 16; cvc-complex-type.2.4.b: The content of element 'KeyServer' is not complete. One of '{"http://licenseserver.flashaccess.adobe.com/tenant":File}' is expected.
              at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unkno wn Source)
              at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
              at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
              at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
              at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportErro r(Unknown Source)
              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidComplexT ype(Unknown Source)
              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidType(Unk nown Source)
              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processElementContent(Unkno wn Source)
              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleEndElement(Unknown Source)
              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.endElement(Unknown Source)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk nown Source)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDri ver.next(Unknown Source)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
              at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno wn Source)
              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
              at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
              at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
              at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
              at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:855)
              ... 9 more
    I'm using a relative path to my .pfx file for both the transportServerCredential and licenseServerCredential in the flashaccess-tenant.xml and my password has been scrambled using the Scrambler.bat.
    Also, when I verify setup using http://<LicenseServer>:8080/flashaccessserver/flashaccess/license/v2 I get the message 'License server is setup correctly.'
    Any ideas of why the Validator.bat can't read the configuration file?

    I agree with you that if I can successfully playback content the license serve is setup successfully. Here is what I've tried and how I've set things up:
    I have my license server setup (its the Protected Streaming version).
    I'm using Adobe Media Server as my content/packaging server. I successfully served Vanilla PHLS sample streams to the sample Adobe Access player on iOS devices.
    I have configured the Adobe Media Server to point to the license server and certificates as per the documenation and this Adobe Dev article (http://www.adobe.com/devnet/adobe-media-server/articles/content-protection-using-phds-phls .html). Since I am using a trial version of Adobe Access my .der files are the same for transport and packaging.
    I am using the local key mode to remove one more variable (I have setup a remote key server as well).
    I have placed a copy of the 'vod-policy.pol' policy file from the reference license server resources directory in my Adobe Media Server 'creds' directory and used the relative path '..creds/vod-policy.pol' in the httpd.conf file.
    When I attempt to load the sample stream http://<mymediaserver>/hls-vod/sample2_1000kbps.f4v.m3u8 using the Adobe Access sample player on my iOS device I receive the following errors in the player:
    DRM error Major[3363] minor:[0] NSError:(null)]
    From my knowledge of working with the Adobe Access Objective C library to create a PhoneGap plugin it appears that a decrypted playlist is not being returned by the Adobe Media Server. Additionally, I can find no information in the Adobe Media Server or Adobe Access logs that pertain to my setup.
    I would love to have someone from Adobe speak to the problems I am having. I find the documentation to be hit and miss and most of my successful results during this proofing process have been from piecing together disparate pieces of information and trial and error. Information on using the Adobe Media Server with Adobe Access is limited to one Devnet article (above) and the help in Adobe Media Server that doesn't explain pathing to the license server or Java policy files in any detail.
    Colour me frustrated

  • Error reading log

    Hi guys,
    I’m having some troubles with the Log Viewer tool.
    I’m monitoring my XI development through three files: defaultTrace.trc, applications.log and xi.log, I’m reading these files using the Visual Administrator Tool -> Cluster -> Server -> Services -> LogViewer. Everything was working fine, but suddenly when I tried to reopen a file, the tool was not being able to display any file at all. The error message thrown is:
    LogDataSourceException(./log/defaultTrace.trc) Error reading log caused by Error reading log: Error during browsing buffer data (./log/defaultTrace.0.trc)!
    com.sap.exception.BaseException: Error reading log
         at com.sapmarkets.bam.logcontroller.BAMLogReaderRecordSource.read(BAMLogReaderRecordSource.java(Compiled Code))
         at com.sapmarkets.bam.logcontroller.BAMLogReaderRecordSource.getLatest(BAMLogReaderRecordSource.java(Inlined Compiled Code))
         at com.sapmarkets.bam.application.RecordBuffer.fillBuffer(RecordBuffer.java(Compiled Code))
         at com.sapmarkets.bam.application.RecordBuffer.init(RecordBuffer.java:101)
         at com.sapmarkets.bam.application.MergeEngine.initRecordBuffers(MergeEngine.java:167)
         at com.sapmarkets.bam.application.MergeEngine.getLatest(MergeEngine.java:185)
         at com.sapmarkets.bam.logcontroller.LogQueryBrowser.getLatest(LogQueryBrowser.java:107)
         at com.sapmarkets.bam.logcontroller.jmx.LogControllerFacade.getLatest(LogControllerFacade.java:392)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java(Compiled Code))
         at javax.management.StandardMBean.invoke(StandardMBean.java(Compiled Code))
         at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java(Compiled Code))
         at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java(Compiled Code))
         at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java(Inlined Compiled Code))
         at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java(Compiled Code))
         at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java(Compiled Code))
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java(Compiled Code))
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java(Compiled Code))
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java(Compiled Code))
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java(Compiled Code))
         at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sapmarkets.bam.jmx.connector.AbstractLVServer.invoke(AbstractLVServer.java:149)
         at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java(Compiled Code))
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java(Compiled Code))
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java(Inlined Compiled Code))
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: LogDataSourceException(./log/defaultTrace.trc) Error reading log caused by Error reading log: Error during browsing buffer data (./log/defaultTrace.0.trc)!
         at com.sapmarkets.bam.logcontroller.AbstractBAMLogReader.handleDataSourceException(AbstractBAMLogReader.java(Inlined Compiled Code))
         at com.sapmarkets.bam.logcontroller.AbstractBAMLogReader.createLogRecords(AbstractBAMLogReader.java(Compiled Code))
         at com.sapmarkets.bam.logcontroller.AbstractBAMLogReader$LogRecordReader.readAndConvertRecords(AbstractBAMLogReader.java(Compiled Code))
         at com.sapmarkets.bam.logcontroller.AbstractBAMLogReader.readLatest(AbstractBAMLogReader.java:391)
         at com.sapmarkets.bam.logcontroller.BAMLogReaderRecordSource$1.doRead(BAMLogReaderRecordSource.java:143)
         ... 43 more
    Caused by: com.sap.tc.logging.exceptions.BufferDataException: Error during browsing buffer data (./log/defaultTrace.0.trc)!
         at com.sap.tc.logging.reader.LocalBuffer.readPrevious(LocalBuffer.java(Compiled Code))
         at com.sap.tc.logging.reader.FileReadLog.readPrevious(FileReadLog.java(Compiled Code))
         at com.sap.tc.logging.reader.ReadableLog.readLatestMsgRecords(ReadableLog.java:201)
         at com.sapmarkets.bam.logcontroller.AbstractBAMLogReader$4.doRead(AbstractBAMLogReader.java:387)
         at com.sapmarkets.bam.logcontroller.AbstractBAMLogReader$LogRecordReader.getRecords(AbstractBAMLogReader.java(Inlined Compiled Code))
         ... 46 more
    Caused by: com.sap.tc.logging.exceptions.BufferDataException: Error during browsing buffer data (./log/defaultTrace.0.trc)!
         at com.sap.tc.logging.reader.LocalBuffer.previous(LocalBuffer.java(Compiled Code))
         at com.sap.tc.logging.reader.LocalBuffer.previousLine(LocalBuffer.java(Compiled Code))
         ... 51 more
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 150
         at com.sap.tc.logging.MessageDelimiterBuilder.savePreviousPosition(MessageDelimiterBuilder.java(Compiled Code))
         ... 53 more
    predecessor system -
    com.sap.exception.BaseException: Error reading log
         at com.sapmarkets.bam.logcontroller.BAMLogReaderRecordSource.read(BAMLogReaderRecordSource.java(Compiled Code))
         at com.sapmarkets.bam.logcontroller.BAMLogReaderRecordSource.getLatest(BAMLogReaderRecordSource.java(Inlined Compiled Code))
         at com.sapmarkets.bam.application.RecordBuffer.fillBuffer(RecordBuffer.java(Compiled Code))
         at com.sapmarkets.bam.application.RecordBuffer.init(RecordBuffer.java:101)
         at com.sapmarkets.bam.application.MergeEngine.initRecordBuffers(MergeEngine.java:167)
         at com.sapmarkets.bam.application.MergeEngine.getLatest(MergeEngine.java:185)
         at com.sapmarkets.bam.logcontroller.LogQueryBrowser.getLatest(LogQueryBrowser.java:107)
         at com.sapmarkets.bam.logcontroller.jmx.LogControllerFacade.getLatest(LogControllerFacade.java:392)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java(Compiled Code))
         at javax.management.StandardMBean.invoke(StandardMBean.java(Compiled Code))
         at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java(Compiled Code))
         at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java(Compiled Code))
         at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java(Inlined Compiled Code))
         at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java(Compiled Code))
         at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java(Compiled Code))
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java(Compiled Code))
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java(Compiled Code))
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java(Compiled Code))
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java(Compiled Code))
         at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sapmarkets.bam.jmx.connector.AbstractLVServer.invoke(AbstractLVServer.java:149)
         at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java(Compiled Code))
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java(Compiled Code))
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java(Inlined Compiled Code))
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: LogDataSourceException(./log/defaultTrace.trc) Error reading log caused by Error reading log: Error during browsing buffer data (./log/defaultTrace.0.trc)!
         at com.sapmarkets.bam.logcontroller.AbstractBAMLogReader.handleDataSourceException(AbstractBAMLogReader.java(Inlined Compiled Code))
         at com.sapmarkets.bam.logcontroller.AbstractBAMLogReader.createLogRecords(AbstractBAMLogReader.java(Compiled Code))
         at com.sapmarkets.bam.logcontroller.AbstractBAMLogReader$LogRecordReader.readAndConvertRecords(AbstractBAMLogReader.java(Compiled Code))
         at com.sapmarkets.bam.logcontroller.AbstractBAMLogReader.readLatest(AbstractBAMLogReader.java:391)
         at com.sapmarkets.bam.logcontroller.BAMLogReaderRecordSource$1.doRead(BAMLogReaderRecordSource.java:143)
         ... 43 more
    Caused by: com.sap.tc.logging.exceptions.BufferDataException: Error during browsing buffer data (./log/defaultTrace.0.trc)!
         at com.sap.tc.logging.reader.LocalBuffer.readPrevious(LocalBuffer.java(Compiled Code))
         at com.sap.tc.logging.reader.FileReadLog.readPrevious(FileReadLog.java(Compiled Code))
         at com.sap.tc.logging.reader.ReadableLog.readLatestMsgRecords(ReadableLog.java:201)
         at com.sapmarkets.bam.logcontroller.AbstractBAMLogReader$4.doRead(AbstractBAMLogReader.java:387)
         at com.sapmarkets.bam.logcontroller.AbstractBAMLogReader$LogRecordReader.getRecords(AbstractBAMLogReader.java(Inlined Compiled Code))
         ... 46 more
    Caused by: com.sap.tc.logging.exceptions.BufferDataException: Error during browsing buffer data (./log/defaultTrace.0.trc)!
         at com.sap.tc.logging.reader.LocalBuffer.previous(LocalBuffer.java(Compiled Code))
         at com.sap.tc.logging.reader.LocalBuffer.previousLine(LocalBuffer.java(Compiled Code))
         ... 51 more
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 150
         at com.sap.tc.logging.MessageDelimiterBuilder.savePreviousPosition(MessageDelimiterBuilder.java(Compiled Code))
         ... 53 more
    I tried to solve this problem by restarting the LogViewer service but it didn’t work. Then, I restarted the J2EE Server with the transaction SMICM, open again the Visual Administrator and check the logs with the LogViewer and was working again, but after some time I was getting the same error again.
    Any idea of how to solve this?
    Cheers,
    Mauricio

    Hi All,
    I had same issue trying to edit sat.trc file, I fixed this problem by manual editing sat.trc file and modified the following line:
    <!FORMATTER[com.sap.tc.logging.perf.PerfFormatter]/>
    change to:
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    after changes you will able to open file with Visaul Admin Log Viewer or standalone logviewer.
    Hope it helps.
    Regards

  • [Error] Microsoft SQL Server 2008 Setup. Error reading from file msdbdata.mdf

    Hi all
    I'm trying to install SQL 2008 Express on my Computer: Hp compact DX7300 Slim tower.
    and get this error:
    TITLE: Microsoft SQL Server 2008 Setup
    The following error has occurred:Error reading from file d:\8268cd7b247d294de359c9\x86\setup\sql_engine_core_inst_msi\PFiles\SqlServr\MSSQL.X\MSSQL\Binn\Template\msdbdata.mdf.  Verify that the file exists and that you can access it.
    Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.
    For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.0.1823.0&EvtType=0xF45F6601%25401201%25401
    Log file
    Overall summary:
      Final result:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Exit code (Decimal):           -2068643839
      Exit facility code:            1203
      Exit error code:               1
      Exit message:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Start time:                    2014-12-09 23:22:03
      End time:                      2014-12-09 23:40:28
      Requested action:              Install
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141209_232121\sql_engine_core_inst_Cpu32_1.log
      Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.0.1823.0
    Machine Properties:
      Machine name:                  VISTA-PC
      Machine processor count:       2
      OS version:                    Windows Vista
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x86
      Process architecture:          32 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
    Package properties:
      Description:                   SQL Server Database Services 2008
      SQLProductFamilyCode:          {628F8F38-600E-493D-9946-F4178F20A8A9}
      ProductName:                   SQL2008
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation location:         d:\8268cd7b247d294de359c9\x86\setup\
      Installation edition:          EXPRESS
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      False
      AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Disabled
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASDOMAINGROUP:                 <empty>
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 *****
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141209_232121\ConfigurationFile.ini
      ENABLERANU:                    True
      ERRORREPORTING:                False
      FEATURES:                      SQLENGINE,REPLICATION
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 *****
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    SQLExpress
      INSTANCENAME:                  SQLEXPRESS
      ISSVCACCOUNT:                  NT AUTHORITY\NetworkService
      ISSVCPASSWORD:                 *****
      ISSVCSTARTUPTYPE:              Automatic
      MEDIASOURCE:                   d:\8268cd7b247d294de359c9\
      NPENABLED:                     0
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      RSINSTALLMODE:                 FilesOnlyMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 *****
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  <empty>
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           VISTA-PC\VISTA
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  False
      TCPENABLED:                    0
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141209_232121\ConfigurationFile.ini
    Detailed results:
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141209_232121\SystemConfigurationCheck_Report.htm
    I will very appriciate if someone can help me solve it. I was trying to set Full control for my account in Properties/Security of root folder and try again but error is still.
    Many thanks

    Hi Foreverduy,
    Before you run SQL Server 2008 express setup, make sure that you have installed Windows installer 4.5 and.NET Framework 3.5 SP1 manually. For more information about the process, please refer to the article:
    http://msdn.microsoft.com/en-us/library/ms143506(v=sql.100).aspx. Moreover, please turn off all the third-party softwares which could prohibit the installation process.
    According to your error message, the issue could be due to that your account has no rights to install SQL Server, or the corruption on the media.
    Firstly, please ensure that your account has admin rights. Also make sure that you right-click the setup.exe and choose “Run as administrator” to complete the installation.
    Secondly, please check if "msdbdata.mdf" file exists at d:\8268cd7b247d294de359c9\x86\setup\sql_engine_core_inst_msi\PFiles\SqlServr\MSSQL.X\MSSQL\Binn\Template. If it exists, please make sure that your account has read permission to the extracted
    folder.
    However, if the file doesn't exist in the extraction, the media could be corrupt. Please download the
    media
    again and check if the issue still occurs.
    Regards,
    Michelle Li

Maybe you are looking for

  • Runtime Errors         ITAB_DUPLICATE_KEY ABAP Program           CL_BSP_WD_REPOSITORY==========CP

    We are doing the CRM Upgrade from EHp1 to EHp3 after running the TC: WCF_CC as post upgrade activity Enhancement Set      ZXXX  and UI Component BP_ADDR  i got a short dump while trying to open the views in the component workbench as following What h

  • File sharing with internal IP

    my IP is on an internal network. my friend and i are trying to connect the public folder. i cant get any connection. ive also tried using transmit. help

  • Quartz filter settings for compressing pdf file

    I have used the nominal quartz filter setting (reduce file size) to compress pdf file.  It reduced the file size significantly--but the text resolution was considerably blurred. What is an appropriate setting to reduce pdf file size and not destroy t

  • How to edit song info

    I have always been able to edit song information in I-tunes.  Today, I downloaded a song, and I cannot edit the genre.  I right click on the name of the song, select "get info," and get the page, but the page is sort of faded.  I cannot edit anything

  • Printer disappearing after reboot

    I have several Windows 2008R2 Citrix Xenapp 6.5 servers. I am trying to install a Midmark PDF printer. I can install it fine, but when I reboot the server, it just goes away. Does anybody have any ideas? I have been using the install package from Mid