[jcifs] jcifs crashes on apache harmony JVM

Maxim Suponya maxim.suponya at qbe.com
Wed Apr 15 03:20:38 GMT 2009


I'm getting this exception when running my application that uses jcifs on 
Apache Harmony 5.0M9 JRE:

jcifs.smb.SmbException: Incorrect function.
        at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:542)
        at jcifs.smb.SmbTransport.send(SmbTransport.java:644)
        at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:372)
        at jcifs.smb.SmbSession.send(SmbSession.java:235)
        at jcifs.smb.SmbTree.treeConnect(SmbTree.java:161)
        at jcifs.smb.SmbFile.doConnect(SmbFile.java:857)
        at jcifs.smb.SmbFile.connect(SmbFile.java:897)
        at jcifs.smb.SmbFile.connect0(SmbFile.java:826)
        at jcifs.smb.SmbFile.exists(SmbFile.java:1359)

While the same application runs just fine on Sun's JVM.

Has anybody had a similar issue? Is there any way I can get around this? I 
must use an opensource JVM so I could bond it together with my application 
so Sun's JRE is not an option.


- ----------------
IMPORTANT NOTICE : The information in this email is confidential and may also be privileged. If you are not the intended recipient, any use or dissemination of the information and any disclosure or copying of this email is unauthorised and strictly prohibited. If you have received this email in error, please promptly inform us by reply email or telephone. You should also delete this email and destroy any hard copies produced.
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list