Adding an "IMAQ Image.ctl" to the "Display State.ctl" of an XControl prevents LabVIEW from creating a probe of "Display State.ctl"
I am working on an extended IMAQ Display control using LabVIEWs XControl capabilities.
I need a copy of the original image passed to add some overlays which must not affect the original image. To achieve this I am creating a backup image in the "Init.vi" and deleting it in the "Uninit.vi". I am storing the reference of this image in the "Display State.ctl" which is part of every XControl.
As soon as I am adding an "IMAQ Image.ctl" to the Display State cluster, it is no longer possible to generate a probe of the Display State cluster for debugging purposses. I am always getting the message: "Failed to load or create probe."
Deleting the "IMAQ Image.ctl" from the cluster makes the probe working again.
Is it a bug or am I doing something wrong?
I am working with LabVIEW 8.5 and Vision 8.5.
Regards
Ingo Bartsch
Hello Mr. Bartsch,
is it possible for you to post a small example to reproduce the behaviour? It would be helpful to get a description in which way you use the typedef files.
I found a example/knowledge base where some informations were included to XControl and LV but not with Vision.
http://digital.ni.com/public.nsf/allkb/1DC1ADD2A136DA298625712C00635758?OpenDocument
Best wishes
Jan Kniewasser
Jan Kniewasser | Applications Engineer | Tel.: +49 89 7413130 | Fax: +49 89 7146035
Similar Messages
-
Unity Connection 10.5.1: I upgraded the Unity Connection Server from V 9.1. After that, cannot logn to ELM an error message " The server encountered an internal error that prevented it from fulfilling this request." appears. The error further displays "
type: Exception report
message:
description: The server encountered an internal error that prevented it from fulfilling this request.
exception:
ServletException Could not initialize class com.cisco.vos.platform.api.config.UpgradeStatus
root cause:
NoClassDefFoundError Could not initialize class com.cisco.vos.platform.api.config.UpgradeStatus
note: The full stack trace of the root cause is available in the logs.
Has anyone experience this issue? Any solutions? Your assistance is greatly appreciated!Hi Mesut,
you can refer the link for migration
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/10x/upgrade/guide/10xcucrugx/10xcucrug010.html
regds,
aman -
How do I prevent Lightroom from creating duplicates if the edit in photoshop is not saved?
Hello!
How do I prevent Lightroom from creating duplicates if the edit in photoshop is not saved?
So... Quite often I choose to 'Edit in photoshop' from Lightroom but then end up not saving the result. (for example, because I just wanted to experiment with the photo, or I'm not satisfied with the results)
However, Lightroom always creates a copy of the original photo, which stays in the catalog even if the photoshop changes aren't saved.
Is there a way to stop this, and only add a photo if it has been edited in PS?
Using LR5 with PS CS6 on a Mac 10.9
THANK YOU!Select 'Open the Image in PS as a Smart Object'. The image will be rendered by ACR in memory without being written to disc until you save it from within PS.
-
The server encountered an internal error that prevented it from fulfilling
Hi members!
I am new member of Java EE. When running my the following practice:
1) file: hello.xhtml*
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
</head>
<body>
Hello <h:outputText value="#{foo.subject}"></h:outputText>!
</body>
</html>
*2) file: web.xml*
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID"
version="2.5">
<display-name>Hello</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>JSF</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>JSF</servlet-name>
<url-pattern>/faces/***</url-pattern>
</servlet-mapping>
</web-app>
*3) file: faces-config.xml
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
version="2.0">
</faces-config>
4) file: GreetingService.java
package hello;
import javax.annotation.Named;
import javax.context.RequestScoped;
@Named("foo")
@RequestScoped
public class GreetingService {
public String getSubject(){
return "Paul";
5) file: beans.xml
<?xml version="1.0" encoding="UTF-8"?>
At browser: http://localhost:8080/Hello/faces/hello.xhtml
Had the following errors:
The server encountered an internal error () that prevented it from fulfilling
this request.
*例外*
java.lang.NullPointerException
org.jboss.webbeans.servlet.WebBeansListener.getLifecycle(WebBeansListener.java:53)
org.jboss.webbeans.servlet.WebBeansListener.requestInitialized(WebBeansListener.java:108)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Unknown Source)
My computer is the following configuration:
jre-6u12-windows-i586-p
jdk-6u12-windows-i586-p
jboss-5.1.0.GA
mojarra-2.0.1-FCS-binary
eclipse-jee-ganymede-SR2-win32
Please teache me to know where is cause.
Thank you very much!perhaps it is not a good idea to use JSF 2.0 with JBoss 5.1; it was built to support JSF 1.2 only.
-
Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in Oracle and yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.
Thanks for your advise.
However, I missed to mention that we have two set of users One is for Finished Goods and another for Spares.
Only Spares users need to be prevented from creating Direct/Manual Sales Orders in Oracle.
As you suggested, if this will be done at Form level, that may Disallow FG users also to create Manula Sales Orders which should not be the case.
Further, I tried to test one scenario through Processing Constraints but it did not work.
Application
OM
Validation Type
Entity
Temp
Short Name
TBL
Validation Semantics
Created By
Equal To
User(Myself)
Processing Cosntraint
Application
OM
Entity
Order Header
Constraint
Operation
User Action
Create
Not Allowed
Conditions
Group
Scope
Validation Entity
Record Set
Validation Template
101
Any
Order Header
Order
Above Created
Please advise. -
hi all
this common error frustates me too much
i don know hw i get solved smtimes.
why it occurs
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
root cause
java.lang.NullPointerException
org.apache.jsp.AdminConsole_jsp._jspService(AdminConsole_jsp.java:94)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.7 logs.hi
i hv included sm jsp code in <% ....... %>
whn i make it coment error removed
bt jsp code seems ok
i m sendin the code can u help.
%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Administration Console</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="Stylish.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
function validate() {
if((document.loginform.userId.value == null)||(document.loginform.userId.value == ""))
alert("Field UserID can't be left blank");
document.loginform.userId.focus();
return false;
</script>
<style type="text/css">
<!--
.style1 {color: #E6E6E6}
body {
background-color: #E8E8E8;
-->
</style>
</head>
<body>
<form action="LoginCheck.jsp" method="post" name="loginform" id="loginform">
<table width="780" height="421" border="0" cellpadding="2" cellspacing="1">
<tr>
<td><table width="467" height="235" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td width="463" height="34" bgcolor="#7D98DD" class="userAcct style1 style1">Administration Console </td>
</tr>
<tr>
<td height="23" bgcolor="#CCCCCC"> </td>
</tr>
<tr>
<td height="20" bgcolor="#E0E3F5"> </td>
</tr>
<tr>
<td height="82" bgcolor="#E0E3F5"><table width="315" border="1" align="center" cellpadding="1" cellspacing="1" bordercolor="#E0E3F5" bgcolor="#FFFFFF">
<tr bgcolor="#E0E3F5" class="frmtxt">
<td width="146" bgcolor="#E0E3F5"><div align="right">UserId:</div></td>
<td width="156"><input name="userId" type="text" id="userId"></td>
<%
String id = request.getParameter("userId");
if( id .equals("") ){
out.println("Missing necessarry field userid");
%>
</tr>
<tr bgcolor="#E0E3F5" class="frmtxt">
<td><div align="right">Password:</div></td>
<td><input name="passwd" type="password" id="passwd"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="24" bgcolor="#E0E3F5"> </td>
</tr>
<tr>
<td height="26" bgcolor="#E0E3F5"><div align="center"><strong>
<input name="login" type="submit" class="frmtxt" id="login" value=" Login ">
<input name="cancel" type=button class="frmtxt" id="cancel" value=" Cancel ">
</strong></div></td>
</tr>
<tr>
<td height="23" bgcolor="#7D98DD"><div align="center"><strong> </strong></div></td>
</tr>
</table></td>
</tr>
</table>
</form>
</body>
</html> -
Still can't get rid of the template page
I am not at all sure about what you are calling a draft email template. I have never seen one in the mail app and unless this is something that you created in Pages or some other word processing program I don't know what template you are describing.
Anyway, this may work. Quit the mail app and them go back and see if the draft is still on the screen.
Quit the app completely and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
Or try this.
Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons -
How do I prevent CS4 from creating HTML files on export of an image?
Everytime I export an image i am getting a html file created too. It is annoying having to delete them manually every time, and there seems to be no option to turn this feature off.
Generally I dislike CS4 compared to Macromedia Fireworks v8.You need to select "images only" in the dialogue box when you choose Export
Nadia
Adobe® Community Expert : Dreamweaver
Unique CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
Book: Ultimate CSS Reference
http://www.sitepoint.com/launch/005dfd4/3/133
http://twitter.com/nadiap -
Everytime I start my MAC, the Applications window opens. How do I prevent that from happening. I just want to see the Desktop with the normal Hardrives and folders I setup on the Desktop.
Start up. Close the offending finder window. Shut down.
Now start up again.
Is it fixed? -
Above the website on the left it says "how to econ" I think I may have clicked on that when it appeared next to a site I had bookmarked. However the site appearing on the left is not the one I was trying to access. The site on the left takes up about two inches of screen and I cannot get rid of it.
Can you attach a screenshot?
*http://en.wikipedia.org/wiki/Screenshot
*https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
Use a compressed image type like PNG or JPG to save the screenshot.
Opening in the sidebar is the default for bookmarks that are created via a link or button on a website.<br />
You can check the Properties of a bookmark via the right-click context menu in the sidebar (Ctrl+B; Cmd+B on Mac).<br />
In the Bookmarks Manager (Bookmarks > Show All Bookmarks) you can click the More button in the Details pane at the bottom right.<br />
Make sure that "Load this bookmark in the sidebar" is not selected.<br /> -
Using the transition manager on a movie clip prevents me from physically moving it after that
Hi,
I'm using the transitions manager to animate certain objects
in my movie. let's say I'm using it on a ball - using the following
code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
function zoomIn(_mc) {
new Tween(_mc, "_xScale", Bounce.easeOut, 0, 100, .3, true);
new Tween(_mc, "_yScale", Bounce.easeOut, 0, 100, .3, true);
function zoomOut(_mc) {
new Tween(_mc, "_xScale", None.easeIn, this._xscale, 0, .05,
true);
new Tween(_mc, "_yScale", None.easeIn, this._xscale, 0, .05,
true);
and then calling it later with this:
zoomIn(ball_mc);
That works fine. But at a later stage of the movie I then try
to move the location of the ball - not with code but by adding a
key frame and physically moving it's location. When I play the
movie back it does not show that it moves.
I'd really just like to know why this is!
Thanks,
RayI think that once the Tween plays, the ball_mc, now resides
in it's final resting place, it might do this with all instances of
the mc, interesting though. I would have thought the same, maybe if
you move it and give it a different instance name it will not
effect the position on the new keyframe. -
The server encountered an internal error () that prevented it from fulfilli
Hi.
Could any one tell me where i start looking for the error in this log.
It works fine under sun studio creator, but when i upload the project to the server and call the page i get this error.
I found out that it is something with my servlet wich do some work for getting my image. (see sevlet below)
DetailsTimestamp: 2006-06-09 16:26:39.513
Log Level: SEVERE
Logger: javax.enterprise.system.container.web
Name-Value Pairs: _ThreadID=16;
Record Number: 3644
Message ID: StandardWrapperValve[Faces Servlet]
Complete Message
Servlet.service() for servlet Faces Servlet threw exceptioncom.sun.rave.web.ui.appbase.ApplicationException: javax.servlet.ServletException at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:225) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475) at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371) at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281) at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)Caused by: javax.faces.FacesException: javax.servlet.ServletException at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:331) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311) ... 41 moreCaused by: javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:827) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763) at org.apache.jsp.medarbejdere_jsp._jspService(medarbejdere_jsp.java:111) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:860) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247) at javax.servlet.http.HttpServlet.service(HttpServlet.java:860) at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417) at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80) at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:326) ... 43 more
Diagnostic Causes
package servlets;
* Returns the requested JPG from the database; input parameters are:
* @param imageid The id of the image to return
* @param size "full" or "thumbnail", default is "full"
// Import the JNDI classes
import java.io.*;
import javax.naming.*;
// Import the Servlet classes
import javax.servlet.*;
import javax.servlet.http.*;
// Import our database classes
import java.sql.*;
import javax.sql.*;
//import compare.*;
* Cache a reference to the datasource object that we will use later to obtain
* a connection to the database
public class ShowImages extends HttpServlet
public ShowImages() {
public void init() throws ServletException
try
// InitialContext ic = new InitialContext();
// this.datasource = ( DataSource )ic.lookup( "java:/WebPhotoGalleryDS" );
catch( Exception e )
throw new ServletException( e );
public void service( HttpServletRequest req, HttpServletResponse res ) throws ServletException
String ini = req.getParameter("ini");
ResultSet rs = null;
try
boolean aaben = false;
boolean luk = false;
//ResultSet rs = null;
compare.DB data = new compare.DB();
aaben = data.openDBConnection();
rs = data.getResultSet("SELECT Billede FROM Medarbejdere WHERE Ini = '"+ini+"')");
//ResultSet rs= this.getData(model);
BufferedInputStream b = null;
while(rs.next())
b = new BufferedInputStream(rs.getBinaryStream("Billede")) ;
luk = data.closeDBConnection();
res.setContentType( "image/jpg" );
BufferedOutputStream out = new BufferedOutputStream( res.getOutputStream() );
byte by[] = new byte[ 32768 ];
int index = b.read( by, 0, 32768 );
while ( index != -1 )
out.write( by, 0, index );
index = b.read( by, 0, 32768 );
out.flush();
catch( Exception e )
e.printStackTrace();
throw new ServletException( e );
finally
}The origin of the error could be truncated by limitation of a stack trace. In your case:
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:326)
... 43 more
What you can do is add Java option: "-XX:MaxJavaStackTraceDepth=0" - this will make appserver print all Java stack trace and you will be able to see the origin of your exception. -
I have set up the find my iphone app to be hooked up to my phone, computer, ipod and my family's devices. Thru the find my iphone app you can delete the hard drive of any device to keep a theif from getting your personal information. But lets say my phone is stolen, is there a way of preventing the person who stolen my phone from being able to delete the information on my computer?
Welcome to the Apple Community.
Your device should have it's screenlock enabled so that this can't happen, but if you haven't set a screenlock, then yes someone could do this. -
I would like to backup my Mac by copying my home directory to an external disk. When I try this, it always gets hung up on a file called "memeodhelper" saying I don't have permission to access the file and the paste stops. Can't find the file with a search. Any ideas?
Hi Ray,
Spotlight is no good for finding anything Apple thinks you don't need to find.
You can "fix" that error...
http://www.somewhereville.com/?tag=memeodhelper
Or likely trash it...
https://discussions.apple.com/message/11237019?messageID=11237019&tstart=0#11237 019?messageID=11237019&tstart=0
Find Any File...
http://apps.tempel.org/FindAnyFile/
Hold Option or alt key when selecting Find to Find All.
EasyFind...
http://www.devon-technologies.com/download/
Near the bottom of the page. -
I have tried to lead into certain accounts to make credit car payments and connect with my school and since this promotion has been going on my computer stops and a message stating waiting for fedoraproject.org to load. Everything stops and the pages never load up. can this be removed or how can I avoid it.
Thank you AvaI've got to agree with Allan. It sounds like the hard drive is corrupt at least. It's possible it might be physically failing. Without backups, it's possible your data is already gone. You need a professional to help you.
If you do not have an Apple Store near you or simply don't have the time to spare, there are some things you can try, but you must understand that it's possible these things could make the chances of recovering your data worse than they already are. Perform the instructions to follow at your own risk!
First, you can try repairing your hard drive with Disk Utility. If that works, see if you can start up the machine. If you can, the very first thing you need to do is back up any data you don't want to lose. You may still need to take other steps, as your system may be damaged as well, but getting the data is the important part.
If Disk Utility cannot repair the problems, you can try DiskWarrior. It can repair problems that Disk Utility cannot. However, it also increases the risk of destroying your data if it fails. If it works and you can start up the machine, do the same as I advised for following success with Disk Utility.
If repairs (with either) were successful, but the machine still won't start up, you can try reinstalling the system. Hold down command-R at startup and then just install right on top of the existing system. If all goes well, you'll be able to start up afterwards and can get your data backed up. If all goes badly, it'll further decrease the chances of getting your data back.
If neither can repair the damage, you're in bad shape. You will need a professional to help you, unless you are willing to lose all your data.
Maybe you are looking for
-
We are seeing an Exception from time to time on WLS 8.1 in a JSF application that looks like this: <Aug 1, 2008 8:02:36 AM CDT> <Error> <HTTP> <BEA-101017> <[ServletContext(id=1781688286,name=as_oo_webapp,context-path=/as_oo_webapp)] Root cause of Se
-
Sister's Blackberry continues to dial my number when she says phone is locked
I'm not sure what model Blackberry my sister has, but here is the issue. Keep in mind that she doesn't know a whole lot about how to use any of the functions of the phone. It was a gift and she only uses it as a phone. Here is the problem. She co
-
AP Invoice Approval Status in R12
I was trying to find invoice approval status in AP (R12) using below. select ai.invoice_num, AP_INVOICES_PKG.GET_APPROVAL_STATUS('36928',209.28,'N','STANDARD') APPROVAL_STATUS_LOOKUP_CODE from ap_invoices_all ai where AI.CREATION_DATE between '1-AUG-
-
Correct port #...?
I am downloading files from Azureus but have a problem with having the right port # activated....I know nothing of the different choices.. How do I determine which one to use and also one which protects my computer at the same time...?
-
I've lost Airplay on iPad and iPhone 5s since 7.1 upgrade
Since the last upgrade Airplay has disappeared. I've got a very expensive wireless speaker rendered useless because of this. Please help get it back!