From: Chan Huntington on 5 Apr 2010 11:57 No one likes these kind of questions, but I thought I'd ask, to see if anyone has had any experience. The following error appears when using the "file>import data" menu command. It is obviously related to the data preview, but I have no idea how to fix java errors... ******************** ??? Java exception occurred: java.lang.NullPointerException Error in ==> uiimport>variablePreview at 599 sheetName=sn_htable.get(char(getSheetName(b))); ??? Error while evaluating com.mathworks.mde.dataimport.ImportProxy VariablePreviewEventCallback ??? Java exception occurred: java.lang.NullPointerException Error in ==> uiimport>variablePreview at 599 sheetName=sn_htable.get(char(getSheetName(b))); ??? Error while evaluating com.mathworks.mde.dataimport.ImportProxy VariablePreviewEventCallback ******************** A little more info, a "version -java" command yields: Java 1.6.0_17-b04-248-10M3025 with Apple Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode I just upgraded to 2010a (from 2009b) to try to eliminate the problem, but obviously didn't work. Running on OS X 10.6.3. Thanks for any advice!
From: Ashish Uthama on 6 Apr 2010 08:11 On Mon, 05 Apr 2010 16:57:21 -0300, Chan Huntington <channing(a)umich.edu> wrote: > No one likes these kind of questions, but I thought I'd ask, to see if > anyone has had any experience. > > The following error appears when using the "file>import data" menu > command. It is obviously related to the data preview, but I have no > idea how to fix java errors... > > ******************** > > ??? Java exception occurred: > java.lang.NullPointerException > > Error in ==> uiimport>variablePreview at 599 > sheetName=sn_htable.get(char(getSheetName(b))); > ??? Error while evaluating com.mathworks.mde.dataimport.ImportProxy > VariablePreviewEventCallback > > ??? Java exception occurred: > java.lang.NullPointerException > > Error in ==> uiimport>variablePreview at 599 > sheetName=sn_htable.get(char(getSheetName(b))); > ??? Error while evaluating com.mathworks.mde.dataimport.ImportProxy > VariablePreviewEventCallback > > ******************** > A little more info, a "version -java" command yields: > Java 1.6.0_17-b04-248-10M3025 with Apple Inc. Java HotSpot(TM) 64-Bit > Server VM mixed mode > > I just upgraded to 2010a (from 2009b) to try to eliminate the problem, > but obviously didn't work. Running on OS X 10.6.3. > > Thanks for any advice! What kind of file are you trying to import? It looks like an excel file; I believe support for XLS file is limited on a mac. (It should not be issuing java errors though.) Did you try the XLSREAD function directly? I would suggest mailing tech support a copy (remove sensitive data) of the file you are trying to import along with OS details. http://www.mathworks.com/support/contact_us/index.html
|
Pages: 1 Prev: The Lloyds algorithm of lloyds.m - broken? Next: From Matlab to Simulink and Back |