例外:“其中一个HTTP标头的值格式不正确”

时间:2012-04-12 13:42:34

标签: java windows eclipse azure azure-storage

大家好我有问题....我已经创建了一个队列,但我需要创建另一个队列,所以我写了这段代码:

CloudStorageAccount storageAccount =
CloudStorageAccount.parse (storageConnectionString);
CoudQueueClient queueClient1= storageAccount.createCloudQueueClient();
Cloud Queue queue1 =queueClient1.getQueueReference("my-queue");
queue1.createIfNotExist ();

我称之为“myqueue”的第一个队列,而这个新的我称为“my-queue”但是当你运行这段代码时:

queue1.createIfNotExist();

抛出的异常是The value for one of the HTTP headers is not in the correct format ....有谁知道告诉我为什么?

0 个答案:

没有答案