- edited description
- attached filetransfer.tiff
FileTransferManager -> WARNING: null
don'n work:
xmppSession.getManager(FileTransferManager.class).addFileTransferOfferListener(event -> {
try {
final FileTransfer fileTransfer = event.accept(Paths.get(event.getName()));
} catch (IOException e) {
e.printStackTrace();
}
});
rocks.xmpp.extensions.filetransfer.FileTransferManager$2 run WARNING: null java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203)
Comments (8)
-
Account Deleted -
Account Deleted - attached filetransfer.jpg
-
Account Deleted Problem in rocks.xmpp.extensions/si/model/StreamInitiation.java: Objects.requireNonNull(profileElement);
public StreamInitiation(String id, String profile, String mimeType, Object profileElement, FeatureNegotiation featureNegotiation) { this.id = id; this.profile = profile; this.mimeType = mimeType; this.profileElement = Objects.requireNonNull(profileElement); this.featureNegotiation = featureNegotiation; }
-
Account Deleted I saw that you've fixed it in the source code :) when will version 0.6 in maven central? or 0.5.2 with bugfix?
-
repo owner Hi,
sorry, for the bug... I can't really tell you when a new release will happen. "It's done, when it's done" ;-) I've just released 0.5.1 (3 days ago), so I'd wait for a potential 0.5.2 (if at all, when I get many more complains/bug reports.
0.6.0 probably takes some time as well (maybe 1-2 months).
I've added a new integration test to be more safe about bugs like this: c9941cd419fd88da8279d30774aae58d72c93fe0
-
repo owner I've released a snapshot 0.6.0 version to Maven snapshot repository, for testing, if it helps you. https://oss.sonatype.org/content/repositories/snapshots/rocks/xmpp/
-
repo owner - changed status to resolved
Resolved with version 0.6.0
-
repo owner - changed status to closed
- Log in to comment