Error in RunTime but not in IDE?

with the following code snippet from ReadFromOra
Dim ConOra As OracleConnection = New OracleConnection()
ConOra.ConnectionString = "User Id=USER;Password=PASSWORD;Data
Source=orcl9i;"
Dim Sql As String = "select * from CCO_MOTD order by ID "
Dim cmd As OracleCommand = New OracleCommand(Sql)
cmd.Connection = ConOra
cmd.CommandType = CommandType.Text
' Execute command, create OracleDataReader object
Dim reader As OracleDataReader = cmd.ExecuteReader()
While (reader.Read())
Message(reader.GetDecimal(12)) = reader.GetString(0)
MaxMessage = reader.GetDecimal(12)
Console.WriteLine("MSG: " + Message(MaxMessage))
End While
cmd.Dispose()
and the exception text:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an
object.
at MOTD.Module1.ReadFromOra() in C:\Documents and Settings\wellss\My
Documents\Visual Studio Projects\WindowsApplication2\Module1.vb:line 33
at MOTD.FrmMOTD.FrmMOTD_Load(Object sender, EventArgs e) in C:\Documents
and Settings\wellss\My Documents\Visual Studio
Projects\WindowsApplication2\FORMMOTD.vb:line 143
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
Everyone runs happy and fine in the IDE. When I create the install files, or run the .exe, it throws a 'Object reference not set to an instance of an object' error at the While(reader.Read()). This happens on other systems as well as my own. I've checked to make sure that reader isn't 'Nothing' before the read.
An interesting note, when running the exe file on a coworkers machine, who's setup is the same as mine (same version of .NET framework, same version of VS.NET and same version of Oracle's ODP.NET) - things run just fine when running the .exe file.
Where do I go from here, is this a known issue, help ?
Thanks much in advance...
Stu
(posted this in the microsoft.public.dotnet.languages.vb newsgroup, posting here as well per one of the suggestions).

Arnold,
I checked the security settings and confirmed that they are not turned off. Are there other settings that would cause this?
thanks!
Stu

Similar Messages

  • D2kWutil error at runtime, but not in Forms Developer

    Hi,
    I need 'Form on top as SDI' (C/S 6.0.8.) and it works on my WNT machine stabil, also at runtime:
    W-N-F-I Trigger
    OnTop.Window_On_Top('WINDOW1');
    On my WXP machine the same code
    The runtime start with usesdi=NO is OK, but not with usesdi=YES :
    there is a error: 'FRM 06503: PL/SQL Function returned without value.'
    Here is a debug-log from the error run:
    <00> SetDebug: Logging to File chk-debug-new.log
    <99> Win_API(init): Searching For DLL (D2KWUT60.DLL)
    <99> Win_API(init): Preload location not set
    <99> Win_API(init): DLL loaded from D2KWUTIL60_PATH (d:\orawork\d2kwut60\)
    <99> Win_API(init): DLL Found and Loaded
    <99> PreLoad: Args: (None)
    <99> DLLVersion: Args: <No Arguments>
    <99> Register_Function_Call: Ftn="d2kwutil_Version", DLL Count=1, Initial Reg
    <99> DLLVersion: Result: Version=D2KWUT60.DLL Version 6.0.6.0 Production
    <99> Play_Wav: Args: FileName="SystemStart", Asynchronous=TRUE, RaiseExceptions=FALSE
    <99> Register_Function_Call: Ftn="d2kwutil_PlaySound", DLL Count=1, Initial Reg
    <99> Play_WAV: Result: RC=1
    <99> Get_Parent_Window: Args: Window_Handle =198416, Recursive=TRUE, RaiseExceptions=FALSE
    <99> Register_Function_Call: Ftn="d2kwutil_ParentWin", DLL Count=1, Initial Reg
    <99> Get_Parent_Window: Result: RC=0
    <99> Add_Error: Get_Parent_Window: Unable to obtain parent window handle
    <99> Get_Parent_Window: Args: Window_Handle =329460, Recursive=TRUE, RaiseExceptions=FALSE
    <99> Get_Parent_Window: Result: RC=0
    <99> Add_Error: Get_Parent_Window: Unable to obtain parent window handle
    <99> Get_Parent_Window: Args: Window_Handle =329460, Recursive=TRUE, RaiseExceptions=FALSE
    <99> Get_Parent_Window: Result: RC=0
    <99> Add_Error: Get_Parent_Window: Unable to obtain parent window handle
    The ok debug:
    <00> SetDebug: Logging to File chk-debug-new.log
    <99> Win_API(init): Searching For DLL (D2KWUT60.DLL)
    <99> Win_API(init): Preload location not set
    <99> Win_API(init): DLL loaded from D2KWUTIL60_PATH (d:\orawork\d2kwut60\)
    <99> Win_API(init): DLL Found and Loaded
    <99> PreLoad: Args: (None)
    <99> DLLVersion: Args: <No Arguments>
    <99> Register_Function_Call: Ftn="d2kwutil_Version", DLL Count=1, Initial Reg
    <99> DLLVersion: Result: Version=D2KWUT60.DLL Version 6.0.6.0 Production
    <99> Play_Wav: Args: FileName="SystemStart", Asynchronous=TRUE, RaiseExceptions=FALSE
    <99> Register_Function_Call: Ftn="d2kwutil_PlaySound", DLL Count=1, Initial Reg
    <99> Play_WAV: Result: RC=1
    <99> Get_Parent_Window: Args: Window_Handle =526002, Recursive=TRUE, RaiseExceptions=FALSE
    <99> Register_Function_Call: Ftn="d2kwutil_ParentWin", DLL Count=1, Initial Reg
    <99> Get_Parent_Window: Result: RC=198372
    What is wrong?
    Best Regards
    Friedhold

    Hi Duncan,
    thank you for the tip:
    I've modified the OnTop Package and it works fine
    in SDI-mode (the Form is permanent on top!):
    PROCEDURE Window_On_Top (Window_Name IN WINDOW) is
    hWnd PLS_INTEGER;
    hParent PLS_INTEGER;
    iRC PLS_INTEGER;
    BEGIN
    hWnd := to_number(get_window_property(Window_Name,WINDOW_HANDLE));
    ------- hParent := win_api_utility.get_parent_window(hWnd,TRUE,FALSE);
    ------- if hParent <> 0 then
    ------- hWnd := hParent;
    ------- end if;
    iRC := i_SetwindowPos(fh_SetWindowPos,hwnd,-1,0,0,0,0,19);
    END;
    Best Regards
    Friedhold

  • SpryHiddenRegion error in IE7 but not FireFox

    Here is a copy of the code and the errors I get. Does anyone
    have any ideas why this would happen in IE only?
    <div spry:region='dsPages' class="SpryHiddenRegion"
    style="height:350px; overflow:auto;">
    <div spry:state='loading'>Loading data...</div>
    <div spry:state='error'>Failed to load
    data.</div>
    <table spry:state='ready' class="mylist">
    <tr id="top">
    <th onClick="dsPages.sort('id');">ID</th>
    <th onClick="dsPages.sort('name');">NAME</th>
    </tr>
    <tbody spry:repeatchildren='dsPages'
    spry:choose="choose">
    <tr spry:when="{id} == selectedID"
    class="SelectedLastClass" id="{ds_RowID}"
    onClick="dsPages.setCurrentRow('{ds_RowID}');pagesSelect({id});"
    spry:hover='HoverClass' spry:select='SelectedClass'>
    <td>{id}  </td>
    <td>{name}  </td>
    </tr>
    <tr spry:default="default" id="{ds_RowID}"
    onClick="dsPages.setCurrentRow('{ds_RowID}');pagesSelect({id});"
    spry:hover='HoverClass' spry:select='SelectedClass'>
    <td>{id}  </td>
    <td>{name}  </td>
    </tr>
    </tbody>
    </table>
    </div>
    ERROR:
    expected ':'
    and
    Spry.Data.updateRegion(spryregion1) caught an exception:
    [object Error]
    Thanks for your help.
    Jim

    i have reduced the code to the following:
    <script type="text/javascript">
    dsPages = new
    Spry.Data.XMLDataSet('views/pages/getdata_pages.cfm',
    '/dataset/row', {useCache: false});
    </script>
    <div spry:region='dsPages' class="SpryHiddenRegion"
    style="height:350px; overflow:auto;">
    <div spry:state='loading'>Loading data...</div>
    <div spry:state='error'>Failed to load
    data.</div>
    <table spry:state='ready' class="mylist">
    </table>
    </div>
    and i get the following error in IE but not FireFox:
    Spry.Data.updateRegion(spryregion1) caught an exception:
    [object Error]

  • Error in Solaris but not in Windows

    I have an application that is reading from a database, cleaning the results of all html tags, and writing to a new database. It all works fine on a Windows machine with jdk1.3. However, it throws the error I have attached to the message on the Solaris box. It has to do with the html cleaning. When I take it out, it works on both machines. Why though. Here is the code for the html cleaning and the error: 5 Dukes to whoever can help.
    Code:
          * Removes the html formatting for a string and stores it in a file
          * @return java.lang.String
          * @param htmlText java.lang.String
          * @param outputText java.lang.String
         public static String removeHtml(String htmlText) throws IOException     
              String returnValue = "";
              EditorKit kit = new HTMLEditorKit();          
              Document doc = kit.createDefaultDocument();          
              // The Document class does not yet handle charset's properly.          
              doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);          
              try          
                   // Create a reader on the HTML content.     
                   Reader rd = new StringReader(htmlText);
                   // Parse the HTML.               
                   kit.read(rd, doc, 0);               
                   //Write the cleaned text to file
                   //writeOutputFile(doc, outputFile);     
                   //Set returnValue to cleaned text
                   returnValue = doc.getText(0, doc.getLength()).toString();
              catch (Exception e)          
                   e.printStackTrace();          
              return returnValue;
         }Error:
    java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:142)
    at java.awt.Toolkit$2.run(Toolkit.java:533)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:524)
    at java.awt.Toolkit.getEventQueue(Toolkit.java:1179)
    at java.awt.EventQueue.isDispatchThread(EventQueue.java:534)
    at javax.swing.text.StyleContext.reclaim(StyleContext.java(Compiled Code))
    at javax.swing.text.StyleContext.reclaim(StyleContext.java(Compiled Code))
    at javax.swing.text.AbstractDocument$AbstractElement.finalize(AbstractDocument.java(Compiled Code))
    at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
    at java.lang.ref.Finalizer.runFinalizer(Finalizer.java(Compiled Code))
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java(Compiled C

    Here is the code where I am calling the html cleaner method. This works fine in a Windows env but fails in Solaris. If I comment out the call to removeHtml(value).trim it will work. It will even work if I make a different call removeHtml("string to strip") from the main method. Why would it work in one place but not the other in Solaris, and why would it always work in Windows? Does anybody have any ideas?
               while (rs.next ()) {
                    for (int i = 1; i <= columnCount; ++i) {
                        String value = rs.getString (i);
                        if (rs.wasNull ()){
                            value = "<null>";
                        String columnName = rsmd.getColumnName(i).trim();
                        if(clean&&(columnName.equalsIgnoreCase("DESC")
                                  ||columnName.equalsIgnoreCase("HEADER")
                                  ||columnName.equalsIgnoreCase("TEXT")))
                             //Clean the text
                             //value = removeHtml(value).trim(); //remove html markup
                             value = value.replace('\n', ','); //remove new lines
                             value = value.replace('\r', ','); //remove carriage returns
                             value = replaceString(value, "&mdash", "-"); //remove dash markup
                           outputBuffer.append (value.trim());                      
                        outputBuffer.append ("||");
                    outputBuffer.append ("{{NEWLINE}}");
                }

  • Insert BLOB error in IAS but not in JDeveloper

    Hi
    Our application have a Servlet who executes an INSERT using a PrepareStatement (created by the Transaction of an ApplciationModule)
    In Jdeveloper (10.1.2) this works OK
    But when deploy it in the IAS (904) we have an error:
    java.sql.SQLException: Io exception: Connection reset
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2094)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1986)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2697)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:457)
    at com.asorco.sgie.controller.servlets.general.Archivo.uploadFile(Archivo.java:176)
    at com.asorco.sgie.controller.servlets.general.Archivo.doPost(Archivo.java:118)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:733)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.ja
    va:192)
    at java.lang.Thread.run(Thread.java:534)
    In the IAS, Im using the jars used in JDeveloper (classes12.jar, classes12dms.jar, nls_classes12.jar).
    Any knows the reason?
    Thank you!

              The effect to use <jsp:forward> or RequestDispatcher.forward is different between
              BEA and Tomcat (even Websphere). Weblogic stores the output in a buffer, before
              the buffer reaches the limit, you can call those forward methods without obvious
              problems. Tomcat (and Websphere I ever tested) is not so tolerable. If you have
              send out something via Servlet writer or JSPWriter, or have something like HTML
              tags/text before forwards, chances are big to encounter the exceptions you have.
              So I use more include methods to assemble my JSPs and servlets, for the purpose
              of portability.
              "Aidan Monroe" <[email protected]> wrote:
              >
              >I have a .war file that runs perfectly in WebLogic 7.0. Today I tried
              >to run that
              >same .war in Tomcat 4.0.6. Unfortunately, it did not run. I get the following
              >error:
              >
              >java.lang.IllegalStateException: Cannot forward after response has been
              >committed
              >
              >Now, I know what this error means, but I don't know why I would get it
              >when I
              >run in Tomcat but not WebLogic. Does WebLogic do something to "insulate"
              >me from
              >this error that perhaps Tomcat does not do?
              >
              >Aidan
              >
              

  • Error In Tomcat But Not In WebLogic

              I have a .war file that runs perfectly in WebLogic 7.0. Today I tried to run that
              same .war in Tomcat 4.0.6. Unfortunately, it did not run. I get the following
              error:
              java.lang.IllegalStateException: Cannot forward after response has been committed
              Now, I know what this error means, but I don't know why I would get it when I
              run in Tomcat but not WebLogic. Does WebLogic do something to "insulate" me from
              this error that perhaps Tomcat does not do?
              Aidan
              

              The effect to use <jsp:forward> or RequestDispatcher.forward is different between
              BEA and Tomcat (even Websphere). Weblogic stores the output in a buffer, before
              the buffer reaches the limit, you can call those forward methods without obvious
              problems. Tomcat (and Websphere I ever tested) is not so tolerable. If you have
              send out something via Servlet writer or JSPWriter, or have something like HTML
              tags/text before forwards, chances are big to encounter the exceptions you have.
              So I use more include methods to assemble my JSPs and servlets, for the purpose
              of portability.
              "Aidan Monroe" <[email protected]> wrote:
              >
              >I have a .war file that runs perfectly in WebLogic 7.0. Today I tried
              >to run that
              >same .war in Tomcat 4.0.6. Unfortunately, it did not run. I get the following
              >error:
              >
              >java.lang.IllegalStateException: Cannot forward after response has been
              >committed
              >
              >Now, I know what this error means, but I don't know why I would get it
              >when I
              >run in Tomcat but not WebLogic. Does WebLogic do something to "insulate"
              >me from
              >this error that perhaps Tomcat does not do?
              >
              >Aidan
              >
              

  • Oracle 9i on XP Pro  error: Java Runtime Environment not Found

    I run the universal installer and get this message: Java Runtime Environment not found at c:/doc...blah blah blah...local settings/temp/OraInstall/jre/bin/jrew.exe
    I've installed Java 1.4 more than once with success, but the universal installer keeps trying to locate jrew.exe at the above location (which doesn't exist in the temp directory)
    Q: why does it look here and/or how can I fix it?
    Thanks in advance,
    -Brent

    For windows installations you are not in need to install Java prior to installing Oracle , remove all Java installed , clean registry and environment variables , restart machine then start reinstallation

  • Error "ACL found but not expected on..." when doing repair permissions.

    I am getting an error on Disk Utility, Repair permissions.   I was having some problems with permissions and sought and received help through forum regarding changing my userid password through Lion Repair (Control R, etc.)  After finishing that ordeal, rebooting, etc.   everything seems fine and works well, perhaps slightly slow.   I decided to go into Disk Utility again and I repeatedly get the following errors...
    "ACL found but not expected on “usr/sbin/system_profiler”
    Repaired “usr/sbin/system_profiler”
    ACL found but not expected on “usr/sbin/systemsetup”
    Repaired “usr/sbin/systemsetup”
    ACL found but not expected on “usr/sbin/traceroute”
    Repaired “usr/sbin/traceroute”
    After about a 20-25 minute repair process, I clear the report ,exit disk utility, reboot the computer and I still get the same report.  Disk verify shows the hard drive to be functioning well.   What is the source of these errors and is there a solution.
    Thanks,

    I had those too.
    I used ACLr8 just now. Didn't know if it would work for Lion or not. Ran Disk Utility again and it didn't show any problems at all... after having several of the ACL's... which bugged me, even though they are not supposed to mean anything. :-)

  • MySQL error on localhost, but not remote!!

    I am getting an error of:
    Warning: mysql_free_result() expects parameter 1 to be resource, null given in /Users.... line 848
    But I am only getting this on my dev machine. It doesn't show on the remote site. I have taken the remote DB and put it inplace of my local one just in case I had inadvertantly deleted something, but still no joy.
    I have closed the recordset using:
    mysql_free_result($rs_reg_domain);
    But have had to use the following to hide the error:
    //if (is_resource($rs_reg_domain)) mysql_free_result($rs_reg_domain);
    and finally this is the recordset:
    mysql_select_db($database_conn_mrs, $conn_mrs);
    $query_rs_domain = "SELECT * FROM tbl_settings WHERE fld_settingsNAME = 'domain'";
    $rs_domain = mysql_query($query_rs_domain, $conn_mrs) or die(mysql_error());
    $row_rs_domain = mysql_fetch_assoc($rs_domain);
    $totalRows_rs_domain = mysql_num_rows($rs_domain);
    'domain' has a value.
    What's wrong?
    Thanks

    The reason you get an error locally, but not on the remote server is almost certainly because the remote server has the PHP display_errors configuration setting turned off. The error still occurs, but it's not displayed. Most hosting companies turn off the display of errors for security reasons.
    Looking at the code you have given here, it looks as though the error is caused by using the wrong variable name for the recordset. The recordset is $rs_domain, but you're passing $rs_reg_domain to mysql_free_result().

  • Errors on device but not simulator

    I just signed up for the Developer Program and got everything set up to run the app i built on the device. However, I get a slew of messages and I think all of which is because I imported CoreGraphics but for some reason it cant find IOKitLib.h. So I imported IOKit.framework and still I get 31 or so errors all because it can't find that header. Am I doing something wrong? The only extra framework I used for the app besides the 2 that XCode generates as a template is CoreGraphics. It worked perfectly in the simulator though...
    Thanks for your time!
    (This is the output...)
    ProcessPCH /var/folders/iS/iS-IYh1HEr44h3EFimOTHU+TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/GatekeeperPrefix-eoehntoumyrlgzdynxfeqwyjxvlr/GatekeeperPrefix.pch.gch Gatekeeper_Prefix.pch normal armv6 objective-c com.apple.compilers.gcc.4_0
    cd /Users/derek/Desktop/Gatekeeper/Gatekeeper
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.0 -x objective-c-header -arch armv6 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -fmessage-length=0 -fvisibility=hidden -miphoneos-version-min=2.0 -gdwarf-2 -mthumb -iquote /Users/derek/Desktop/Gatekeeper/Gatekeeper/build/Gatekeeper.build/Release-iphon eos/Gatekeeper.build/Gatekeeper-generated-files.hmap -I/Users/derek/Desktop/Gatekeeper/Gatekeeper/build/Gatekeeper.build/Release-iph oneos/Gatekeeper.build/Gatekeeper-own-target-headers.hmap -I/Users/derek/Desktop/Gatekeeper/Gatekeeper/build/Gatekeeper.build/Release-iph oneos/Gatekeeper.build/Gatekeeper-all-target-headers.hmap -iquote /Users/derek/Desktop/Gatekeeper/Gatekeeper/build/Gatekeeper.build/Release-iphon eos/Gatekeeper.build/Gatekeeper-project-headers.hmap -F/Users/derek/Desktop/Gatekeeper/Gatekeeper/build/Release-iphoneos -F/Library/Frameworks -F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/ Library/Frameworks -F/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framework s -I/Users/derek/Desktop/Gatekeeper/Gatekeeper/build/Release-iphoneos/include -I/Users/derek/Desktop/Gatekeeper/Gatekeeper/build/Gatekeeper.build/Release-iph oneos/Gatekeeper.build/DerivedSources -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk -c /Users/derek/Desktop/Gatekeeper/Gatekeeper/Gatekeeper_Prefix.pch -o /var/folders/iS/iS-IYh1HEr44h3EFimOTHU+TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/GatekeeperPrefix-eoehntoumyrlgzdynxfeqwyjxvlr/GatekeeperPrefix.pch.gch
    In file included from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Headers/CoreGraphics.h:22,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIColor.h:9,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIInterface.h:10,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIView.h:10,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:8,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIKit.h:10,
    from /Users/derek/Desktop/Gatekeeper/Gatekeeper/Gatekeeper_Prefix.pch:7:
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGDisplayConfiguration.h:11:28: error: IOKit/IOKitLib.h: No such file or directory
    In file included from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Headers/CoreGraphics.h:22,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIColor.h:9,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIInterface.h:10,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIView.h:10,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:8,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIKit.h:10,
    from /Users/derek/Desktop/Gatekeeper/Gatekeeper/Gatekeeper_Prefix.pch:7:
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGDisplayConfiguration.h:328: error: syntax error before 'CGDisplayIOServicePort'
    In file included from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Headers/CGEventSource.h:12,
    from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Headers/CGEvent.h:15,
    from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Headers/CoreGraphics.h:25,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIColor.h:9,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIInterface.h:10,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIView.h:10,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:8,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIKit.h:10,
    from /Users/derek/Desktop/Gatekeeper/Gatekeeper/Gatekeeper_Prefix.pch:7:
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:13:39: error: IOKit/hidsystem/IOLLEvent.h: No such file or directory
    In file included from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Headers/CGEventSource.h:12,
    from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Headers/CGEvent.h:15,
    from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Headers/CoreGraphics.h:25,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIColor.h:9,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIInterface.h:10,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIView.h:10,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:8,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIKit.h:10,
    from /Users/derek/Desktop/Gatekeeper/Gatekeeper/Gatekeeper_Prefix.pch:7:
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:52: error: 'NX_ALPHASHIFTMASK' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:53: error: 'NX_SHIFTMASK' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:54: error: 'NX_CONTROLMASK' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:55: error: 'NX_ALTERNATEMASK' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:56: error: 'NX_COMMANDMASK' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:59: error: 'NX_HELPMASK' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:60: error: 'NX_SECONDARYFNMASK' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:63: error: 'NX_NUMERICPADMASK' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:67: error: 'NX_NONCOALSESCEDMASK' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:86: error: 'NX_NULLEVENT' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:88: error: 'NX_LMOUSEDOWN' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:89: error: 'NX_LMOUSEUP' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:90: error: 'NX_RMOUSEDOWN' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:91: error: 'NX_RMOUSEUP' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:92: error: 'NX_MOUSEMOVED' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:93: error: 'NX_LMOUSEDRAGGED' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:94: error: 'NX_RMOUSEDRAGGED' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:97: error: 'NX_KEYDOWN' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:98: error: 'NX_KEYUP' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:99: error: 'NX_FLAGSCHANGED' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:102: error: 'NX_SCROLLWHEELMOVED' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:103: error: 'NX_TABLETPOINTER' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:104: error: 'NX_TABLETPROXIMITY' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:105: error: 'NX_OMOUSEDOWN' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:106: error: 'NX_OMOUSEUP' undeclared here (not in a function)
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEventTypes.h:107: error: 'NX_OMOUSEDRAGGED' undeclared here (not in a function)
    In file included from /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Headers/CoreGraphics.h:25,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIColor.h:9,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIInterface.h:10,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIView.h:10,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:8,
    from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/UIKit.framework/Headers/UIKit.h:10,
    from /Users/derek/Desktop/Gatekeeper/Gatekeeper/Gatekeeper_Prefix.pch:7:
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Headers/CGEvent.h:17:39: error: CoreServices/CoreServices.h: No such file or directory
    /Users/derek/Desktop/Gatekeeper/Gatekeeper/Gatekeeper_Prefix.pch:8:52: error: ApplicationServices/ApplicationServices.h: No such file or directory

    It's possible that when you added the extra framework it got added the wrong way, so that the simulator version is referenced OK but the device version isn't. It's happened to me a couple of times.
    With XCode closed, use Finder to locate your .xcodeproj file. Before you do anything else, make a copy of it in case you make a mess of it with your changes.
    Now do "Show Package Contents" on your .xcodeproj file. One of the files inside it is called 'project.pbxproj'. Edit that by double-clicking it.
    There are two things to check for. The first is in the PBXFileReference section. Look for the line that mentions CoreGraphics.framework (or whatever framework you added). It should end like this:
    path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT;
    If there is something more elaborate (a lot of ../../ stuff, for instance), edit it to look like my example.
    The other thing is in the XCBuildConfiguration section. Some of the entries will have extraneous muck that looks like this:
    FRAMEWORKSEARCHPATHS = (
    "$(inherited)",
    /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/System/Library/Frameworks,
    Remove it altogether.
    Save the file after making your changes, and you should find that everything then compiles OK. If it doesn't, go back to your original version and look for other solutions.

  • Spool Error - Spool created but not opening/displaying. Message no SP01R042

    Dear All,
    In the ECC Production System, for SD documents Spool is  created but not opening/displaying.
    Message no SP01R042
    When we check the short dump for the user,
    The dump is -
    - POSTING_ILLEGAL_STATEMENT
    - Statement "CALL SCREEN" is not allowed in this form.
    Please help. Perfect answers will be definitely rewarded.
    Thanks & Regards,
    Sameer

    Hi Sri,
    Try to setup the printer at OS LEVEL.
    then,
    If on Windows---use method C.
    if not,
    use method U and map to your printer queue at OS level.
    Hope this resloves this issue.
    Reward Pts if useful
    Regards,
    Malti

  • Where is a list of error codes? but have no idea what it means.

    I get errors followed by some code number. Example: an unexpected error occurred -1857 [24]. So what if you don't know what it means. Also, if you are expecting an error, what is the message?

    The only thing the MacErrors.h file shows for the "-1857" error is "drag was not accepted by receiver"--which probably isn't very helpful. You have a copy of the MacErrors list in your /System/Library folder, do a Command-F search on "MacErrors.h" which is buried many folders deep inside /System/Library/Frameworks. If you have Xcode installed it will open in Xcode. Otherwise you can open it with TextEdit and resave it as a plain text file in your Documents folder for handy reference.
    Francine
    Francine
    Schwieder

  • Get "javascript(void)" error on numerous, but not all websites

    I'm getting a "javascript(void)" message in my status bar on numerous, but not all websites, accompanied by an inability to utilize FF on these sites; for instance, my company email. It'll log in and load the inbox, but will not open anything that has a hyperlink (read:anything off the primary top page). My only change in the past forever, has been uninstalling noscript (it was blocking EVERYTHING and I simply wasn't able to understand a lot of the functionality).
    I've checked all the blocks and settings til I'm blue in the face, but I do not see what the deal is that's causing my issue.
    == URL of affected sites ==
    http://

    Hello Robert.
    First of all, and although possibly not related to your problem, I will remind you that the version of Firefox you are using at the moment as been discontinued and is no longer supported. Furthermore, it has known bugs and security problems. I urge you to update to the latest version of Firefox, for maximum stability, performance, security and usability. You can get it for free, as always, at [http://www.getfirefox.com getfirefox.com].
    As for your issue, you may be having a problem with some extension or plugin that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?

  • XSLT mapping throws error in XI, but not in XMLSPY

    Hi everybody,
    I got a really complex XSLT mapping. It works fine in XMLSPY.
    But when I execute the mapping in XI, I get the following error:
    Error during XSLT Transformation: Could not load stylesheet.com.sap.engine.lib.xml.util.NestedException: Operator or ')' expected.
    I asume there is a special character that XI cannot execute.
    has anybody an idea of finding this character?
    Thanks, regards Mario

    Hi Mario
    Check your input data, and also try to see test in Interface mapping test tab,
    you will get an idea about the input is correct or not
    see the below links..
    <u><b>XSLT Mapping</b>[/u
    /people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
    /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    <u><b>XSLT Mapping with java enhancement</b></u>
    /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
    /people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
    Cheers..
    Vasu
    <i>** Reward Points if found useful **</i>

  • See my code that no me error after complied but not give me pdf result and

    hi master
    sir i use this code for create the pdf
    ExternalContext econtext = getExternalContext();
    InputStream stream = econtext.getResourceAsStream(PREFIX);
    try {
    JRResultSetDataSource mcon = new JRResultSetDataSource(getSessionBean1().getChartofaccRowSet());
    JasperPrint jasperPrint = null;
    jasperPrint = JasperFillManager.fillReport(stream, null, mcon);
    JRExporter exporter = null;
    HttpServletResponse response = (HttpServletResponse)econtext.getResponse();
    FacesContext fcontext = FacesContext.getCurrentInstance();
    exporter = new JRPdfExporter();
    exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
    exporter.setParameter(JRExporterParameter.OUTPUT_STREAM,
    response.getOutputStream());
    exporter.exportReport();
    fcontext.responseComplete();
    } catch (Exception ex) {
    log(" Error Description" , ex);
    error("Error counting rows: " + ex.getMessage() );
    error("Error counting rows: " + ex ); }
    sir this code not give any error but also not create /display the pdf
    i try to find the where problem occurred i get textfiled and send some value after one by one line
    like is this
    first time try
    JRResultSetDataSource mcon = new JRResultSetDataSource(getSessionBean1().getChartofaccRowSet());
    textField2.setValue(PREFIX);
    is given me right result and show /WEB-INF/reports/mfa.jasper in textfield2
    second time
    jasperPrint = JasperFillManager.fillReport(stream, null, mcon);
              textField2.setValue(PREFIX);
    when i press button second time this time page not give me result in textfield2 and show blank it means
    only this line have error but what i could not foud out jasperPrint = JasperFillManager.fillReport(stream, null, mcon);
    use see my code and give me idea or solution of my problem
    thank�s
    aamir

    I found and easier way to do it and wrote it up here: http://developers.sun.com/jscreator/learning/tutorials/2/reports.html

Maybe you are looking for