brokensheild / appinventor-java-translation

Automatically exported from code.google.com/p/appinventor-java-translation
0 stars 0 forks source link

java.lang.NoSuchMethodException: com.google.de ndroid.HorizontalArrangement.AlignVertical() #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download project source which was build with latest App Inventor version
2. Do everything like the tutorial said
3. Fail

What is the expected output? What do you see instead?
I expected to see no errors and java files in the output map.

What version of the product are you using? On what operating system?
Build 72

Please provide any additional information below.
This is te error:

C:\Users\Mitchell\Downloads>java -jar build-72.jar
256 [AWT-EventQueue-0] INFO org.reflections.Reflections - Reflections took 91 ms
 to scan 1 urls, producing 22 keys and 51 values
383 [AWT-EventQueue-0] INFO org.reflections.Reflections - Reflections took 28 ms
 to scan 1 urls, producing 22 keys and 51 values
423 [AWT-EventQueue-0] INFO org.reflections.Reflections - Reflections took 27 ms
 to scan 1 urls, producing 22 keys and 51 values
java.lang.NoSuchMethodException: com.google.devtools.simple.runtime.components.a
ndroid.HorizontalArrangement.AlignVertical()
        at java.lang.Class.getMethod(Unknown Source)
        at org.translator.java.AppInventorProperties.getParamType(AppInventorPro
perties.java:215)
        at org.translator.java.AppInventorProperties.instantiation(AppInventorPr
operties.java:107)
        at org.translator.java.AppInventorProperties.instantiation(AppInventorPr
operties.java:116)
        at org.translator.java.AppInventorProperties.generateFormBlock(AppInvent
orProperties.java:158)
        at org.translator.java.AppInventorProperties.generateCode(AppInventorPro
perties.java:75)
        at org.translator.java.AppInventorScreen.generateJavaFile(AppInventorScr
een.java:156)
        at org.translator.java.AppInventorProject.generateSource(AppInventorProj
ect.java:354)
        at org.translator.java.AppInventorProject.load(AppInventorProject.java:1
09)
        at org.translator.java.AppInventorProject.load(AppInventorProject.java:6
8)
        at org.translator.java.AppInventorProject.<init>(AppInventorProject.java
:58)
        at org.translator.java.gui.AndroidToJavaForm.btnConvertActionPerformed(A
ndroidToJavaForm.java:204)
        at org.translator.java.gui.AndroidToJavaForm.access$2(AndroidToJavaForm.
java:195)
        at org.translator.java.gui.AndroidToJavaForm$3.actionPerformed(AndroidTo
JavaForm.java:98)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at org.translator.java.AppInventorProperties.getValueString(AppInventorP
roperties.java:224)
        at org.translator.java.AppInventorProperties.instantiation(AppInventorPr
operties.java:108)
        at org.translator.java.AppInventorProperties.instantiation(AppInventorPr
operties.java:116)
        at org.translator.java.AppInventorProperties.generateFormBlock(AppInvent
orProperties.java:158)
        at org.translator.java.AppInventorProperties.generateCode(AppInventorPro
perties.java:75)
        at org.translator.java.AppInventorScreen.generateJavaFile(AppInventorScr
een.java:156)
        at org.translator.java.AppInventorProject.generateSource(AppInventorProj
ect.java:354)
        at org.translator.java.AppInventorProject.load(AppInventorProject.java:1
09)
        at org.translator.java.AppInventorProject.load(AppInventorProject.java:6
8)
        at org.translator.java.AppInventorProject.<init>(AppInventorProject.java
:58)
        at org.translator.java.gui.AndroidToJavaForm.btnConvertActionPerformed(A
ndroidToJavaForm.java:204)
        at org.translator.java.gui.AndroidToJavaForm.access$2(AndroidToJavaForm.
java:195)
        at org.translator.java.gui.AndroidToJavaForm$3.actionPerformed(AndroidTo
JavaForm.java:98)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Original issue reported on code.google.com by MBussch...@gmail.com on 12 Sep 2012 at 3:49

GoogleCodeExporter commented 9 years ago
I forgot my OS. I use Windows 7 64 bit edition.

Original comment by MBussch...@gmail.com on 12 Sep 2012 at 3:50

GoogleCodeExporter commented 9 years ago
Same deal here. Linux

Original comment by christof...@gmail.com on 20 Jan 2013 at 12:04