Re: Having issues with BasicFileAttributes
Jeroen Frijters <[email protected]>
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Lucius,
The first step is to provide a small but complete Java program that reproduces the problem. Also include the relevant information about your environment (e.g. IKVM version, .NET runtime version, operating system, etc.).
It also helps to get the complete stack trace. The easiest way to do this is like this:
try {
... code that reproduces the problem ...
} catch (Throwable x) {
x.printStackTrace();
}
Regards,
Jeroen
> -----Original Message-----
> From: Lucius Junevicus [mailto:[email protected]]
> Sent: Thursday, June 26, 2014 14:38
> To: [email protected]
> Subject: [Ikvm-developers] Having issues with BasicFileAttributes
>
> This code is very cool.
> So far everything looks to be working except when I query
> BasicFileAttributes in java
>
> For example
> BasicFileAttributes attrs
> =Files.readAttributes(path,BasicFileAttributes.class);
>
> attrs.size(); will fail with an error
>
> InvocationTargetException error:null
>
>
> If I could help in any way in troubleshooting this or helping with the
> code, let me know.
>
>
>
>
>
>
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft