You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by HigoFelipe <hi...@gmail.com> on 2014/06/28 00:22:33 UTC

"Empty test plan" when trying to merge

Hi,

I'm having a problem when I try to merge a .jmx file into my test plan, via
JMeter interface: it appears the following error message: "Empty test plan -
see log file". The log file is the following:





2014/06/27 19:19:16 INFO  - jmeter.gui.action.Load: Merging file:
/home/higo/Downloads/apache-jmeter-2.11/shibb.jmx 
2014/06/27 19:19:16 ERROR - jmeter.save.SaveService: Conversion error
com.thoughtworks.xstream.converters.ConversionException: null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : org.apache.jmeter.testelement.WorkBench
required-type       : org.apache.jmeter.testelement.WorkBench
converter-type      : org.apache.jmeter.save.converters.TestElementConverter
path                :
/jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
line number         : 3
class[1]            : org.apache.jorphan.collections.ListedHashTree
converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
------------------------------- : null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : org.apache.jmeter.testelement.WorkBench
required-type       : org.apache.jmeter.testelement.WorkBench
converter-type      : org.apache.jmeter.save.converters.TestElementConverter
path                :
/jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
line number         : 3
class[1]            : org.apache.jorphan.collections.ListedHashTree
converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
-------------------------------
message             : null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : org.apache.jmeter.testelement.WorkBench
required-type       : org.apache.jmeter.testelement.WorkBench
converter-type      : org.apache.jmeter.save.converters.TestElementConverter
path                :
/jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
line number         : 3
class[1]            : org.apache.jorphan.collections.ListedHashTree
converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
-------------------------------
cause-exception     :
com.thoughtworks.xstream.converters.ConversionException
cause-message       : null : null
first-jmeter-class  :
org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:65)
class               : org.apache.jmeter.save.ScriptWrapper
required-type       : org.apache.jmeter.testelement.WorkBench
converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
path                :
/jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
line number         : 3
version             : 2.11 r1554548
------------------------------- 
2014/06/27 19:19:16 WARN  - jmeter.gui.action.Load: Unexpected error
org.apache.jmeter.exceptions.IllegalUserActionException: Empty TestPlan -
see log file
	at org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:174)
	at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:136)
	at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:105)
	at org.apache.jmeter.gui.action.Load.doAction(Load.java:92)
	at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
	at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
	at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)




How can this be fixed?

Cheers,

H.



--
View this message in context: http://jmeter.512774.n5.nabble.com/Empty-test-plan-when-trying-to-merge-tp5720429.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: "Empty test plan" when trying to merge

Posted by Jeff Ohrstrom <jo...@hotmail.com>.
If you do a search for TestElement.test_class you'll find that the file
has only standard JMeter test elements. I found that it's so old it's
incompatible with how JMeter now reads .jmx files (they used to be
written in 'Avalon Format'). 
http://jmeter.apache.org/changes_history.html

Go here and download version 2.3.4 and open the jmx (I did so, and it
opens) then save it, and you can then open with 2.11.  
http://archive.apache.org/dist/jakarta/jmeter/binaries/


On Mon, 2014-06-30 at 17:25 +0400, Александр Илюшкин wrote:
> That's exactly what I tried to tell thank you
> 
> С уважением, Илюшкин Александр.
> 30 июня 2014 г. 11:09 пользователь "Ryabtsev Vladimir" <v....@pflb.ru>
> написал:
> 
> > Your test plan may contain some extra elements: elements from JMeter
> > plug-ins or some custom elements. You should check this and copy additional
> > libs into lib folder of JMeter.
> >
> > -----
> > VR
> >
> >
> > -----Original Message-----
> > From: HigoFelipe [mailto:higofelipe@gmail.com]
> > Sent: Saturday, June 28, 2014 2:23 AM
> > To: jmeter-user@jakarta.apache.org
> > Subject: "Empty test plan" when trying to merge
> >
> > Hi,
> >
> > I'm having a problem when I try to merge a .jmx file into my test plan,
> > via JMeter interface: it appears the following error message: "Empty test
> > plan - see log file". The log file is the following:
> >
> >
> >
> >
> >
> > 2014/06/27 19:19:16 INFO  - jmeter.gui.action.Load: Merging file:
> > /home/higo/Downloads/apache-jmeter-2.11/shibb.jmx
> > 2014/06/27 19:19:16 ERROR - jmeter.save.SaveService: Conversion error
> > com.thoughtworks.xstream.converters.ConversionException: null : null
> > ---- Debugging information ----
> > cause-exception     : java.lang.NullPointerException
> > cause-message       : null
> > class               : org.apache.jmeter.testelement.WorkBench
> > required-type       : org.apache.jmeter.testelement.WorkBench
> > converter-type      :
> > org.apache.jmeter.save.converters.TestElementConverter
> > path                :
> > /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> > line number         : 3
> > class[1]            : org.apache.jorphan.collections.ListedHashTree
> > converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> > ------------------------------- : null : null
> > ---- Debugging information ----
> > cause-exception     : java.lang.NullPointerException
> > cause-message       : null
> > class               : org.apache.jmeter.testelement.WorkBench
> > required-type       : org.apache.jmeter.testelement.WorkBench
> > converter-type      :
> > org.apache.jmeter.save.converters.TestElementConverter
> > path                :
> > /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> > line number         : 3
> > class[1]            : org.apache.jorphan.collections.ListedHashTree
> > converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> > -------------------------------
> > message             : null : null
> > ---- Debugging information ----
> > cause-exception     : java.lang.NullPointerException
> > cause-message       : null
> > class               : org.apache.jmeter.testelement.WorkBench
> > required-type       : org.apache.jmeter.testelement.WorkBench
> > converter-type      :
> > org.apache.jmeter.save.converters.TestElementConverter
> > path                :
> > /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> > line number         : 3
> > class[1]            : org.apache.jorphan.collections.ListedHashTree
> > converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> > -------------------------------
> > cause-exception     :
> > com.thoughtworks.xstream.converters.ConversionException
> > cause-message       : null : null
> > first-jmeter-class  :
> >
> > org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:65)
> > class               : org.apache.jmeter.save.ScriptWrapper
> > required-type       : org.apache.jmeter.testelement.WorkBench
> > converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
> > path                :
> > /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> > line number         : 3
> > version             : 2.11 r1554548
> > -------------------------------
> > 2014/06/27 19:19:16 WARN  - jmeter.gui.action.Load: Unexpected error
> > org.apache.jmeter.exceptions.IllegalUserActionException: Empty TestPlan -
> > see log file
> >         at
> > org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:174)
> >         at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:136)
> >         at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:105)
> >         at org.apache.jmeter.gui.action.Load.doAction(Load.java:92)
> >         at
> >
> > org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
> >         at
> > org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
> >         at
> > org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)
> >         at
> > java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
> >         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
> >         at java.awt.EventQueue.access$200(EventQueue.java:103)
> >         at java.awt.EventQueue$3.run(EventQueue.java:694)
> >         at java.awt.EventQueue$3.run(EventQueue.java:692)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at
> >
> > java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
> >         at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
> >         at
> >
> > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
> >         at
> >
> > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
> >         at
> >
> > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
> >         at
> > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
> >         at
> > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
> >         at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
> >
> >
> >
> >
> > How can this be fixed?
> >
> > Cheers,
> >
> > H.
> >
> >
> >
> > --
> > View this message in context:
> > http://jmeter.512774.n5.nabble.com/Empty-test-plan-when-trying-to-merge-tp5720429.html
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


RE: "Empty test plan" when trying to merge

Posted by Александр Илюшкин <po...@gmail.com>.
That's exactly what I tried to tell thank you

С уважением, Илюшкин Александр.
30 июня 2014 г. 11:09 пользователь "Ryabtsev Vladimir" <v....@pflb.ru>
написал:

> Your test plan may contain some extra elements: elements from JMeter
> plug-ins or some custom elements. You should check this and copy additional
> libs into lib folder of JMeter.
>
> -----
> VR
>
>
> -----Original Message-----
> From: HigoFelipe [mailto:higofelipe@gmail.com]
> Sent: Saturday, June 28, 2014 2:23 AM
> To: jmeter-user@jakarta.apache.org
> Subject: "Empty test plan" when trying to merge
>
> Hi,
>
> I'm having a problem when I try to merge a .jmx file into my test plan,
> via JMeter interface: it appears the following error message: "Empty test
> plan - see log file". The log file is the following:
>
>
>
>
>
> 2014/06/27 19:19:16 INFO  - jmeter.gui.action.Load: Merging file:
> /home/higo/Downloads/apache-jmeter-2.11/shibb.jmx
> 2014/06/27 19:19:16 ERROR - jmeter.save.SaveService: Conversion error
> com.thoughtworks.xstream.converters.ConversionException: null : null
> ---- Debugging information ----
> cause-exception     : java.lang.NullPointerException
> cause-message       : null
> class               : org.apache.jmeter.testelement.WorkBench
> required-type       : org.apache.jmeter.testelement.WorkBench
> converter-type      :
> org.apache.jmeter.save.converters.TestElementConverter
> path                :
> /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> line number         : 3
> class[1]            : org.apache.jorphan.collections.ListedHashTree
> converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> ------------------------------- : null : null
> ---- Debugging information ----
> cause-exception     : java.lang.NullPointerException
> cause-message       : null
> class               : org.apache.jmeter.testelement.WorkBench
> required-type       : org.apache.jmeter.testelement.WorkBench
> converter-type      :
> org.apache.jmeter.save.converters.TestElementConverter
> path                :
> /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> line number         : 3
> class[1]            : org.apache.jorphan.collections.ListedHashTree
> converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> -------------------------------
> message             : null : null
> ---- Debugging information ----
> cause-exception     : java.lang.NullPointerException
> cause-message       : null
> class               : org.apache.jmeter.testelement.WorkBench
> required-type       : org.apache.jmeter.testelement.WorkBench
> converter-type      :
> org.apache.jmeter.save.converters.TestElementConverter
> path                :
> /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> line number         : 3
> class[1]            : org.apache.jorphan.collections.ListedHashTree
> converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> -------------------------------
> cause-exception     :
> com.thoughtworks.xstream.converters.ConversionException
> cause-message       : null : null
> first-jmeter-class  :
>
> org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:65)
> class               : org.apache.jmeter.save.ScriptWrapper
> required-type       : org.apache.jmeter.testelement.WorkBench
> converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
> path                :
> /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> line number         : 3
> version             : 2.11 r1554548
> -------------------------------
> 2014/06/27 19:19:16 WARN  - jmeter.gui.action.Load: Unexpected error
> org.apache.jmeter.exceptions.IllegalUserActionException: Empty TestPlan -
> see log file
>         at
> org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:174)
>         at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:136)
>         at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:105)
>         at org.apache.jmeter.gui.action.Load.doAction(Load.java:92)
>         at
>
> org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
>         at
> org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
>         at
> org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)
>         at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
>         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
>         at java.awt.EventQueue.access$200(EventQueue.java:103)
>         at java.awt.EventQueue$3.run(EventQueue.java:694)
>         at java.awt.EventQueue$3.run(EventQueue.java:692)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
>
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
>         at
>
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
>         at
>
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
>         at
>
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
>
>
>
>
> How can this be fixed?
>
> Cheers,
>
> H.
>
>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Empty-test-plan-when-trying-to-merge-tp5720429.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

RE: "Empty test plan" when trying to merge

Posted by Ryabtsev Vladimir <v....@pflb.ru>.
Your test plan may contain some extra elements: elements from JMeter plug-ins or some custom elements. You should check this and copy additional libs into lib folder of JMeter.

-----
VR


-----Original Message-----
From: HigoFelipe [mailto:higofelipe@gmail.com] 
Sent: Saturday, June 28, 2014 2:23 AM
To: jmeter-user@jakarta.apache.org
Subject: "Empty test plan" when trying to merge

Hi,

I'm having a problem when I try to merge a .jmx file into my test plan, via JMeter interface: it appears the following error message: "Empty test plan - see log file". The log file is the following:





2014/06/27 19:19:16 INFO  - jmeter.gui.action.Load: Merging file:
/home/higo/Downloads/apache-jmeter-2.11/shibb.jmx
2014/06/27 19:19:16 ERROR - jmeter.save.SaveService: Conversion error
com.thoughtworks.xstream.converters.ConversionException: null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : org.apache.jmeter.testelement.WorkBench
required-type       : org.apache.jmeter.testelement.WorkBench
converter-type      : org.apache.jmeter.save.converters.TestElementConverter
path                :
/jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
line number         : 3
class[1]            : org.apache.jorphan.collections.ListedHashTree
converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
------------------------------- : null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : org.apache.jmeter.testelement.WorkBench
required-type       : org.apache.jmeter.testelement.WorkBench
converter-type      : org.apache.jmeter.save.converters.TestElementConverter
path                :
/jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
line number         : 3
class[1]            : org.apache.jorphan.collections.ListedHashTree
converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
-------------------------------
message             : null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : org.apache.jmeter.testelement.WorkBench
required-type       : org.apache.jmeter.testelement.WorkBench
converter-type      : org.apache.jmeter.save.converters.TestElementConverter
path                :
/jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
line number         : 3
class[1]            : org.apache.jorphan.collections.ListedHashTree
converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
-------------------------------
cause-exception     :
com.thoughtworks.xstream.converters.ConversionException
cause-message       : null : null
first-jmeter-class  :
org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:65)
class               : org.apache.jmeter.save.ScriptWrapper
required-type       : org.apache.jmeter.testelement.WorkBench
converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
path                :
/jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
line number         : 3
version             : 2.11 r1554548
-------------------------------
2014/06/27 19:19:16 WARN  - jmeter.gui.action.Load: Unexpected error
org.apache.jmeter.exceptions.IllegalUserActionException: Empty TestPlan - see log file
	at org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:174)
	at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:136)
	at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:105)
	at org.apache.jmeter.gui.action.Load.doAction(Load.java:92)
	at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
	at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
	at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)




How can this be fixed?

Cheers,

H.



--
View this message in context: http://jmeter.512774.n5.nabble.com/Empty-test-plan-when-trying-to-merge-tp5720429.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: "Empty test plan" when trying to merge

Posted by HigoFelipe <hi...@gmail.com>.
I did it, but the version is set on the correct value, "2.1". By the way, I
don't have installed plugins. Here follows the .jmx file, for better
analysis:  shibb.jmx
<http://jmeter.512774.n5.nabble.com/file/n5720433/shibb.jmx>  .



--
View this message in context: http://jmeter.512774.n5.nabble.com/Empty-test-plan-when-trying-to-merge-tp5720429p5720433.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: "Empty test plan" when trying to merge

Posted by Александр Илюшкин <po...@gmail.com>.
Try look inside of this file and search there a version of JMeter where it
was created. I think this happened when difference of versions is too big.
I faced with it on my work when my work mate tried to open my test plan on
his new version of JMeter and mine was old. Also update or downgrade jmeter
plugins module because it can be separate part with its own version number
. I think it's quite definitely what you're looking for

С уважением, Илюшкин Александр.
28 июня 2014 г. 2:40 пользователь "HigoFelipe" <hi...@gmail.com>
написал:

> Александр,
>
> I did it, still doesn't work. Here is the log that appears:
>
>
> 2014/06/27 19:37:01 INFO  - jmeter.gui.action.Load: Merging file:
> /home/higo/Downloads/apache-jmeter-2.11/shibb.jmx
> 2014/06/27 19:37:01 ERROR - jmeter.save.SaveService: Conversion error
> com.thoughtworks.xstream.converters.ConversionException: null : null
> ---- Debugging information ----
> cause-exception     : java.lang.NullPointerException
> cause-message       : null
> class               : org.apache.jmeter.testelement.WorkBench
> required-type       : org.apache.jmeter.testelement.WorkBench
> converter-type      :
> org.apache.jmeter.save.converters.TestElementConverter
> path                :
> /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> line number         : 3
> class[1]            : org.apache.jorphan.collections.ListedHashTree
> converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> ------------------------------- : null : null
> ---- Debugging information ----
> cause-exception     : java.lang.NullPointerException
> cause-message       : null
> class               : org.apache.jmeter.testelement.WorkBench
> required-type       : org.apache.jmeter.testelement.WorkBench
> converter-type      :
> org.apache.jmeter.save.converters.TestElementConverter
> path                :
> /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> line number         : 3
> class[1]            : org.apache.jorphan.collections.ListedHashTree
> converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> -------------------------------
> message             : null : null
> ---- Debugging information ----
> cause-exception     : java.lang.NullPointerException
> cause-message       : null
> class               : org.apache.jmeter.testelement.WorkBench
> required-type       : org.apache.jmeter.testelement.WorkBench
> converter-type      :
> org.apache.jmeter.save.converters.TestElementConverter
> path                :
> /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> line number         : 3
> class[1]            : org.apache.jorphan.collections.ListedHashTree
> converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> -------------------------------
> cause-exception     :
> com.thoughtworks.xstream.converters.ConversionException
> cause-message       : null : null
> first-jmeter-class  :
>
> org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:65)
> class               : org.apache.jmeter.save.ScriptWrapper
> required-type       : org.apache.jmeter.testelement.WorkBench
> converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
> path                :
> /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> line number         : 3
> version             : 2.11 r1554548
> -------------------------------
> 2014/06/27 19:37:01 WARN  - jmeter.gui.action.Load: Unexpected error
> org.apache.jmeter.exceptions.IllegalUserActionException: Empty TestPlan -
> see log file
>         at
> org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:174)
>         at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:136)
>         at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:105)
>         at org.apache.jmeter.gui.action.Load.doAction(Load.java:92)
>         at
>
> org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
>         at
> org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
>         at
> org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)
>         at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
>         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
>         at java.awt.EventQueue.access$200(EventQueue.java:103)
>         at java.awt.EventQueue$3.run(EventQueue.java:694)
>         at java.awt.EventQueue$3.run(EventQueue.java:692)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
>
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
>         at
>
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
>         at
>
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
>         at
>
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
>
>
>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Empty-test-plan-when-trying-to-merge-tp5720429p5720431.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Re: "Empty test plan" when trying to merge

Posted by HigoFelipe <hi...@gmail.com>.
Александр,

I did it, still doesn't work. Here is the log that appears:


2014/06/27 19:37:01 INFO  - jmeter.gui.action.Load: Merging file:
/home/higo/Downloads/apache-jmeter-2.11/shibb.jmx 
2014/06/27 19:37:01 ERROR - jmeter.save.SaveService: Conversion error
com.thoughtworks.xstream.converters.ConversionException: null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : org.apache.jmeter.testelement.WorkBench
required-type       : org.apache.jmeter.testelement.WorkBench
converter-type      : org.apache.jmeter.save.converters.TestElementConverter
path                :
/jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
line number         : 3
class[1]            : org.apache.jorphan.collections.ListedHashTree
converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
------------------------------- : null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : org.apache.jmeter.testelement.WorkBench
required-type       : org.apache.jmeter.testelement.WorkBench
converter-type      : org.apache.jmeter.save.converters.TestElementConverter
path                :
/jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
line number         : 3
class[1]            : org.apache.jorphan.collections.ListedHashTree
converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
-------------------------------
message             : null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : org.apache.jmeter.testelement.WorkBench
required-type       : org.apache.jmeter.testelement.WorkBench
converter-type      : org.apache.jmeter.save.converters.TestElementConverter
path                :
/jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
line number         : 3
class[1]            : org.apache.jorphan.collections.ListedHashTree
converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
-------------------------------
cause-exception     :
com.thoughtworks.xstream.converters.ConversionException
cause-message       : null : null
first-jmeter-class  :
org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:65)
class               : org.apache.jmeter.save.ScriptWrapper
required-type       : org.apache.jmeter.testelement.WorkBench
converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
path                :
/jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
line number         : 3
version             : 2.11 r1554548
------------------------------- 
2014/06/27 19:37:01 WARN  - jmeter.gui.action.Load: Unexpected error
org.apache.jmeter.exceptions.IllegalUserActionException: Empty TestPlan -
see log file
	at org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:174)
	at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:136)
	at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:105)
	at org.apache.jmeter.gui.action.Load.doAction(Load.java:92)
	at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
	at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
	at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)




--
View this message in context: http://jmeter.512774.n5.nabble.com/Empty-test-plan-when-trying-to-merge-tp5720429p5720431.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: "Empty test plan" when trying to merge

Posted by Александр Илюшкин <po...@gmail.com>.
Can you check file permissions?
Try to chmod 777 yourfile

С уважением, Илюшкин Александр.
28 июня 2014 г. 2:23 пользователь "HigoFelipe" <hi...@gmail.com>
написал:

> Hi,
>
> I'm having a problem when I try to merge a .jmx file into my test plan, via
> JMeter interface: it appears the following error message: "Empty test plan
> -
> see log file". The log file is the following:
>
>
>
>
>
> 2014/06/27 19:19:16 INFO  - jmeter.gui.action.Load: Merging file:
> /home/higo/Downloads/apache-jmeter-2.11/shibb.jmx
> 2014/06/27 19:19:16 ERROR - jmeter.save.SaveService: Conversion error
> com.thoughtworks.xstream.converters.ConversionException: null : null
> ---- Debugging information ----
> cause-exception     : java.lang.NullPointerException
> cause-message       : null
> class               : org.apache.jmeter.testelement.WorkBench
> required-type       : org.apache.jmeter.testelement.WorkBench
> converter-type      :
> org.apache.jmeter.save.converters.TestElementConverter
> path                :
> /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> line number         : 3
> class[1]            : org.apache.jorphan.collections.ListedHashTree
> converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> ------------------------------- : null : null
> ---- Debugging information ----
> cause-exception     : java.lang.NullPointerException
> cause-message       : null
> class               : org.apache.jmeter.testelement.WorkBench
> required-type       : org.apache.jmeter.testelement.WorkBench
> converter-type      :
> org.apache.jmeter.save.converters.TestElementConverter
> path                :
> /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> line number         : 3
> class[1]            : org.apache.jorphan.collections.ListedHashTree
> converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> -------------------------------
> message             : null : null
> ---- Debugging information ----
> cause-exception     : java.lang.NullPointerException
> cause-message       : null
> class               : org.apache.jmeter.testelement.WorkBench
> required-type       : org.apache.jmeter.testelement.WorkBench
> converter-type      :
> org.apache.jmeter.save.converters.TestElementConverter
> path                :
> /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> line number         : 3
> class[1]            : org.apache.jorphan.collections.ListedHashTree
> converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> -------------------------------
> cause-exception     :
> com.thoughtworks.xstream.converters.ConversionException
> cause-message       : null : null
> first-jmeter-class  :
>
> org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:65)
> class               : org.apache.jmeter.save.ScriptWrapper
> required-type       : org.apache.jmeter.testelement.WorkBench
> converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
> path                :
> /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> line number         : 3
> version             : 2.11 r1554548
> -------------------------------
> 2014/06/27 19:19:16 WARN  - jmeter.gui.action.Load: Unexpected error
> org.apache.jmeter.exceptions.IllegalUserActionException: Empty TestPlan -
> see log file
>         at
> org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:174)
>         at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:136)
>         at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:105)
>         at org.apache.jmeter.gui.action.Load.doAction(Load.java:92)
>         at
>
> org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
>         at
> org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
>         at
> org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)
>         at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
>         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
>         at java.awt.EventQueue.access$200(EventQueue.java:103)
>         at java.awt.EventQueue$3.run(EventQueue.java:694)
>         at java.awt.EventQueue$3.run(EventQueue.java:692)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
>
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
>         at
>
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
>         at
>
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
>         at
>
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
>
>
>
>
> How can this be fixed?
>
> Cheers,
>
> H.
>
>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Empty-test-plan-when-trying-to-merge-tp5720429.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>