Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bug Alice 2.2
Old
neowold
Junior Member
 
Status: Offline
Posts: 5
Join Date: Jan 2012
Exclamation Bug Alice 2.2 - 01-21-2012, 10:49 AM

Bug: can make a copy of a specific line.

Code:
Error encountered while responding to popup menu item.

Alice version: 2.2  12/01/2011
Throwable that caused the error:
edu.cmu.cs.stage3.alice.core.IllegalPropertyValueException: Cannot set property b on edu.cmu.cs.stage3.alice.core.question.StringConcatQuestion[__Unnamed0__.__Unnamed0__.__Unnamed0__].  class java.lang.String is not assignable from class java.lang.Object
	at edu.cmu.cs.stage3.alice.core.Property.checkValueType(Property.java:269)
	at edu.cmu.cs.stage3.alice.core.Property.set(Property.java:453)
	at edu.cmu.cs.stage3.alice.core.reference.PropertyReference.resolve(PropertyReference.java:52)
	at edu.cmu.cs.stage3.alice.core.CopyFactory$ElementCapsule.manufacture(CopyFactory.java:299)
	at edu.cmu.cs.stage3.alice.core.CopyFactory$ElementCapsule.access$1(CopyFactory.java:272)
	at edu.cmu.cs.stage3.alice.core.CopyFactory.manufactureCopy(CopyFactory.java:352)
	at edu.cmu.cs.stage3.alice.core.CopyFactory.manufactureCopy(CopyFactory.java:362)
	at edu.cmu.cs.stage3.alice.core.Element.HACK_createCopy(Element.java:1296)
	at edu.cmu.cs.stage3.alice.authoringtool.util.ElementPopupUtilities$MakeCopyRunnable.run(ElementPopupUtilities.java:570)
	at edu.cmu.cs.stage3.alice.authoringtool.util.PopupMenuItemActionListener.actionPerformed(PopupMenuUtilities.java:2644)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
	at edu.cmu.cs.stage3.alice.authoringtool.util.AliceMenuItemUI$MouseInputHandler.mouseReleased(AliceMenuItemUI.java:48)
	at java.awt.Component.processMouseEvent(Component.java:6288)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6053)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4651)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4481)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Component.dispatchEvent(Component.java:4481)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
	at java.awt.EventQueue.access$000(EventQueue.java:84)
	at java.awt.EventQueue$1.run(EventQueue.java:602)
	at java.awt.EventQueue$1.run(EventQueue.java:600)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
	at java.awt.EventQueue$2.run(EventQueue.java:616)
	at java.awt.EventQueue$2.run(EventQueue.java:614)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Attached Images
File Type: jpg Bug1.jpg (97.9 KB, 18 views)
   
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.