runtime-error

hitTestObject collision detection not working in as3!

I am trying to create a platformer game and i am trying to make "player1" stop when it hits a "platform". here is my code so far, gotoAndStop("gameStart"); import flash.display.MovieClip; import flash.events.*; import flash.ui.Keyboard; import flash.ui.*; import flash.utils.Timer; import flash.events.TimerEvent; player1.gotoAndS...

Runtime error codes on AsyncPostback from AJAX toolkit

I'm interested in the meaning of the runtime error codes come from asp.net ajax like. 110|error|500|d:\ *PATH* \SomeControl.ascx(5): error CS1026: ) expected| Does anybody knows where are can i find list of error codes with the meanings or has someone a collection? Maybe it's a very general error i will figure out nothing from it but...

Intermittent Runtime Error in IE7: Occurred at line 0, Object required? Huh?

A site I am working on displays an intermittent runtime error but only in IE7 and 8. This error will appear almost randomly (like, it may pop up on initial page load one time or it may not pop up until the nth page load). The error says it occurred at line:0 and the error is "Object required". I'm using jQuery throughout the site but di...

Java NullPointerException

I'm writing two classes to handle simple auctions. I have a class ready and working, which handles the operations for a single auction, and now I'm writing another class like an auction house, to keep track of all the auctions available. When testing the following part of the class: import java.util.ArrayList; public class AuctionHouse...

Spawning more than one thread in Python causes RuntimeError

I'm trying to add multithreading to a Python app, and thus started with some toy examples : import threading def myfunc(arg1, arg2): print 'In thread' print 'args are', arg1, arg2 thread = threading.Thread(target=myfunc, args=('asdf', 'jkle')) thread.start() thread.join() This works beautifully, but as soon as I try to st...

Excel VBA 424 Object Required Runtime Error

As an exercise, I'm trying to set all the values in the range A1:V35 to "omg". The following code produces an error: Sub ktr() Dim colIndex As Integer Dim rowIndex As Integer Dim dataRange As Range Set dataRange = Range("A1:V35") Cells(1, 1) = dataRange.Columns.Count For colIndex = 1 To dataRange.Columns.Cou...

printf((char *) i); runtime error? (i as integer)

In a for loop, I am trying to use printf to print the current i value. This line: printf((char *) i); is giving me runtime errors. Why is this?! Below is a quick fizzbuzz solution that is doing this: void FizzBuzz() { for (int i = 0; i < 20; i++) { printf((char *)i); if ((i % 3 == 0) && (i % 5 == 0)) { pr...

Problematic Wicket RuntimeException

I'm having trouble pinning down the cause of a RuntimeException in a Wicket application. I've set numerous breakpoints, but none are firing when I submit my form, only when the form is loading. Here's the stack: WicketMessage: No get method defined for class: class this.is.my.class.WicketDocumentModel expression: DocumentUpload ...

Error 3709 in VBA/macros

A runtime error of 3709 keeps popping up when I run this part of the program. Does anyone know what I can do to fix it? Public cn As New ADODB.Connection Public rs As New ADODB.Recordset Public CustomerID As Integer Public CustFirstName As String Public CustLastName As String Sub GetCustomerList() Dim strSQL As String Di...

NoClassDefFoundError: javax/swing/GroupLayout$Group on Mac Computer

I am having a runtime error ONLY when I test my Java program on a mac computer. It tests perfectly fine on various Windows operating systems. This is the error message I get on a Mac computer... Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group at project.MainPanel.calculateButton...

Challenging Runtime Error when calling Native Code from Managed Code

First_Layer I have a win32 dll written in VC++6 service pack 6. Let's call this dll as FirstLayer. I do not have access to FirstLayer's source code but I need to call it from managed code. The problem is that FirstLayer makes heavy use of std::vector and std::string and there is no way of marshaling these types into a C# application dir...

Foundations of F# example code does not compile, why?

I am reading the Foundations of F# by Robert pickering. When I try to run the first example in the book (below) I am getting a runtime error at function print, "Unable to parse format string 'Missing format specifier'" #mytestapp let message = "Hello World\r\n\t!" let dir = @"c:\projects" let bytes = "bytesbytesbytes"B let xA = 0x...

Disable Microsoft Visual C++ Runtime Error

If my application crashes, a Microsoft Visual C++ Runtime Library "Runtime Error!" occurs. The text of the message is: This applicaton has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more information. I know, that I need to solve all these issues, but I imagine that this error...

Xcode STL C++ Debug compile error

I have some file writing code that works as expected, but prints an error on Debug mode, no output errors in Release. Code: #include <iostream> #include <string> #include <fstream> #include <sstream> using namespace std; int main (int argc, char * const argv[]) { string cppfilename; std::cout << "Please enter the filename to...

What causes this error? "Runtime error 380: Invalid property value"

Hi all we had developed an application using vb6.0 and SQL server 2000 a few years ago. recently, some of our customers tell us that while running the application, on some of computers which use Winxp sp2 as their O/S, they get the following error when they want to show the search form: "Runtime error 380: Invalid property value" What...

What causes java.lang.IncompatibleClassChangeError?

For some reason our java library that we package as a jar is throwing all of these java.lang.IncompatibleClassChangeError when we try to invoke methods from it. It seems to be seemingly random. What would cause this error? ...

iPhone - array lost between appDidBecomeActive: and run loop starting?

EDIT: I stuck in a single call to manually retain the array right after initializing it, and that fixed it. Dur. Thanks. I keep an NSMutableArray in a UIScrollView subclass, and I add to it instances of a UIImageView subclass as each is added as a subview. It needs to be a mutable array, as I plan to rearrange their order in the array e...

Assembly loading problem

I have an assembly loading problem that's cropping up when I convert from Vista (32bit) to Windows 7 (32bit). It occurs when I try to load some very old Sybase ASE ADO.NET data provider DLLS. The log from the fusion log viewer shows this: *** Assembly Binder Log Entry (18/01/2010 @ 5:00:38 PM) *** The operation failed. Bind resu...

How to figure out what caused runtime error on IPhone App?

In Xcode, say you write an app for the iphone and it has a runtime error in it. What I've been seeing is that it just closes out the program in the simulator but doesn't really hilight or give me any feedback as to what line caused the crash... am I missing something?? Note: I don't consider the console to be very effective since it jus...

How do I use LAPACK in a Visual Studio 2008 project using Armadillo

I'm trying to use an open source library http://arma.sourceforge.net for linear algebra calculations. Some of the functions in Armadillo like pinv use LAPACK. I've written a very simple piece of code to use Armadillo to calculate pinv, but it produces a runtime error. This is probably because I do not have LAPACK linker flags in the sln ...