"number of transferred bytes cannot be negative" in BRMS/BPMS

Solution Unverified - Updated -


  • When building kjar using Maven and trying to deploy it in business-central (New Deployment Unit), it throws below error in GUI.
Deployment of unit xxx.xxx.xxx:XXXX:1.1 failed: number of transferred bytes cannot be negative

In server.log,

10:46:51,630 ERROR [stderr] (FileRepositoryConnector-1) Exception in thread "FileRepositoryConnector-1" java.lang.IllegalArgumentException: number of transferred bytes cannot be negative
10:46:51,631 ERROR [stderr] (FileRepositoryConnector-1)         at org.sonatype.aether.util.listener.DefaultTransferEvent.setTransferredBytes(DefaultTransferEvent.java:123)
10:46:51,631 ERROR [stderr] (FileRepositoryConnector-1)         at org.sonatype.aether.connector.file.FileRepositoryWorker.run(FileRepositoryWorker.java:299)
10:46:51,634 ERROR [stderr] (FileRepositoryConnector-1)         at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
10:46:51,635 ERROR [stderr] (FileRepositoryConnector-1)         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
10:46:51,636 ERROR [stderr] (FileRepositoryConnector-1)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
10:46:51,636 ERROR [stderr] (FileRepositoryConnector-1)         at java.lang.Thread.run(Thread.java:662)

Is it a known issue? When will it be fixed?


  • Red Hat JBoss BPM Suite (BPMS)
    • 6.0.1
  • Red Hat JBoss BRMS (BRMS)
    • 6.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content