google-code-export / gwt-test-utils

Automatically exported from code.google.com/p/gwt-test-utils
1 stars 0 forks source link

java.lang.NullPointerException on GwtReflectionUtils.getPrivateFieldValue #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run ant task from command line.
2.
3.

What is the expected output? What do you see instead?
Test to pass but I get the following:

N/A 

java.lang.NullPointerException
at 
com.googlecode.gwt.test.utils.GwtReflectionUtils.getPrivateFieldValue(GwtReflect
ionUtils.java:298)
at 
com.googlecode.gwt.test.internal.utils.JavaScriptObjects.getJsoProperties(JavaSc
riptObjects.java:319)
at 
com.googlecode.gwt.test.internal.utils.JavaScriptObjects.getJsoProperties(JavaSc
riptObjects.java:337)
at 
com.googlecode.gwt.test.internal.utils.JavaScriptObjects.setProperty(JavaScriptO
bjects.java:310)
at 
com.googlecode.gwt.test.internal.patchers.UIObjectPatcher.setElement(UIObjectPat
cher.java:73)
at com.google.gwt.user.client.ui.UIObject.setElement(UIObject.java)
at com.google.gwt.user.client.ui.Composite.initWidget(Composite.java:150)
at 
com.inwk.estore.gwt.admin.client.customization.checkoutfields.EstoreCheckoutFiel
dsCustomizationView.initializeViewComponents(EstoreCheckoutFieldsCustomizationVi
ew.java:59)
at 
com.inwk.estore.gwt.admin.client.customization.checkoutfields.EstoreCheckoutFiel
dsCustomizationView.<init>(EstoreCheckoutFieldsCustomizationView.java:45)
at 
com.inwk.estore.gwt.admin.client.customization.checkoutfields.EstoreCheckoutFiel
dsCustomizationViewTest$1.<init>(EstoreCheckoutFieldsCustomizationViewTest.java:
91)
at 
com.inwk.estore.gwt.admin.client.customization.checkoutfields.EstoreCheckoutFiel
dsCustomizationViewTest.init(EstoreCheckoutFieldsCustomizationViewTest.java:91)
at 
com.googlecode.gwt.test.internal.runner.AbstractGwtRunner.run(AbstractGwtRunner.
java:40)

Maybe I have one of the wrong jars. One of the previous issues said it was 
fixed but I guess it crept back up again.

What version of the product are you using? On what operating system?
I'm using the latest version on Ubuntu 11.10 32-bit

Please provide any additional information below.
Required jars added

commons-beanutils-1.8.3.jar
htmlparser-1.6.jar
javassist-3.16.1.GA.jar
junit-4.10.jar
slf4j-api-1.6.4.jar
jackson-core-2.0.0.jar
using gwt 2.4

Original issue reported on code.google.com by tdespe...@gmail.com on 9 Apr 2012 at 2:41

GoogleCodeExporter commented 9 years ago
Which version are you using ? This problem should be fixed since 0.38 : 
http://code.google.com/p/gwt-test-utils/issues/detail?id=131

BTW, the htmlparser library is not used anymore by gwt-test-utils

Original comment by gael.laz...@gmail.com on 16 Apr 2012 at 1:43

GoogleCodeExporter commented 9 years ago
Yes that is what I thought. It may be some configuration issues I have yet to 
update. Thanks for the info on htmlparser. I'll update if any other troubles.

Original comment by ty4r...@gmail.com on 16 Apr 2012 at 3:40

GoogleCodeExporter commented 9 years ago

Original comment by gael.laz...@gmail.com on 5 May 2012 at 9:48