Problems with return of defective m4 128 GB SSD
Hi altogether, I am sorry to have "abuse" this forum for this, but the RMA request page does not work properly for more than two weeks now. I am always receiving a java.lang.NullPointerException error message after entering the serial number of my defective SSD - no matter which browser I use to access it.I also contacted the official Crucial support ([email protected]) but they did stop responding after announcing to send me some troubeshooting steps on 07/16.Hence, I just don't know where else to ask for further help... Can anybody please simply try to open a RMA request for a SSD (preferably a m4 128 GB) on Crucial's EU website and confirm that nasty error message I am always receiving after having entered the serial number of the drive? The problem is that my about two years old m4 128 GB SSD did stop working after I moved it from my former laptop (Sony Vaio) - where it worked like a charm - to an external USB 3.0 enclosure (model RaidSonic ICY BOX IB-250StU3-BH). When I connected the external enclosure to my PC the drive appeared in Windows Explorer (Windows 8.1 Pro) for a short period of time (1-2 seconds) and then disappeared without any warning / notice.
Disconnecting and reconnecting the enclosure did not solve the problem (there is still no response from the SSD).Installing a conventional hard disk as well as another SSD in the same enclosure for test purposes showed that it still works fine.
I also installed the m4 SSD in another enclosure as well as connected it directly via SATA to the mainboard of my PC without success.
Hence, I believe the drive is really defective and also cannot be "revived" by simple software troubleshooting.
Has anybody else also experienced similar issues and could there indeed be a way to solve it without a replacement (e.g. by a "blind flash" of the firmware)? And how can I claim a RMA for my drive as it is still under the 3-year warranty if the corresponding page does not work and the official support stopped answering?
Any help is greatly appreciated!
Best regards,
FNW
Hi targetbsp, thank you very much for your kind help !And sorry for my pretty belated reply... Although it sounded hard to believe at first, the "revival" instructions did indeed work perfectly for my "broken" SSD! I just left it connected to only power via an external SATA to USB adpator (which has an extra power supply) for 2x 20 minutes as described and it came back to life (and all my data were still present as nothing had even happened)! Unfortunately, it turned out that the external USB 3.0 enclosure seems not to be able to provide enough "startup" current to this SSD as it "broke" again after I re-installed it there and hooked it up to my PC.After performing the "revival" routine again (which worked perfectly), I guess I will use it in another laptop where it will get enough power from the internal SATA port (as this one is not limited to 750mA like USB 3.0 is)... But thanks a lot for saving me the hassle of an unnecessary return!Maybe I should have done some more research, but I simply didn't see any chance to get such a drive to work again...
Similar Messages
-
A problem with return order with free goods
Hello
I am working on ECC 6.0
I am facing a problem with the return order the case is I created an order of 1000 pc with inclusive free goods (w/o item generation) condition record that for every 10 pc over the 100 the customer will take 1 free pc
1 pc = 10 $
100 pcs = 900 $
120 = 1080 $
the problem when I am creating a return order with 30 pcs the system calculate the price as if there are free goods the system returns the 30 pcs with 270 $ instead of 180 $ and it should not calculate the free goods because the remaining items are 90 pcs that should not take a free goods discount
Regards
Jacopo Francioshi ,
Such scenerios can be tackled by different pricing procedure in return scenerio.
See Pricing procedure Depends on sales area + customer pricing procedure + Document pricing procedure .
So for Return document type please maintain different pricing than the normal scenerio this will solve ur problem.
This is generally done also for tackling such scenerios.
Thanks & Regards -
Problem with return true and if statement
I'm making a
ship shooter
game and I have a problem with the collision detection for the
corners of the stage. When you hold down two of the arrows to move
the ship into the corners of the screen, the ship will go past it.
The function bellow is what I'm using to detect this collision. The
reason I'm using a function is because it's used for the ship and
for all the balls from the cannons (as shown in the last two lines
of the attached code). This is the reason I need the return true,
so the if statement can be evaluated to true and then unload the
movieclip of the cannon ball. When I remove the return true, the
collision works fine, but obviously my cannon balls all get stuck
on the edges.
Any ideas?Well the function is called every frame, for the ship and for
every cannon ball that's on the screen. So it could be called about
4 times or so per frame. The problem is that ship goes through the
corners of the stage (btw, the green background is the stage area)
when you go in a diagonal direction.
Just curious...what's the unnecessary code you're talking
about? -
ADF Code Corner 069 : problem with returned value
Hello,
I use jdeveloper 11.1.2.2.0 and am trying to follow the sample 69 from ADF Code Croner : how-to create a custom LOV using bounded task flows. http://www.oracle.com/technetwork/developer-tools/adf/learnmore/69-custom-lov-with-btf-276178.pdf
I have a problem with the returned value. The correct value is returned in the inputText but it seems that it is just at UI level and that binding layer is not impacted. If user click on next button, all others rows show the same value in the inputText (the value chosen before in the lov), and not the correct value which must be value from db.
How can I solve this problem?
note : opening the 69-sample, jdeveloper ask me to migrate some files (jpr/jws) from previous version of jdeveloper.
Edited by: h0s on 8 oct. 2012 06:14Yes It happens with the downloaded sample. You can do this test :
Launch EmployeesForm activity -> Open the LOV and select a department -> click next and see that the department id is the same for all rows.
jdeveloper 11.1.2.2.0 -
Hi all,
Greetings!
I am facing a probelm with return table, i.e it is adding body record and workarea record also to the data target. so, it is adding the actual record to data target including the workarea record to with the key figure and year values as zeros and spaces. I worked with Return table one or two times, but this time amazing it is adding extra record.
Please guide me..
Thanks and Regards
ChandHi Chand,
Adding extra rows is kind of strange. It must be either, the records in the data request being duplicated or the logic in the RETUN table must be messed up. If possible just have a snapshot of pseud code may be it could help analyzing the error.
Regards,
Praveen -
Problem with return table(adding extra record)
Hi,gurus,
I am facing a probelm with return table, i.e it is adding body record and workarea record also to the data target. so, it is adding the actual record to data target including the workarea record to with the key figure and year values as zeros and spaces. It's quite strange.
Please help me out, thanks a lot.Hi,
I have an ODS with the keys fields(ZPS_TXMID,ZPS_NODE,ZPS_NODE) and data fields(ZAU_C108,ZAU_C109,0PROJECT). I have to split one record from datasource to 6 records into my ODS. I'm updating ZAU_C109 with a routine with return table. Here is the code, please check it for me:
<i> data: prj like /BIC/PZPS_TXMID-PROJECT.
data: ls_icube_value like ICUBE_VALUES.
clear ls_icube_value.
select single PROJECT into prj from /BIC/PZPS_TXMID
where /BIC/ZPS_TXMID = COMM_STRUCTURE-/BIC/ZPS_TXMID.
ls_icube_value-/BIC/ZPS_TXMID = COMM_STRUCTURE-/BIC/ZPS_TXMID.
ls_icube_value-/BIC/ZAU_C108 = COMM_STRUCTURE-/BIC/ZAU_C108.
ls_icube_value-/BIC/ZPS_NODE = '1'.
ls_icube_value-/BIC/ZPS_SNODE = '0'.
ls_icube_value-PROJECT = prj.
ls_icube_value-/BIC/ZAU_C109 = COMM_STRUCTURE-/BIC/ZPS_HJHSJ.
APPEND ls_icube_value TO RESULT_TABLE.
ls_icube_value-/BIC/ZPS_NODE = '1'.
ls_icube_value-/BIC/ZPS_SNODE = '1'.
ls_icube_value-PROJECT = prj.
ls_icube_value-/BIC/ZAU_C109 = COMM_STRUCTURE-/BIC/ZPS_HPSJ.
APPEND ls_icube_value TO RESULT_TABLE.
ls_icube_value-/BIC/ZPS_NODE = '1'.
ls_icube_value-/BIC/ZPS_SNODE = '2'.
ls_icube_value-PROJECT = prj.
ls_icube_value-/BIC/ZAU_C109 = COMM_STRUCTURE-/BIC/ZAU_C101.
APPEND ls_icube_value TO RESULT_TABLE.
ls_icube_value-/BIC/ZPS_NODE = '2'.
ls_icube_value-/BIC/ZPS_SNODE = '0'.
ls_icube_value-PROJECT = prj.
ls_icube_value-/BIC/ZAU_C109 = COMM_STRUCTURE-/BIC/ZPS_TJHSJ.
APPEND ls_icube_value TO RESULT_TABLE.
ls_icube_value-/BIC/ZPS_NODE = '2'.
ls_icube_value-/BIC/ZPS_SNODE = '1'.
ls_icube_value-PROJECT = prj.
ls_icube_value-/BIC/ZAU_C109 = COMM_STRUCTURE-/BIC/ZPS_TDSJ.
APPEND ls_icube_value TO RESULT_TABLE.
ls_icube_value-/BIC/ZPS_NODE = '2'.
ls_icube_value-/BIC/ZPS_SNODE = '2'.
ls_icube_value-PROJECT = prj.
ls_icube_value-/BIC/ZAU_C109 = COMM_STRUCTURE-/BIC/ZAU_C102.
APPEND ls_icube_value TO RESULT_TABLE.
ABORT = 0.</i>
After loading, I checked the contents of ODS, there are 6 records(0project, ZAU_C108 are blank, other fields are correct) + 1 more record(ZPS_TXMID,0project, ZAU_C108 are correct, other fields are blank), what I expect is only 6 records with all fields being filled properly, no blanks, no extra records. Is it strange? or am I doing sth. wrong?
Your help is appreciated. -
Having problems with copying the OS X to new SSD - SSD keeps ejecting itself
I recently bought an OWC 6G Mercury Electra 240GB SSD and a data doubler for my early 2011 MBP. I replaced the MBP's optical drive with the old HDD and installed the SSD to the main HD bay. After erasing&varifying the SSD I started cloning my old system to the SSD. This is when the problems started. The SSD keeps ejecting itself everytime I try to copy something to it or when I try to varify it. My OS X is 10.9.2. Any suggestions would be appreciated. Thanks!
There is a recall on the 15"
Apple Recall
https://www.apple.com/support/macbookpro-videoissues
Are you using Carbon Copy Cloner or Super Duper? Did you try cloning from an external USB? or to one holding the SSD?
If the latter is successful, that would point to the SATA cable being faulty.
It does seem that SSDs are more sensitive to a defects in SATA cables than HDDs are. -
Problem with return link from html page back to css page
Here is the site..almost ready for publication
http://www.matriley.com/glensite/index.html
1) Go to properties for sale
2)Choose a suberb
3)click on a property with a video
4) watch the crazy video if you like
5) Click go back to properties
^) Yes the page is there but the property page is now
inactive...why?
8)The whole thing works fine on Firefox but we do have this
Glitch on IE
PLEAASSE Can someone help
Regards Matthew [email protected]
Everything works well but for the problem return link to the
properties page after you have gone to the video.The property page
becomes inactiveYour page is a monster -
Empty Cache
10.6K 1 HTML/Text
1.5K 1 Stylesheet File
985.4K 25 Images
997.7K Total size
27 HTTP requests
25 images with aggregate weight of ~1MB is much too large,
you know?
Anyhow, I cannot reproduce your problem in IE7. Are you
referring to IE6,
instead?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"fredbillmatt" <[email protected]> wrote in
message
news:fv0m9k$a7a$[email protected]..
> Here is the site..almost ready for publication
>
http://www.matriley.com/glensite/index.html
>
> 1) Go to properties for sale
> 2)Choose a suberb
> 3)click on a property with a video
> 4) watch the crazy video if you like
> 5) Click go back to properties
> ^) Yes the page is there but the property page is now
inactive...why?
> 8)The whole thing works fine on Firefox but we do have
this Glitch on IE
> PLEAASSE Can someone help
> Regards Matthew [email protected]
> Everything works well but for the problem return link to
the properties
> page
> after you have gone to the video.The property page
becomes inactive
> -
Problem with return value of stored function
Hi,
I've made a stored function that insert a new row in a table and return the primary key (see at the end of the message the function script).
In VS 2005 with Visual basic, using the designer, I've created a dataset containing a tableAdapter to be able to use the Pl/SQL function.
My problem is I can't get the proper return value. The VB code below works without error except that I get 0 as value.
What's wrong?
Cheers,
Sebastien
VB code
Dim myAddSession As New ICISDataSetTableAdapters.AddSessionTableAdapter
Dim intSessionId As Integer
intSessionId = myAddSession.ADD_SESSION(tbxUsername.Text, _
tempFolder.Substring(tempFolder.LastIndexOf("\") + 1), _
"toto", Environment.GetEnvironmentVariable("COMPUTERNAME"), _
myLevelAccess.icisUserId, myLevelAccess.levelId)
The debugger tells me that the ADD_SESSION function return value is Object.
add_session PL/SQL script:
CREATE OR REPLACE FUNCTION ICISSEC.add_session (
orausername IN icis_session.ora_user_name%TYPE,
ctxsessionid IN icis_session.ctx_session_id%TYPE,
ctxsessionname IN icis_session.ctx_session_name%TYPE,
ctxservername IN icis_session.ctx_server_name%TYPE,
icisuserid IN icis_session.icis_user_id%TYPE,
startlevelid IN icis_session.start_lvl_id%TYPE
RETURN icis_session.ICIS_SESSION_ID%TYPE
IS
tmpvar icis_session.ICIS_SESSION_ID%TYPE;
BEGIN
INSERT INTO icis_session
(ora_user_name, ctx_session_id, ctx_server_name,
icis_user_id, start_lvl_id, ctx_session_name
VALUES (orausername, ctxsessionid, ctxservername,
icisuserid, startlevelid, ctxsessionname
RETURNING icis_session_id
INTO tmpvar;
COMMIT;
RETURN tmpvar;
EXCEPTION
WHEN OTHERS
THEN
RAISE;
END add_session;naama wrote:
that if a value is null to convert it to 0 ? . i mean in the part of the declaration of parameter
Nope, can't do that in the signature. You'll need to handle that by validating the passed parameters at the start of the function.
It's simple enough. In your case you might just as well test for NULL and fail the function like this:
FUNCTION date_post_message(
user_lock_in IN NUMBER,
form_type_in IN NUMBER DEFAULT 0 ,
date_in IN DATE)
RETURN BOOLEAN
IS
v_num NUMBER(1);
BEGIN
dbms_output.put_line('Value of parameters : user_lock_in : '||user_lock_in || ' : form_type_in : '||form_type_in||' : date_in : '||date_in );
IF user_lock_in = 1 THEN
RETURN FALSE;
END IF;
IF form_type_in IS NULL THEN
RETURN FALSE;
ELSIF form_type_in NOT IN (1,2) THEN
RETURN FALSE;
END IF;
RETURN TRUE;
EXCEPTION
WHEN NO_DATA_FOUND THEN
RETURN FALSE;
END;In other use cases I would declare a local variable and process it like this:
IF form_type_in IS NULL THEN
l_form_type := 0;
ELSE
l_form_type := form_type_in;
END IF;Obviously the code should use the local variable rather than the parameter.
Validating the values passed in parameters at the start of a function is good practice. If you really want to go to town, read about Design By Contract.
Cheers, APC
Edited by: APC on Nov 9, 2011 1:36 PM
Added example, as requested by OP -
Problem with return cardinality of my Entity-Bean
Hi all,
i'm using Sun Java Studio Enterprise 8.1 and i try to create a EJB CMP Entity-Bean, it's name is Customer. But i become an error during the deploy. By the method findByName(String name) i selected as return cardinality "Many" and become below error. If i select "One" as return cardinality then is this error away.
What is here wrong? Every time when i create an EntityBean i become this error, but just by "Many" return cardinality. Can anyone help me to solve this problem?
thanks
Bean : CustomerBean
Method : public abstract Collection findByName(String) throws FinderException
Section: 10.5.6
Warning: Every finder method except findByPrimaryKey(key) must be associated with a query element in the deployment descriptor.
01:06:32,031 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp26541bank.ear-co
ntents/Bank-ejb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:575)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy24.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:925)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:489)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
01:07:17,406 INFO [EJBDeployer] Undeploying: file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp26541bank.ear-contents/Bank-ejb.j
arAs you have noted, for 'One' cardinality findByPrimaryKey is sufficient since a primary key is used to locate unique records. But for 'many' cardinality, the system needs to know how to locate a collection of records and hence the need for findAll in the specification.
Regarding EJB 3.0, i suggest that you use NetBeans.
Note: Java Studio Enterprise 8.1 is itself built on top of NetBeans version 5.0. NetBeans is an ide developed as opensource at www.netbeans.org; it is extensible ide and so add-on modules can be developed to run on top of netbeans. And that is what JSE8.1 does; JSE 8.1 is NetBeans 5.0 plus several add-on modules (like UML etc).
The latest stable version of NetBeans is 5.5.1 and NetBeans 6.0 is currently under development with milestone 10 being the latest release.
Home page: www.netbeans.org
Download: http://www.netbeans.info/downloads/index.php (From the main page, you can also download several packs which are addons that provide various functionality).
Docs: http://www.netbeans.org/kb/index.html
Docs on EE apps: http://www.netbeans.org/kb/trails/java-ee.html
Further community resources (mailing lists, issue tracking etc) : http://www.netbeans.org/community/index.html
wiki.netbeans.org
NetBeans download is free. And since it is developed as an opensource project, the source is freely available under CDDL license (http://www.netbeans.org/about/legal/license.html) -
Problem with return a ColdFusion query object from a Java class
Hi!
I need to return a ColdFusion query object from a Java class
using a JDBC result set ( java.sql.ResultSet);
I have tried to pass my JDBC result set in to the constructor
of the coldfusion.sql.QueryTable class with this code:
ColdFusion code
<cfset pra = createObject("java","QueryUtil").init()>
<cfset newQuery = CreateObject("java",
"coldfusion.sql.QueryTable")>
<cfset newQuery.init( pra.getColdFusionQuery () ) >
My java class execute a query to db and return QueryTable
Java code (QueryUtil.java)
import coldfusion.sql.QueryTable; // (CFusion.jar for class
QueryTable)
import com.allaire.cfx //(cfx.jar for class Query used from
QueryTable)
public class QueryUtil
public static coldfusion.sql.QueryTable
getColdFusionQuery(java.sql.ResultSet rs)
return new coldfusion.sql.QueryTable(rs);
but when i run cfm page and coldfusion server tries to
execute : "<cfset pra =
createObject("java","QueryUtil").init()>" this error appears:
Object Instantiation Exception.
An exception occurred when instantiating a java object. The
cause of this exception was that: coldfusion/sql/QueryTable.
If i try to execute QueryUtil.java with Eclipse all it works.
Also I have tried to return java.sql.ResultSet directly to
coldfusion.sql.QueryTable.init () with failure.
Do you know some other solution?ok
i print all my code
pratica.java execute a query to db and return a querytable
java class
import java.util.*;
import java.sql.*;
import coldfusion.sql.*;
public class Pratica {
private HashMap my;
private String URI,LOGIN,PWD,DRIVER;
private Connection conn=null;
//funzione init
//riceve due strutture converite in hashmap
// globals
// dbprop
public Pratica(HashMap globals,HashMap dbprop) {
my = new HashMap();
my.put("GLOBALS",globals);
my.put("DBPROP",dbprop);
URI = "jdbc:sqlserver://it-bra-s0016;databaseName=nmobl";
LOGIN = "usr_dev";
PWD = "developer";
DRIVER = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
try{
// Carico il driver JDBC per la connessione con il database
MySQL
Class.forName(DRIVER);
/* Connessione alla base di dati */
conn=DriverManager.getConnection(URI,LOGIN,PWD);
if(conn!=null) System.out.println("Connection Successful!");
} catch (ClassNotFoundException e) {
// Could not find the database driver
System.out.print("\ndriver non trovato "+e.getMessage());
System.out.flush();
catch (SQLException e) {
// Could not connect to the database
System.out.print("\nConnessione fallita "+e.getMessage());
System.out.flush();
//funzione search
//riceve un hash map con i filtri di ricerca
public QueryTable search(/*HashMap arg*/) {
ResultSet rs=null;
Statement stmt=null;
QueryTable ret=null;
String query="SELECT * FROM TAN100pratiche";
try{
stmt = conn.createStatement();// Creo lo Statement per
l'esecuzione della query
rs=stmt.executeQuery(query);
// while (rs.next()) {
// System.out.println(rs.getString("descrizione"));
catch (Exception e) {
e.printStackTrace();
try {
ret = Pratica.RsToQueryTable(rs);
} catch (SQLException e) {
e.printStackTrace();
this.close();
return(ret);
// ret=this.RsToQuery(rs);
// this.close(); //chiude le connessioni,recordset e
statament
//retstruct CF vede HashMap come struct
//METODO DI TEST
public HashMap retstruct(){
return(my);
//conversione resultset to querytable
private static QueryTable RsToQueryTable(ResultSet rs)
throws SQLException{
return new QueryTable(rs);
//chiura resultset statament e connessione
private void close(){
try{
conn.close();
conn=null;
catch (Exception e) {
e.printStackTrace();
coldfusion code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<title>Test JDBC CFML Using CFScript</title>
</head>
<body>
<cftry>
<cfset glb_map =
createObject("java","java.util.HashMap")>
<cfset dbprop_map =
createObject("java","java.util.HashMap")>
<cfset glb_map.init(glb)> <!---are passed from
another page--->
<cfset dbprop_map.init(glb["DBPROP"])>
<cfset pra =
createObject("java","Pratica").init(glb_map,dbprop_map)>
<cfset ourQuery
=createObject("java","coldfusion.sql.QueryTable").init(pra.search())>
<cfcatch>
<h2>Error - info below</h2>
<cfdump var="#cfcatch#"><cfabort>
</cfcatch>
</cftry>
<h2>Success - statement dumped below</h2>
<cfdump var="#ourQuery#">
</body>
</html>
error at line <cfset pra =
createObject("java","Pratica").init(glb_map,dbprop_map)>
An exception occurred when instantiating a java object. The
cause of this exception was that: coldfusion/sql/QueryTable.
----------------------------------------------------------------------- -
Problems with my iPhone 6 Plus 128 GB
Hello everyone,
2 weeks I got my iphone 6 plus ago and I am inspired that € 999 then the iphone is "something" faster than my iPhone4 2010.
I have suffered spontaneous rebooting the terminal, some applications do not open or hung, even Apple's own. People who talk to me says that the voice is choppy, even with full coverage.
Whatsapp is very slow, moving chats "biting" top-down, and when I want to dictate messages often unavailable Siri.
Have serious difficulties to detect the position of the terminal, including the screen goes upside down for more than 20 seconds until it detects is not correctly positioned.
And all these problems as I read online should have many apps installed, approximately 700 in some users. In my case, I did not exceed the 30 apps on my iPhone.
In defintiva a drama for € 1000 terminal is supposed to be a marvel. For now, A REAL DISAPPOINTMENT.
Tomorrow I get a new terminal but I have high hopes, as I read the problems persist ...
Someone tambiéb problems? Any solution?
PD.- The upside is that I have not had any problem to change the terminal.Exchange it at your Apple Store if you cannot get it into recovery mode and restore it from iTunes.
All manufacturers produce the occasional bad device. -
Problem with return statement...
hey guys!
i'm new to this forum so don't be angry if i post or do something wrong :) anyway, my problem:
i have a litle method that checks if a file exist and if it exist i want it to return true.
the real problem is that when a if&else statement checks if the method is true or false
it dont care if the method has returned false it just thinks it's true.
well it's kind of hard to explain so just take a look at the code, output and then u will understand :)
import java.io.*;
public class task1_11 {
public static void main(String[] args) {
System.out.println("does file exist?");
boolean o= check();
if(o=false){
System.out.println("File didn't exist");
System.out.println("discard sending info...");
else if (o=true){
System.out.println("ok");
System.out.println("Sendning information...");
ListMovies LM = new ListMovies();
LM.loanMovie();
LM.go();
else{
public static boolean check(){
File fi = new File("D:\\out2.txt");
if (fi.exists()){
System.out.println("file exist");
System.out.println("returning true");
return true;
else {
System.out.println("file don't exist");
System.out.println("returning false");
return false;
}when i run this code the output is:
does file exist?+
file don't exist+
returning false+
ok+
Sendning information...+I guess it should be like this:
import java.io.*;
public class task1_11 {
public static void main(String[] args) {
System.out.println("does file exist?");
boolean o= check();
// '=' is for assignment, '==' is for comparison
if(o==false){
System.out.println("File didn't exist");
System.out.println("discard sending info...");
else if (o==true){
System.out.println("ok");
System.out.println("Sendning information...");
ListMovies LM = new ListMovies();
LM.loanMovie();
LM.go();
else{
public static boolean check(){
File fi = new File("D:\\out2.txt");
if (fi.exists()){
System.out.println("file exist");
System.out.println("returning true");
return true;
else {
System.out.println("file don't exist");
System.out.println("returning false");
return false;
} -
Problems with Return Key (only in certain apps)
Hi. As of this morning, my return key is having a particular problem. When I am given a choice, after quitting Word before saving a file for example, and the default choice is highlighted, when I hit the return key nothing happens. It's as if the app doesn't recognize the stroke at all. However, the return key works fine in its other normal functions.
This problem is happening across the board, whenever I'm prompted by a program to make a choice. Any clue what might be causing this?
Thanks.
Austin T.Hi Austin,
I would run Disk Utility -> Repair Permissions.
See if that helps. -
Problems with returning the license
I bought a a VLM agreement with licenses, and 2 of the computers crashed how can I return these 2 licenses back to the available pool being as the computers are un-available?
For the initial version of ALM Adobe has established a process to recover lost e-licenses via customer service. In the event of lost licenses (hard drive crashes, lost or stolen laptop, etc.), customers can call customer service and e-licenses will be added to the pool indicated by the customer (corresponding to the number lost).
Future versions of ALM will enable for self-service and auto-detection/recovery of lost e-licenses.
Maybe you are looking for
-
Unable to print pages directly from internet explorer 9 script error 2126
HP photosmart wireless b109n-z computer Packard Bell One Two L5861 64bit I am unable after going to many forums where it seems to be quite a problem and trying different ways to try and rectify a error mesage An error has occurred in the script on th
-
I have found too many obstacles, *many times*, trying to log in, plus the upper bar of the Firefox screen is so dark that the black lettering can be read only with difficulty. I believe all your volunteers must be very competent and generous, but I c
-
How to execute private procedures in a package
Hi I have created private procedures in a package. now i want to execute the private procedure. how to execute the private one
-
Using Pages how do I export as an RTF?
I am new to pages and need to write a paper for school and the professor wants it sent in RTF file. How do I do that?
-
Make tabs invisible in BP (business partner master creation)
Hi, How do I disable tabs which are not necessary in BP transaction code? I want only few tabs which are relevant and make all other invisible. Your inputs are appreciated. Regards Komal